Society of Robots - Robot Forum
Software => Software => Topic started by: izua on June 28, 2008, 08:04:34 AM
-
I am looking for a good one wire tutorial or some commented code. I haven't been able to find any.
I have a bunch of 18B20 temp sensors, i want to toy around with em.
Anyone knows a link to such a resource?
-
Hey izua, try this:
AVR Tutor - Home (http://www.avrtutor.com/tutorial/global/home.php)
Haven't read the whole thing, but there's at least three sections that talk about not only 1-Wire, but also the 18B20 sensor.
I'm jealous, I want some of those to play with too. :D
Good luck!
-
They have a theorethical 0.0625 (yes, .0625!) maximum accuracy (albeit, a conversion takes 0.75 sec). I got all of mine from MAXIM. They are pretty generous with the samples. I'm thinking of using them for some homemade hydroponics.
edit: hmm, that's not exactly what I'm looking for. It says nothing about multiple slaves on the bus, the required rom enumeration. i know the theory, but it's practice that kills. maybe i'll write a tute when i'll understand this.