DS2482-100
& DS2482-800 1Wire Setting
use Dec 14 2020 version Image
5.4.83-v7l+ #
1379
![](images-2/1w-os-ver-01.jpg)
1. Enable 1-Wire
![](images-2/1w-i2c-setting-03.jpg)
![](images-2/18b20-pin01.jpg)
1-wire Port pin 1 - pin4
(5V,GND, OW (1-Wire Data, ESD Protected).
RT
(1-Wire Return/Ground ,ESC protected)
![](images-2/1wire-17port-01.jpg)
use Pi4B with our ds2482-800-17 Port board for testing with
13x ds18b20 1Wire temperature sensor
![](images-2/1w-i2c-status-04.jpg)
18 ds2482-100 1 port 1Wire
1c ds2482-800 8 port 1Wire
1f ds2482-800 8 port 1Wire
![](images-2/1w-i2c-setting-01.jpg)
use Dec 14 2020 version Image
5.4.83-v7l+ #
1379
need use root to login load driver for ds2482
echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-1/new_device
echo ds2482 0x1c > /sys/bus/i2c/devices/i2c-1/new_device
echo ds2482 0x1f > /sys/bus/i2c/devices/i2c-1/new_device
![](images-2/1w-i2c-status-01.jpg)
once load the driver
i2c address 18,1c,1f change to
be UU
![](images-2/1w-i2c-status-07.jpg)
type dmesg you will see 1wire sensor
28.xxxxx connect to system
![](images-2/1w-i2c-status-05.jpg)
check /sys/bus/w1/devices
you will see 13 28.xxxx
temperature sensor and 18 w1 bus master
( include
1 GPIO4 Pi system 1Wire)
![](images-2/1w-i2c-status-03.jpg)
check /sys/bus/w1/drivers/w1_Master_driver
you will see 18 w1 bus master ( include
1 GPIO4 Pi system 1Wire)
![](images-2/1w-i2c-status-06.jpg)
check /sys/bus/w1/drivers/w1_slave_driver
you will see 13 28.xxx temperature sensor
![](images-2/1w-status-07.jpg)
goto /sys/bus/w1/devices
typing ls -l
will display whole 1Wire system
|