Hi,
I have a question about the refresh rate of ‘NeoPixel Ring - 16 x 5050’ and 'Pixie - 3W Chainable Smart LED Pixel' .
In our project, I used Arduino to control LED, set LEDs to be light one by one at 60Hz and loop. I used a 60Hz camera to capture sequential images. But I found that LEDs didn't operate at 60Hz strictly. Sometimes they will miss a pattern, sometimes the LED is not fully bright , for example, it's 30% bright in the first frame, then fully light in next frame. So is that because there is slightly time delay between each of them, then it adds up to cause bigger delay. Thanks!
NeoPixel refresh rate
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: NeoPixel refresh rate
Correct. Neopixels refresh via PWM and each driver chip is independent. So with a fast shutter, some pixels may appear brighter since they are at a different phase of their PWM cycle.But I found that LEDs didn't operate at 60Hz strictly.
- jiazhangwang
- Posts: 13
- Joined: Mon May 23, 2022 2:42 pm
Re: NeoPixel refresh rate
Thank you for the information. I am new to PWM things. I just checked that PWM fall time and rise time, which means that even we just operate one single LED, there will be a little delay(120 us) after each cycle, then it may have full jump after a certain time, is that correct?adafruit_support_bill wrote:Correct. Neopixels refresh via PWM and each driver chip is independent. So with a fast shutter, some pixels may appear brighter since they are at a different phase of their PWM cycle.But I found that LEDs didn't operate at 60Hz strictly.
And if we operate the whole ring, since all LEDs are chained together, there is some data transmission delay between LEDs, so it may cause some larger delay after a certain time, is that correct? Thanks!
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: NeoPixel refresh rate
Each pixel has its own independent internal clock. So in addition to the communication latency from one pixel to the next, their PWM refresh rates are not synchronized.
Please be positive and constructive with your questions and comments.