-->
Page 1 of 2

Wiring ws2815 12v addressable strip with NodeMCU v3

PostPosted: Sat Jul 31, 2021 2:51 pm
by tespis
Hi!
So I was wondering if I can somehow easily control ws2815 with my nodemcu v3. I've noticed on web that those led strips require common ground with arduino, is it really true? Can I wire leds to 12v power supply, and then power nodemcu with 5v USB, or do I have to use some voltage converter from 12v to 5v?

Regards!

Re: Wiring ws2815 12v addressable strip with NodeMCU v3

PostPosted: Sun Aug 01, 2021 8:44 am
by btidey
The 0V of the 12V supply should be tied to the 0V on the NodeMCU tp provide a common reference point.

The logic levels are poorly documented for the WS2815 with some implication that you need 70% of 12V supply for a logic high but that seems to be incorrect. Internally the WS2815 generates a 5V logic supply and the logic levels seem based on this. This means a minimum logic high of 3.5V and people report that trying to drive with 3.3V logic as per the NodeMCU does not work. So you need to level shift or buffer the output to provide 5V levels.

Re: Wiring ws2815 12v addressable strip with NodeMCU v3

PostPosted: Mon Aug 02, 2021 7:14 am
by AcmeUK
Have a look at the WLED Wiki
Here is a version using the Wemos D1 Mini

Re: Wiring ws2815 12v addressable strip with NodeMCU v3

PostPosted: Mon Aug 02, 2021 10:31 am
by QuickFix
From own experience I know that controlling the data-in line of a normal WS2812B (5V) strip directly, but for quick testing purposes only.
If you want your ESP to live long, you'd really have to use a level-shifter. :idea: