Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

ALTERA DE2 and 1-wire sensor

Hi!!!

I'm making air-condition model. I need to use 3 temperature sensors. I'm found sensors from DALLAS type DS18B20. Is anybody have got a VHDL code to steering this type of sensors???

P.S. I have Quartus 7.2 and altera with Cyclone II

Bugzee

6 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Xilinx Xapp198 implements an one-wire interface and can give you some hints.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'm already asking maxim (dallas) support for this sensor. They haven't any example in verilog or VHDL.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    you should ask for the DS1WM as the DS18B20 is a component.

    DS1WM is a 1-wire master available as source code.

    unfortunately i don't think that i am allowed to distribute the file Maxim sent to me.

    There is a reason why they want to be contacted before they give out the sources for free.