• 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

    Osc from isadora to arduino

    How To... ?
    4
    6
    2441
    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.
    • particlep
      particlep last edited by

      hi guys.  i'm trying got make something where isadora controls some ws2812b led strip via arduino.  the plan is to send osc messages from isadora to arduino and use the values to set rgb values on the led.

      through this tutorial [http://trippylighting.com/teensy-arduino-ect/touchosc-and-arduino-oscuino/](http://trippylighting.com/teensy-arduino-ect/touchosc-and-arduino-oscuino/) i've got something working with the oscuino library in arduino.
      i've got to a point where i simply don;t understand how the incoming osc value can be used in arduino as a variable to control the led values.
      i'm not sure where to start. 
      i've spent hours on it so far.
      does anyone know of some documentation for the oscunio library they could point me to or point me somewhere to better understand how to get the incoming value to work with.  i'm first asking this here as this forum is so much friendlier than some of the others i've tried in the past.  

      isadora v3.0.7
      mbp 2.6ghz i7
      mac osx 10.12.6
      dyslexic.

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

        Hello,

        For a workshop, I prepared Arduino code and Isadora patch driving 4 servos motors from Isadora using OSC.
        I tried many OSC libraries and the best (for me) is ArdOSC.
        Here are the patches.
        Jacques

        fe8b76-isadorato4servo.zip

        Jacques Hoepffner http://hoepffner.info
        GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
        MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
        MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
        MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

        1 Reply Last reply Reply Quote 0
        • crystalhorizon
          crystalhorizon Beta Platinum last edited by

          Controlling servo motors from Isadora is something I always wanted to test. This looks like a good start. All informations how to achieve this in Isadora via arduino is very welcome.

          Alexander Nantschev | http://www.crystalhorizon.at | located in Vienna Austria

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

            You can do this, watch out, depending on how many LEDs you use (how long the strip is) you can choke the arduino pretty fast. There are some cool solutions to get around it like a DIY lookup table in the arduino. The arduino bus either for USB serial or ethernet is slow. Fade candy is a faster solution or using raspberry PI with IO pin libraries. http://www.adafruit.com/products/1689

            http://www.fredrodrigues.net/
            https://github.com/fred-dev
            OSX 13.6.4 (22G513) MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
            Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD

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

              thank you for the example @jhoepffner . the ardosc library looks much more straight forward to get the incoming osc values into the rest of the arduino sketch.  i'll let you know how i get on.

              thanks also @[Fred](/troikatronixforum/profile/10/Fred) for the heads up, all really handy insight.  the length of the strip is likely to be no more than 16 as i'm looking to power the project from a usb power pack that has a maximum current delivery of 1 amp.

              isadora v3.0.7
              mbp 2.6ghz i7
              mac osx 10.12.6
              dyslexic.

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

                thank you again @jhoepffner for sharing the arduino sketch.  i've modified it to work with the led strip and along with it have attached an isadora patch to play with the arduino.  

                usable info online has been difficult to find so i share this for those who want to experiment with isadora and led strip control via arduino and osc.

                8d6093-izzy2led-forum.zip

                isadora v3.0.7
                mbp 2.6ghz i7
                mac osx 10.12.6
                dyslexic.

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