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

    1 Wire devices

    Scheduled Pinned Locked Moved Axon series
    11 Posts 2 Posters 4.2k 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.
    • roberts_landoR
      roberts_lando
      last edited by roberts_lando

      @Martin-Kudláček @tomas_hora any suggestions?

      1 Reply Last reply
      Reply Quote 0
      • T
        tomas_hora administrators
        last edited by

        Using Owfs with kernel modules ds2482 doesn't work well.
        It requires to disable ds2482 in devicetree.
        Insert this patch

        fdt set /soc/i2c@01c2ac00/w1master@18 status "disabled"
        

        into file /boot/boot.cmd, call

        mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr
        

        and reboot.
        If you have our new kernel, there is not file /boot/boot.cmd
        In this case copy attached file attached file 30-disable-1wmaster.conf to directory /etc/bootcmd.d/src
        and call

          cd /etc/bootcmd.d; make force; reboot
        
        1 Reply Last reply
        Reply Quote 0
        • roberts_landoR
          roberts_lando
          last edited by

          @tomas_hora Thanks for the response! Does this patch also works for the Linux Filesystem method? What method does evok/mervis uses to read 1wire devices?

          T 1 Reply Last reply
          Reply Quote 0
          • T
            tomas_hora administrators @roberts_lando
            last edited by

            @roberts_lando In the next release axon-kernel we include more modules (at least 1wire devices)

            roberts_landoR 1 Reply Last reply
            Reply Quote 0
            • roberts_landoR
              roberts_lando @tomas_hora
              last edited by

              @tomas_hora When will next release be ready? How can I upgrade the kernel?

              1 Reply Last reply
              Reply Quote 0
              • roberts_landoR
                roberts_lando
                last edited by roberts_lando

                @tomas_hora Actually I'm reading 1wire devices using Linux FIlesystem like described here but I'm still not able to read your sedtronic 1wire sensor. I'm just able to read temperature sensors using this method. Any help please? I have also created a dashboard using node-red that displays all available 1wire devices with actual values in realtime

                0_1568908887535_1Wire_Node-red.png

                I have also found that /etc/owfs.conf is already present inside AXON even without the installation of OWFS. I have also checked evok source code and seems that evok uses OWFS to read 1wire sensors.
                Is owfs already installed? I can't start it I have just found that file

                At the end my question is: should I keep working with Linux Filesystem or Owfs for 1wire devices? Actually I'm stucked and I can't find a way to read the sedtronic sensors

                T 1 Reply Last reply
                Reply Quote 0
                • T
                  tomas_hora administrators @roberts_lando
                  last edited by

                  @roberts_lando That tutorial uses the RPI GPIO4 bitbanging access to the 1W but Neurons/Axons use the DS2482 I2C to 1Wire convertor. You should use the "ds2482" module... For example check this https://skyboo.net/2017/02/raspberry-pi-1wire-bus-master/

                  1 Reply Last reply
                  Reply Quote 0
                  • roberts_landoR
                    roberts_lando
                    last edited by

                    But why temperature sensors are automatically discovered and sedtronic sensor is not?

                    1 Reply Last reply
                    Reply Quote 0
                    • roberts_landoR
                      roberts_lando
                      last edited by

                      @tomas_hora Any news about this?

                      T 1 Reply Last reply
                      Reply Quote -1
                      • T
                        tomas_hora administrators @roberts_lando
                        last edited by

                        @roberts_lando Sorry, dont know.

                        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