Support Forum

Share your projects and post your questions

Register   or   Sign In
The Forum

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

2422 Views - Created 13/10/2017

13/10/2017

Posted by:
djctek

djctek 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

andrew Avatar

Location:
United Kingdom

andrew Twitter  andrew 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

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.