• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

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

    Serial in watcher - Binary

    How To... ?
    3
    5
    189
    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.
    • M
      Milky301 last edited by

      Hello I am wounding if anyone can help with understand how the serial in watcher works. 

       

      I am currently working on a university project, and I have been given the HC-SR04 Ultrasonic sensor to create an interactive project. 

      I know nothing about coding however I have found this site user full to code the Arduino Getting Started with the HC-SR04 Ultrasonic sensor | Arduino Project Hub.  

      I now am struggling to understand how this sensor works with Isadora; I have set up the port and have data coming in. In the serial in watcher, I have added value : integer = eol this is the part I really don't understand.  

      When in Arduino software the distance seems to be accurate but then looking at the serial in water the value is jumping around, and this is the part I am stuck on.

      If anyone could help it would be much appreciated :) 

       

      Woland DusX 3 Replies Last reply Reply Quote 0
      • Woland
        Woland Tech Staff @Milky301 last edited by

        @milky301

        I'd suggest taking a look at the Arduino Firmata actor as it may be easier to work with than the Serial In Watcher - Binary actor.

        If you right-click the Arduino Firmata actor and select the top option "Show Actor Help In Browser" you get a description of what all the inputs and outputs do.

        The actor is included in Isadora 4 by default, but if you grab the download from the Add-Ons Page, I think the readme document might have some other helpful hints/resources.

        Additionally, the ever-magnificent @bonemap was kind enough to post a detailed setup explanation on the forum here: https://community.troikatronix.com/topic/7643/arduino-firmata-sensor-setup?_=1739300021645

        TroikaTronix Technical Support
        New Support Ticket: https://support.troikatronix.com/support/tickets/new
        Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
        Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
        Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

        | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

        1 Reply Last reply Reply Quote 0
        • Woland
          Woland Tech Staff @Milky301 last edited by

          @milky301 said:

          if anyone can help with understand how the serial in watcher works

           If anyone can, it's probably @DusX so, if you're not going the Arduino route, he can probably share some wisdom about the Serial In Watcher - Binary actor.

          TroikaTronix Technical Support
          New Support Ticket: https://support.troikatronix.com/support/tickets/new
          Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
          Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
          Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

          | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

          1 Reply Last reply Reply Quote 0
          • DusX
            DusX Tech Staff @Milky301 last edited by

            @milky301 said:

            I have added value : integer = eol

             You might try:

            msg:string={00-FF}

            This should at least give you output that looks like what you are seeing in the Monitor Window (use this if your not to view your incoming serial data). This line sets a msg value to all values within the range of Hex values. This is generally my starring point.

            Troikatronix Technical Support

            • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
            • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
            • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

            Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

            M 1 Reply Last reply Reply Quote 1
            • M
              Milky301 @DusX last edited by

              Hello @dusx

              I have attach a viedo of how jumper the values are with both of the codes; this is without anything in front of the sensor. Is this normal? Do I have to add more to Isadrao to get the number more accurate?

              1 Reply Last reply Reply Quote 0
              • First post
                Last post