12th Anniversary Sale 12% Off in July & August with the voucher code "SUMMER12" *excludes trade customers
Support Forum

Share your projects and post your questions

Register   or   Sign In
The Forum

no detect any 1wire device

The 1 Wire Pi Plus and 1 Wire Pi Zero are a 1 Wire interface for the Raspberry Pi

12/01/2017

Posted by:
karel

karel Avatar

Hello,I have RPi with 1 Wire Pi Plus. I connected DS18B20 to ground, OW and +5V pins by RJ12.I installed SW by follow steps: Raspberry Pi I2C tutorial - it looks OK.next: Raspberry Pi OWFS tutorial, there is a bit of problem with step 6. The "/opt/owfs/bin/owserver" does not exist, but I think no excactly problem because command service owserver status says "runnig".I tried command "sudo i2cdetect -y 1" and found out only device 18 and nothing more. Is it OK or I shloud see 1wire device.Python program in step 8 crashed.Nothing is in directory /mnt. Shall I create directory/mount point /mnt/1wire manually?Why I do not see DS18B20?Thanks,Karel

13/01/2017

Posted by:
andrew

andrew Avatar

Location:
United Kingdom

andrew Twitter  andrew Website  

Hello Karel

i2cdetect should only show the i2c devices that are present on the i2c bus which in the case of the 1 Wire Pi Plus is on address 18 so it appears that the board is talking to the Raspberry Pi.

I have uploaded a copy of the python test script to GitHub, can you try downloading it and running it on your Raspberry Pi to make sure it wasn't a problem with your version of the python script?

1wiretest.py

If the script still crashes try going through each stage of the OWFS tutorial again just to make sure you didn't miss any steps.

13/01/2017

Posted by:
karel

karel Avatar

Hello,thank you for answer and help.I used your script and it is work well now.OWFS is working properlly too.Karel

Sign in to post your reply


Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view.
Download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.