• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Read 1wire temp sensor on Axon

    Scheduled Pinned Locked Moved Evok API
    2 Posts 1 Posters 750 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      netman
      last edited by netman

      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

      N 1 Reply Last reply
      Reply Quote 0
      • N
        netman @netman
        last edited by

        This post is deleted!
        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post