ws2812b icon indicating copy to clipboard operation
ws2812b copied to clipboard

Add Odroid C4 project

Open aleksas opened this issue 1 year ago • 4 comments

PR fix / feat

Changes include customizable one, zero mask per interface. Speed is related to mask thus arbitrary speed isntead of 10MHz. Added Odroid C4 project. Modified test, added macro to either change all colors of the strip or single led.

https://user-images.githubusercontent.com/594470/235141408-7c5c486d-bfec-4faa-bb36-9ebf495f8e59.mp4

aleksas avatar Apr 28 '23 11:04 aleksas

Also FastLed has function to calculate bit pattern which may be useful

aleksas avatar Apr 28 '23 12:04 aleksas

Thank you for your contribution.

libdriver avatar May 03 '23 13:05 libdriver

Can confirm this is also working on ODroid N2+ with DATA pin connected to GPIOX_8 (pin 19) image

But for some reason I'm getting flickering lights, running both the Odroid and the LEDs on the same 7v and GND.

https://github.com/hepingood/ws2812b/assets/2140323/54f6431b-3c91-4862-9748-cf2c723dabde

I'm running a sequence to make a one led a time brighter than the others, and sometimes they all turn green/blue for second or all turn bright.

@aleksas Do you know why that could happen?

danpe avatar Oct 06 '23 21:10 danpe

I get some rogue flickering also from time to time. That's all related to signal timing. To fix that some research should be done with oscilloscope. But I'm not very proficient with that. I've calculated timing based on odroid SPI speed settings and led timing from led datasheet. Might not be the most optimal timings.

aleksas avatar Oct 10 '23 07:10 aleksas