HOW TO – Measure temperature with the Dallas Maxim DS1820 sensor

Technology
HOW TO – Measure temperature with the Dallas Maxim DS1820 sensor

Lcd Temp Roomtempt 2
Refik writes – “Sometimes we have a need to measure the temperature of a room, of an object or just maybe a terrarium; so it never gets too hot or too cold for your hamster and it warns the system to turn on a cold or hot fan (ok just a bit Sci-Fi). A DIY project on how to interface the DS1820 temperature sensor.” Link.

2 thoughts on “HOW TO – Measure temperature with the Dallas Maxim DS1820 sensor

  1. Bugmenot says:

    This is one of the most useless articles I’ve read here.

    The guy wires the sensor and display to an atmel chip and runs some stock code from his c complier sample directory.

    The *real* part of the code is one line “temp=ds1820_temperature_10(&rom_code[i,0]);”

    There is no documentation for the code provided, and presumably the function called in that line is a feature of the compiler. That means the article is a total waste of time for anyone not using that compiler on that architechture, and for anyone who is, they need only look in their sample directory.

    The article should have briefly explained enough of the 1-wire protocol that anyone could use the device with any micro. Clearly, the protocol is beyond the author.

    He also goes on about how if you just want to sense a threshold for an alarm you could use a comparitor. Obviously that won’t work with this digital interface device, so why confuse the issue?

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Tagged

current: @adafruit - previous: MAKE, popular science, hackaday, engadget, fallon, braincraft ... howtoons, 2600...

View more articles by Phillip Torrone

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK