Support Forum

Share your projects and post your questions

Register   or   Sign In
The Forum

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

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

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

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.

Home

Shop

Learn

Forum

FAQ

Contact

0 item

Your cart is empty

Please browse our shop to order from the wide range of Raspberry Pi boards and accessories.

Subtotal:£0.00
View Basket Continue to Checkout