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

    1 Wire devices

    Axon series
    2
    11
    1281
    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_lando
      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_lando
          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_lando 1 Reply Last reply Reply Quote 0
            • roberts_lando
              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_lando
                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_lando
                    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_lando
                      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
                        • First post
                          Last post