-
Sun 2019.07.07
For level shifting the reason why and solutions, See discussions at:
PinMode af_opendrain
Use of diode or pullup for level shifting
I prefer the use of a $0.01 transistor while using these high current demand Neopixels. Get it wrong, and the transistor fuse should go first, hopefully protecting the $35 Espruino microcontroller.
I highlighted the references above, but read the entire blog post.
Also check out the datasheet to see and understand why:REFERENCE table of RGB Led datasheets Neopixel
Second table on page 3
Look for 'Input Voltage Level' V ih - the minimum for a logic HI for input into the Neopixel.
I'm afraid 3.3V ain't gonna cut it . . . .
Thanks for the responses, I don't seem to get it working, I know the ws2812b is rated for 5v but it should work with 3.3 as signal and 5v for vcc. I wired it to pin D30 and tested
.