Jump to content

Right usage of WS2812B LEDs


FantomXR
 Share

Recommended Posts

Hey people,

I have two questions regarding the WS2812. If you read through the internet you will find various articles that one should use a resistor between DIN of the LED and the output-pin of the microcontroller. Is that also right for the STM32F4? 

The second thing is, that the first (or sometimes an other) LED lights up short after a few seconds after powering the core (both share the same power supply). Any ideas how to prevent this?

Thanks,
Chris

Link to comment
Share on other sites

Hi Chris,

adding a resistor (e.g. 470 Ohm) to between the core output pin and WS2812 is probably a good idea, see this posting for the arguments: https://electronics.stackexchange.com/questions/177019/why-does-a-resistor-in-my-neopixel-data-line-work-at-all

The LED should turn off once the Core starts to drive data into the chain.
Enable the "fastboot" option so that this happens as fast as possible

Best Regards, Thorsten.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...