Sanguino / DS18B20 wiring - Home Brew Forums
Home Brew Forums > Home Brewing Beer > DIY Projects > Brew Stands > Sanguino / DS18B20 wiring

Reply
 
Thread Tools
Old 02-09-2009, 02:47 AM   #1
HomebrewJeff
Recipes 
 
Jan 2009
Lincoln Park, MI
Posts: 299
Liked 1 Times on 1 Posts



Admittedly I'm brand new to the Sanguino, but I was able to get the darn thing put together, so I *should* be able to hook a few wires together.

Is there anyone that would be able to provide a picture, or point me in the right direction, for how a DS18b20 sensor should be wired? I'm using:

- Sanguino on the wulfden breakout board
- USB interface for power...
- Breadboard for the connections.

I've tried several variants of code, and I either get "No Devices Found" or CRC is invalid. Others have stated the code works, so I'm suspect of my wiring. Any pictures would help greatly, and would be appreciated. Thanks!




 
Reply With Quote
Old 02-09-2009, 02:55 AM   #2
Brewers Hardware
Sponsor
HBT_SPONSOR.png
Recipes 
 
Dec 2008
Huntington Beach, CA, 92649
Posts: 454
Liked 7 Times on 6 Posts


Make sure you have the 4K7 pull-up resistor on the data line. I don't have a photo, but if you're using parasite power, you'll tie the two outer leads together and ground them. The center lead goes to the pin on the Sanguino you're reading. You also need a 4K7 resistor from +5V to the same pin or center lead.

Check out this group. They're working on open source code using Sanguino and DS18B20 sensors. HomeBrewTalk Groups - Open Source Mash Computer

 
Reply With Quote
Old 02-10-2009, 02:11 AM   #3
HomebrewJeff
Recipes 
 
Jan 2009
Lincoln Park, MI
Posts: 299
Liked 1 Times on 1 Posts


Ok, I finally got it.

I didn't really have a good understanding what the pullup resistor was for, but once that became a little clearer, I was able to figure out with your description.

Thanks!

Oh, and I had stumbled across the Open Source Mash Computer group a little while ago. About 2 days later I had ordered a Sanguino.

 
Reply With Quote
Reply
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wiring up my Ranco? ThatFishGuy Equipment/Sanitation 20 01-26-2012 12:50 PM
BCS-460 and SSR wiring help! cyberbackpacker Brew Stands 8 10-24-2009 08:40 PM
Need help with wiring barnbrew Brew Stands 2 10-02-2009 02:52 AM
38DD wiring surfbrewer General Techniques 2 05-25-2008 02:21 PM
Help on wiring attitude Equipment/Sanitation 12 09-20-2007 02:26 PM


Forum Jump