1-wire not working

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
mapet
 
Posts: 3
Joined: Wed Aug 08, 2012 5:11 pm

1-wire not working

Post by mapet »

Hi, I'm don't now Raspberry pi and Linux enought yet.
1-wire communication is not working to me, and I don't know why.
Under Raspbian with Frank Buss kernel everything works fine (temperature sensor DS18B20), but if I try Adafruit's Occidentalis image, then it's not working and I really don't know where is the problem.


http://postimage.org/image/ljtwcmtqv/

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: 1-wire not working

Post by adafruit »

it absolutely works, its something with your wiring, power, sensor, etc.

mapet
 
Posts: 3
Joined: Wed Aug 08, 2012 5:11 pm

Re: 1-wire not working

Post by mapet »

Like I seid, under Raspbian withe modified kernel everythnigk works fine, with connected 2 DS18B20

http://postimage.org/image/roar1gy6l/

Under Adafruit, there is problem somewhere and I really don't know where.

http://postimage.org/image/sxyx5nw9t/

User avatar
pgrunwald
 
Posts: 36
Joined: Tue Jul 14, 2009 10:32 pm

Re: 1-wire not working

Post by pgrunwald »

Are you using GPIO #4 (PIN07)?

mapet
 
Posts: 3
Joined: Wed Aug 08, 2012 5:11 pm

Re: 1-wire not working

Post by mapet »

data: GPIO4, pin7
Vcc: 3V3
gnd: gnd

+ 4k7Ω between data and Vcc

DS18B20 waterproof performance with about 1m long cable from ebay

I have just "install" OS on the card, using Win32diskmanager, connect from Windows via Putty SSH client and it don't want to work.
I have checked image MD5 and it was fine.

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”