Raspberry Pi 3B / 3B+/4B 1-Wire System Setting

  

  DS2482-100 & DS2482-800 1Wire Setting

 

use Dec 14 2020 version Image    5.4.83-v7l+ # 1379

1. Enable 1-Wire   

 

     

     1-wire Port pin 1 - pin4 

   (5V,GND, OW (1-Wire Data, ESD Protected).

    RT (1-Wire Return/Ground ,ESC protected)

     

   use Pi4B with our ds2482-800-17 Port board for testing  with 13x  ds18b20 1Wire temperature sensor

  Product link  DS2482-800-17Port       DS2482-800-9Port

 

18  ds2482-100  1 port 1Wire 

1c  ds2482-800 8 port  1Wire   1f ds2482-800 8 port 1Wire

 

    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

 

once load the driver i2c address 18,1c,1f    change to be UU

 

type dmesg  you will see  1wire sensor 28.xxxxx  connect to system

 

check    /sys/bus/w1/devices       

you will see 13    28.xxxx   temperature sensor and  18 w1 bus master

( include 1 GPIO4 Pi system 1Wire)

 

 

check    /sys/bus/w1/drivers/w1_Master_driver       

you will see 18 w1 bus master ( include 1 GPIO4 Pi system 1Wire)

 

 

check    /sys/bus/w1/drivers/w1_slave_driver       

you will see 13  28.xxx   temperature sensor

 

 goto   /sys/bus/w1/devices       

 typing  ls -l  will display whole 1Wire system

 

 

 
    

 1-Wire  System setting

        

    1w OWFS issue

 

 

 

  Flag Counter

 

 

 

 

 

 

 

 

 

Copyright 2009
www.pridopia.co.uk
All rights reserved

Home           About us           Support           Shopping           Contacts           FAQ