Pixel Mapping with TouchDesigner & Arduino Wsb2812b Addressable LED Strip - TD Tutorial 6
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...
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!
amazing tut! thank you so much
That would be great if you could make a tutorial with teensy and fastled library.
Thank you for this Tut, im going to try as we speak
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
NP, All the best!
@@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!
@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.
@@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.
@@LeRoiPapayou using boards like teensy could be an answer for any kind of speed problem.
bravo
Is it possible to make everything smoother?
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
how do you do this for a led matrix?
is there an option to connect touchdesigner with an teensy? ive got an issue with the clockspeed, because the pololuledstrip libary only support 84Mhz
How is the latency? Do you get good throughput on sending data or is it "choppy" ?
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!!
Doesn't work with me :( my serial1 container gives a big question mark, that it cant connect to arduino. Do you have an idea?
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!!
Thank you so much! Yes, We can. l believe l mentioned in the video, it's related to the setting in the timer chop.
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
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?
My Arduino is blinking when I run the code I downloaded from you, but no lights are coming on.
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?
@@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.
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
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.
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.
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~
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?
Probably the sending rate is too high, go check and try to reduce it by half.