• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

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

    [ANSWERED] Connecting an Arduino Uno with Isadora

    Interfacing
    arduino arduino ide sensor
    2
    5
    192
    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.
    • P
      Paz last edited by Woland

      Hello Izzy community,

      I have an interfacing problem with an Arduino board which I have been attempting to troubleshoot with the advice provided from previous forum posts and the wider internet, but still I can't solve it.

      Basically I am attempting to get a potentiometer to interact with Isadora via the Serial In Watcher actor. I have tried both the Txt and Binary versions of this actor.

      I have taken the code from the Arduino website: https://sensorkit.arduino.cc/s... and pasted this into the IDE app (Ver 2.0.0 rc2) on my Mac. 

      I have a 2020 Mac Mini M1 running Mac OS 12.1 and Isadora 3.1.1 (arm). please see signature below.

      I believe I have set Isadora correctly and from it's monitor window I can see the value of the potentiometer change from 0 to 100 as I sweep it round.

      This is where things are baffling me, I was hoping to see the Serial In Watcher's "msg rec" parameter flicker to indicate that the actor is picking up the information that is visible from the monitor window, but I'm not.

      Could it be to do with the Serial In Watcher's "eom char" value? The default is "13", many forum posts suggest "10". I have tried this and I get no joy. I have changed this value from "1" through to "20" and still it's not working. 

      I have attached a .pdf with screenshots of the current setup. Any assistance from the forum will be greatly appreciated, hopefully someone can see what I'm doing wrong! 👍

      Best, Simon

      Running: Mac Mini M1 8GB, 256 GB SSD, OS X 12.1 | Izzy v3.1.1 /// MBP 2.9 GHz i7, AMD Radeon Pro 560, 16GB, 512GB SSD, OS X 11.6 | Izzy v3.1.1 | UK

      1 Reply Last reply Reply Quote 0
      • m_theater
        m_theater last edited by

        Dear Paz,

        comment the Line 13 in the arduino code (//)

        so you only send the value

        --

        in the serial actor

        value: int=eol

        shall work

        --

        best clemens

        avk4.net

        P 1 Reply Last reply Reply Quote 0
        • P
          Paz @m_theater last edited by

          @m_theater thank you for your valuable information. The Serial In Watcher is now beginning to accept serial data. However, even though the potentiometer is being constantly turned the "value" box of the Serial In Watcher is only randomly showing a number.

          I am not sure what you mean exactly by "comment the Line 13 in the arduino code (//) so you only send the value". I have removed the original Line 13 of code completely.

          I've updated all the screenshots. please see below.

          Any thoughts? Thanks again for your help.

          Best

          Simon

          Running: Mac Mini M1 8GB, 256 GB SSD, OS X 12.1 | Izzy v3.1.1 /// MBP 2.9 GHz i7, AMD Radeon Pro 560, 16GB, 512GB SSD, OS X 11.6 | Izzy v3.1.1 | UK

          1 Reply Last reply Reply Quote 0
          • m_theater
            m_theater last edited by

            try to use this settings: eom = 13 (hex 0D the carriage return instead of the linefeed) and inside the serial parser as in the picture

            avk4.net

            P 1 Reply Last reply Reply Quote 0
            • P
              Paz @m_theater last edited by

              @m_theater It's now working! I've left the eom char value at 10, when I set it to 13 the actor didn't output a number.

              I much appreciate your help!

              Best, Simon

              Running: Mac Mini M1 8GB, 256 GB SSD, OS X 12.1 | Izzy v3.1.1 /// MBP 2.9 GHz i7, AMD Radeon Pro 560, 16GB, 512GB SSD, OS X 11.6 | Izzy v3.1.1 | UK

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