chanakya1984
Posts: 5
Joined: Wed Feb 11, 2015 4:40 pm

18B20 not showing up in list

Wed Feb 11, 2015 6:17 pm

i have connected 18B20 to my pi as follow

1) power : +3.3V
2)data : GPIO4 (pin 7)
3)ground : ground pin

there is 4K7 reg in between data and power connection but nothing is displayed in dir "/sys/bus/w1/devices"

any help would be appreciated
Attachments
Untitled 2__1423678204_122.172.102.16.jpg
bread board
Untitled 2__1423678204_122.172.102.16.jpg (25.64 KiB) Viewed 410 times
Untitled.jpg
ssh
Untitled.jpg (20.98 KiB) Viewed 410 times

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: 18B20 not showing up in list

Wed Feb 11, 2015 7:43 pm

It's probably due to Device Tree.

Search the forums for DS18B20 and device tree.

User avatar
DougieLawson
Posts: 39296
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: 18B20 not showing up in list

Wed Feb 11, 2015 7:48 pm

Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

chanakya1984
Posts: 5
Joined: Wed Feb 11, 2015 4:40 pm

Re: 18B20 not showing up in list

Wed Feb 11, 2015 8:03 pm

thanks a lot. this solved the problem for me :)

Return to “Troubleshooting”