Pixel Mapping with TouchDesigner & Arduino Wsb2812b Addressable LED Strip - TD Tutorial 6

Sdílet
Vložit
  • čas přidán 5. 09. 2024
  • It's very handy that utilizing Touchdesigner and Arduino as a combination for the rapid prototyping and demonstration of your projects. In this tutorial, Jun Li introduces you the trick to pixel mapping with the Arduino WSB2812b addressable LED light strip in real-time from Touchdesigner to Arduino.
    Project file: github.com/LLL...

Komentáře • 30

  • @juanfranciscobertona4058

    Few times tutorials have given me so much in such little time! In my case I only had to plug the arduino off and on once and I got it working. Thanks Jun!

  • @suleymanyilmaz9993
    @suleymanyilmaz9993 Před 3 lety +4

    amazing tut! thank you so much
    That would be great if you could make a tutorial with teensy and fastled library.

  • @deadmusik9969
    @deadmusik9969 Před 2 lety

    Thank you for this Tut, im going to try as we speak

  • @LeRoiPapayou
    @LeRoiPapayou Před 3 lety

    Right on time buddy! Exactly when I needed it :)
    I'll start my prototyping tomorrow, I think I'll be back with some questions for you mate!
    Thanks for the well timed upload :D

    • @junli860
      @junli860  Před 3 lety +1

      NP, All the best!

    • @LeRoiPapayou
      @LeRoiPapayou Před 3 lety

      @@junli860 Worked like a charm! THANKS!
      Any idea what is the maximum timer speed I can use safely? 250 looks fine, I've tried 1000 but got some random color flickering at some moments.
      Also the Arduino code isn't in the description so I had to copy it from your video. just to let you know.
      Anyway, thanks for the tutorial dude it was great!

    • @junli860
      @junli860  Před 3 lety +1

      ​ @Le Roi Papayou - there're some different ways to debug, usually, you can try the framerate, speed, upgrade to a more powerful board like Maga, reduce the led lights. Depends on whether you need to run the project in real-time. Yes, you will see the led flickering when over the capacity of the Arduino board. So this is the main reason that control addressable lights were tricky. What l have shown in the video, l try to control over 1300 LEDs, but for sure you can notice the delay but should be fine if the quantity is around hundreds.

    • @LeRoiPapayou
      @LeRoiPapayou Před 3 lety

      @@junli860 Thank you for the clear explanation. I only have 36 LEDs for prototyping so that should be good :)
      I'll dig deeper to fix some flickering.

    • @suleymanyilmaz9993
      @suleymanyilmaz9993 Před 3 lety

      @@LeRoiPapayou using boards like teensy could be an answer for any kind of speed problem.

  • @lowdt
    @lowdt Před 29 dny

    bravo

  • @dj_khz_
    @dj_khz_ Před 3 měsíci

    Is it possible to make everything smoother?

  • @yiyang3555
    @yiyang3555 Před 2 lety +1

    In TD, with your tut, a 16*16pixels Ramp Image has been mapping to leds matrix16*16 perfectly. But, after transform a photo image resolution from 256*256 to 16*16 pixels, the photo image hasn’t been displayed correctly by mapping pixels to leds matrix 16*16. Would you explain how to mapping a photo image pixels to leds? thanks

  • @NzedY
    @NzedY Před 3 lety +1

    how do you do this for a led matrix?

  • @Spidy403
    @Spidy403 Před 11 měsíci

    is there an option to connect touchdesigner with an teensy? ive got an issue with the clockspeed, because the pololuledstrip libary only support 84Mhz

  • @brouklis1
    @brouklis1 Před 10 měsíci

    How is the latency? Do you get good throughput on sending data or is it "choppy" ?

  • @po3ppy313
    @po3ppy313 Před rokem

    Hello Jun Li! I followed all steps and could get the right textport, but the strip was unable to lit and produc a colour change, could you help me to solve the tricky question? Thank you very much!!

  • @sinocam
    @sinocam Před 2 lety

    Doesn't work with me :( my serial1 container gives a big question mark, that it cant connect to arduino. Do you have an idea?

  • @user-hw6qy2uh4t
    @user-hw6qy2uh4t Před 3 lety +1

    Helpful tut!!!! My file works fine by following your tu! but just question about can we make the color change smoothly? I think is the touchdesigner calculating rates matter? but I can't figure out how!! thankful if you could explain it!!

    • @junli860
      @junli860  Před 3 lety

      Thank you so much! Yes, We can. l believe l mentioned in the video, it's related to the setting in the timer chop.

  • @cripwalkisfun
    @cripwalkisfun Před rokem

    hello this is very cool, i am going to learn touchdesigner, can i export the gradient animation as python to my arduino and save the code on there so i can run my arduino without being plugged into my laptop? or do i have to output the python in realtime to the arduino like how you have shown in this video? thanks, i am a newb

  • @ikontact
    @ikontact Před 3 lety +1

    Having a problem around 8:58. For some reason it won't print the "Ready to receive colors" in the serial port. Any idea on what I can do to fix it?

    • @ikontact
      @ikontact Před 3 lety

      My Arduino is blinking when I run the code I downloaded from you, but no lights are coming on.

    • @ikontact
      @ikontact Před 3 lety

      Actually I tried running it again and now the Arduino is no longer blinking (can't get it to blink anymore for some reason) and saying it can't read my Arduino). Can I Instagram message you? Couldn't find you on there. What is your username?

    • @junli860
      @junli860  Před 3 lety +1

      @@ikontact it's hard to tell the problem based on ur description. l suggest you check the model of your hardware and follow my tutorial step by step carefully. Indeed, it's very tricky to play with hardware. All the best.

  • @simontempoloco1756
    @simontempoloco1756 Před 3 lety

    Hello
    thank you for this great job.
    it works well for me but I can not get the 60 leds to work of my led strip. only the first 10 works.
    which parameters should I modify?
    thank you
    Simon

    • @junli860
      @junli860  Před 3 lety +1

      Thank you so much! There are two places you need to check, one is the led numbers in Arduino code l believe l mentioned in the video, the other is the resolution Top in the TD. Basically, you need to match these two numbers.

  • @jean-francoispedneault3632

    Thank you M.Li for your great Tutorial! This is one of the few about that topic. I would have a question if you read this and have a minute. Do you have any idea why I miss 1 led each 4 for of them. Which means that I have to #define the LED_COUNT to 80 in the .ino in order to have the 60 leds of the ws2812b to light up. LED_COUNT 3 the first three leds light up. LED_COUNT 4 same three leds light up. LED_COUNT 5 the first fourth leds light up... and on and on. As well as a pattern of 3 colors is repeated. I tried to change resolution 60 to 80 in the ramp it does nothing. I changed the ramp to a steady color and realize that the ramp does not affect the color at all. I could not figure it out why is all that.

    • @junli860
      @junli860  Před 3 lety

      Hello there, have you downloaded my example code? you can try to explore starting from there. Depends on what ur describe, l doubt if the array went wrong, you can check the shuffle chop in the pipeline, All the best~

  • @jesperj1j1
    @jesperj1j1 Před 3 lety

    Hello Jun Li! Im trying to get this tutorial to work out - I get the lights to light up But as soon as i turn on the timer chop TD drops to 1 fps. It doesn't matter if i use 1 pixel or 100 pixels. What could be my problem?

    • @junli860
      @junli860  Před 3 lety

      Probably the sending rate is too high, go check and try to reduce it by half.