Read 1wire temp sensor on Axon
-
Hi,
I am trying to detect 1wire temp sensor DS18B20 on my Axon L205 unit with Node-RED OS provided by Unipi.
I tryied enabling EVOK OWBUS to scan sensor, but without success.I checked i2c bus to see presence of sensor:
unipi@L205-sn57:~$ sudo i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- 18 -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU 70: -- -- -- -- -- -- -- --
unipi@L205-sn57:~$ ls -al /sys/bus/w1/devices/ total 0 drwxr-xr-x 2 root root 0 Jan 14 18:29 . drwxr-xr-x 4 root root 0 Jan 14 18:22 ..
Here is EVOK config:
[OWBUS_1] owbus = /dev/i2c-0 ; Mandatory, scanned bus (--i2c=/dev/i2c-1:ALL or localhost:2122 or 'u' for USB dongle) interval = 3 ; Mandatory, [s] length of sensor reading scan_interval = 300 ; Mandatory, [s] How often the scanning is done EVOK version = 2.3.6
unipi@L205-sn107:~$ sudo lsmod Module Size Used by unipi 110592 6 industrialio 57344 1 unipi brcmfmac 258048 0 brcmutil 16384 1 brcmfmac rtc_ds1307 24576 0 rtc_unipi 16384 0 at24 20480 0
unipi@L205-sn107:~$ sudo ls -la /sys/bus/w1/ ls: cannot access '/sys/bus/w1/': No such file or directory
I tryied to search over forum, but this issue is discuss in context of RasberryPI/Neuron and I am not sure how relevant it is to Axon unit.
Thanks
-
This post is deleted!