psieg / Lightpack

Lightpack and Prismatik open repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any chance of having 226 LEDs smooth with Arduino Uno?

SasakrCZ opened this issue · comments

Hi,

bought one of those kits on AliExpress some time ago. Never been satisfied with the framerate though. The kit consisted of Arduino Uno and 2812 LEDs. To cover my 55" TV, I needed 226 LEDs. I have no light at all if I select anything above 115 200 baud in Prismatik. With this baud, I am limited to like 14 FPS with this amount of LEDs to avoid "low baud" notification. Any tips about what to do to make it smooth? I guess 30 FPS should be enough.

As it is right now, only two options come up to my mind:

  1. To buy 30 LEDs/m instead of 60 LEDs/m I currently have.
  2. Somehow force it to "lower the resolution" so those 226 LEDs actually behave like 100 or something.

Any tips, please? Thank you.

  1. re-flash your arduino for a higher baud rate
  1. I am using 309 LEDs (100 LEDs/m) and have a maximum refresh rate of around 50 FPS
  2. You cannot lower the resolution in Prismatik. You have to implement your own code. However, keep in mind that LEDs do have a maximum flash rate.
  3. ESPs usually have a maximum baud rate of around 921600. You should flash your chip with the highest available (https://www.arduino.cc/reference/en/language/functions/communication/serial/begin/)
  1. re-flash your arduino for a higher baud rate

Found that article even before I wrote the first post. Interesting to understand the baudrate/#LEDs/framerate relation, however it doesn't say anything about how to increase baud rate.

  1. I am using 309 LEDs (100 LEDs/m) and have a maximum refresh rate of around 50 FPS

  2. You cannot lower the resolution in Prismatik. You have to implement your own code. However, keep in mind that LEDs do have a maximum flash rate.

  3. ESPs usually have a maximum baud rate of around 921600. You should flash your chip with the highest available (https://www.arduino.cc/reference/en/language/functions/communication/serial/begin/)

  1. So what's your baud rate allowing you to reach such high FPS? You've also got Arduino Uno?
  2. Is that also the case of Arduino Uno? Did a little bit of googling and wasn't able to find whether you can go beyond 115 200 with it or not. Is this a tutorial I'm looking for? https://www.youtube.com/watch?v=ca74t4yOgYo Sorry, I am Arduino noob and I want it to stay that way.

EDIT:
Seems I messed the whole thing up. Used the tutorial from Youtube mentioned above, it stopped working. Well, I downloaded Adalight/WS2812 by Wifsimster. And it ain't working either. Looked at a few tutorials on youtube and compared the wiring with what I've got from Aliexpress. Seems to be completely different. I am afraid my only chance now is to get the original program from that chinese seller. Otherwise it's dead.

I am using a baud rate of 921600 as it is the fastest I can achieve using my ESP8266. I don’t know about your model, but if you are completely uncertain you may test any of the default values as seen in the picture below (and don’t be afraid to destroy anything – nothing will beak that way). However, you need to match the baud rate from Prismatik with your Arduino, as it is not working otherwise.

image

It seems my Arduino tops at 128000. I guess I have to replace it. I cannot go over 16 FPS.

Hey, I am back. Since I wasn't satisfied with the result (16 FPS sucked), I stopped using that. Few days ago, my LEDs fall off the back of my TV... so I decided to dive back into the Arduino (just a reminder, I bought a finished kit from Aliexpress because I expected it to be plug and play). With some tries and errors, I realized that not only 128 000 worked but also 153 600 (leading to 19 FPS. Better, but still not very much). 230 400 od 256 000 didn't work. I gave a try even higher baud rates and bam! 500 000 works! Even 1 000 000 works but it causes random colors of LEDs. So now I can run 500 000 baud rate leading to 48 FPS which is completely enough. Lol, three years since purchase, I can finally use it with no compromise.

The only thing which is worth improving - color accuracy. Is there any way how to set proper shade of all and each basic colors? If I run one of those ambilight video tests, especially greens are really off.