HOW TO - Measure temperature with the Dallas Maxim DS1820 sensor

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.
Posted by Phillip Torrone |
Feb 19, 2006 06:53 AM
DIY Projects, Electronics |
Permalink
| Comments (1)
Recent Entries
- HOW TO - build a water mortar
- Jake's steamcar project, dashboard redo
- Build your own water quality tester
- MAKE @ Yahoo! Buzz
- Made in Japan Vol. 3
- Super Breakout version allows for competitive or collaborative gaming
- How DIYers just might revive American innovation
- Light-Field camera makes blurry images a thing of the past
- Make a pizza box solar oven
- DIY Security system calls your phone
Comments
Oldest comments listed first.
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?
Subscribe to MAKE Magazine!
Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.
$34.95 / 1 year
(4 Quarterly Issues)
Features and more @ MAKE!
MAKE @ The NYC Toy Fair 2008 - Covering DIY!HOW TO - Build the arms of assistance.
MADE in Japan - Part I.
MADE in Japan - Part II.
MADE in Japan - Part III.
Make store - Blinky bug kit - Blink!
Make store - Loud Objects Noise Toy Kit
Makers - MAKE Flickr pool contest. Win cool stuff!
Makers - Join the MAKE Facebook page - Meet other makers.
MAKE on Twitter - Tweet! Tweet!
What you're reading in MAKE - Data!
Add MAKE to your RSS reader - Real simple.

Why advertise on MAKE?
Read what folks are saying about us!
Click here to advertise on MAKE!
Phillip Torrone
Senior Editor
Tel: 707-827-7311
Gareth Branwyn
Robot Maker
Jonah Brucker-Cohen
Researcher
Natalie Zee Drieu
Senior Editor
CRAFT
Becky Stern
Culture jammer
Collin Cunningham
Sound Maker
Marc de Vinck
CNC Maker
Current Podcast
AHAB High Altitude Ballooning - Best of Weekend Projects
mp4|mov|hd|3gp|3g2|itunes This week on Best of Weekend Projects, we look back at part two of the AHAB (High Altitude Balloon Adventure). In this epic Bre & Co. travel to Eastern Washington to launch a GPS and camera enabled balloon...
More...

