Kegconnection Complete Starter Kit and More Giveaway!


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

Reply
 
LinkBack Thread Tools
Old 02-09-2009, 01:47 AM   #1
HomebrewJeff
Feedback Score: 0 reviews
Recipes 
 
Join Date: Jan 2009
Location: Lincoln Park, MI
Posts: 300
Default Sanguino / DS18B20 wiring

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!

__________________
HomebrewJeff is offline
 
Reply With Quote Quick reply to this message
Old 02-09-2009, 01:55 AM   #2
Brewers Hardware
Vendor
HBT_SPONSOR.png
Feedback Score: 0 reviews
Recipes 
 
Join Date: Dec 2008
Location: Orange County, CA
Posts: 455
Liked 6 Times on 5 Posts

Default

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

__________________
Brewers Hardware is offline
 
Reply With Quote Quick reply to this message
Old 02-10-2009, 01:11 AM   #3
HomebrewJeff
Feedback Score: 0 reviews
Recipes 
 
Join Date: Jan 2009
Location: Lincoln Park, MI
Posts: 300
Default

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.

__________________
HomebrewJeff is offline
 
Reply With Quote Quick reply to this message
Reply


Quick Reply
Message:
Options
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wiring up my Ranco? ThatFishGuy Equipment/Sanitation 20 01-26-2012 11:50 AM
BCS-460 and SSR wiring help! cyberbackpacker DIY Projects 8 10-24-2009 08:40 PM
Need help with wiring barnbrew DIY Projects 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