Author Topic: one wire tutorial  (Read 2202 times)

0 Members and 1 Guest are viewing this topic.

Offline izuaTopic starter

  • Supreme Robot
  • *****
  • Posts: 682
  • Helpful? 0
    • izua electronics
one wire tutorial
« 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?
Check out my homepage for in depth tutorials on microcontrollers and electronics.

Offline krich

  • Robot Overlord
  • ****
  • Posts: 165
  • Helpful? 0
Re: one wire tutorial
« Reply #1 on: June 29, 2008, 12:04:03 AM »
Hey izua, try this:

AVR Tutor - Home

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!

Offline izuaTopic starter

  • Supreme Robot
  • *****
  • Posts: 682
  • Helpful? 0
    • izua electronics
Re: one wire tutorial
« Reply #2 on: June 29, 2008, 01:03:32 AM »
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.
« Last Edit: June 29, 2008, 01:11:11 AM by izua »
Check out my homepage for in depth tutorials on microcontrollers and electronics.

 


Get Your Ad Here

data_list