How to read a 1-wire temp sensor on an Ubuntu 22.04 PC?

Chris Green cl at isbd.net
Wed Mar 13 09:24:31 UTC 2024


On Wed, Mar 13, 2024 at 10:08:51AM +0100, Bo Berglund wrote:
> I would like to know if it is possible to connect a DS18B20 1-wire device to an
> Ubuntu PC (running on PC hardware) and if so how?
> 
> On a Raspberry Pi running the Pi-OS (Debian variant) it is just a matter of
> configuring the RPi for the 1-wire use and then connect the sensor to +Vcc, GND
> and the 1-wire line with a pull-up to Vcc and it works.
> 
> Can something similar be done on PC hardware running Ubuntu?
> 
> I have a few candidates, both Mini type and laptops.
> 
Get a USB 1-wire interface, that will work on any old PC, I can dig
out details if you can't find one.

-- 
Chris Green




More information about the ubuntu-users mailing list