Jump to content

ddkDIZ

Members
  • Posts

    6
  • Joined

  • Last visited

Reputation Activity

  1. Like
    ddkDIZ got a reaction from Igor in 1-Wire on A20 ( LIME2 or SOM )   
    No recompiling needed , just reading up on kernel modules ... I added
    w1_sunxi w1_gpio w1_therm to File: /etc/modules-load.d/modules.conf


    and rebooted
    the W1 interface showed up.:
    # ls /sys/bus/w1/devices/ 28-0000059a1220 w1_bus_master1 and to read the temperature ( 23.5 deg C ):
    # cat /sys/bus/w1/devices/28-0000059a1220/w1_slave 78 01 4b 46 1f ff 08 10 c1 : crc=c1 YES 78 01 4b 46 1f ff 08 10 c1 t=23500 note that you need a 4k7 ish pullup from data to 3V3 for the 1W bus to function properly
    some people sugguested using
    ~# modprobe w1-therm strong_pullup=1 But I have a pullup on the PCB so i did not need to do this
    -dd
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines