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

Make sensors show up in /sys/bus/w1/devices ?

1284 Views - Created 13/10/2017

13/10/2017

Posted by:
djctek

Users Avatar

Hi, I recently purchased a 1 wire PI to run 3 DS18B20 sensors at a distance of 15M. The sensors show up when I open http://localhost:2121/ in the web browser so it seems that everything installed correctly. I have a specialty brewing program that reads DS18B20 sensors from the directory /sys/bus/w1/devices

Is there a way to make the detected sensors show up in that directory for the program to read like they do when using the GPIO 4.7k resistor bitbang method strait to the RPI3?

Thanks if you can help!

Cheers!

 

 

13/10/2017

Posted by:
andrew

Users Avatar

Location:
United Kingdom

Users Twitter  Users Website  

Hi

It may be possible to set the path for the 1 wire device in the /etc/owfs.conf file.  There is a parameter called mountpoint which is normally set to /mnt/1wire but it should be possible to change it to /sys/bus/w1/devices

AB Electronics UK Tech Support

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.