About Us Knowledge Base Community Forum Electronics Toolbox FAQ Shipping & Delivery

Community Forum

Share your projects and post your questions

Search
Register or Sign In
Forum

no detect any 1wire device

1378 Views - Created 12/01/2017

12/01/2017

Posted by:
karel

Users 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: https://www.abelectronics.co.uk/kb/article/1/i2c--smbus-and-raspbian-linux - it looks OK.

next: https://www.abelectronics.co.uk/kb/article/3/owfs-with-i2c-support-on-raspberry-pi,

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

Users Avatar

Location:
United Kingdom

Users Twitter  Users 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 run it on your Raspberry Pi to make sure it wasn't a problem with your version of the python script.

https://github.com/abelectronicsuk/testscripts/blob/master/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.

 

AB Electronics UK Tech Support

13/01/2017

Posted by:
karel

Users Avatar

Hello,

thank you for answer and help.

I used your script and it is work well now.

OWFS is working properlly too.

Karel

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.