Timeline for How to shift-up logic signal from 3V3 to 5V for NeoPixel
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 6, 2021 at 16:01 | comment | added | Adam Griffiths | If you search for "logic level shifters" you should find many like this one: shop.pimoroni.com/products/…. If you look at the schematic it's the same as the one in this answer above. That should give you lots of confidence (this is a common approach _ bidirectional + maintains polarity + neopixel compatible). You can either buy it ready made or make one using a BS138 and resistors. An alternative is to use the one diode trick (search for "one diode level shift neopixel"). | |
Jun 29, 2017 at 19:30 | comment | added | Andy aka | No, it doesn't invert data. | |
Jun 29, 2017 at 18:10 | comment | added | Noisemaker | Will this invert data? | |
Jun 29, 2017 at 16:27 | comment | added | jonk | One thing that bothers me is that the OP will probably need to go with \$1\:\textrm{k}\Omega\$ pull-ups to get the speed. And the I/O pins of MCUs are, to my mind, typically about \$100\:\Omega\$. Which means there will be an input divider operating, keeping it from getting close to ground, therefore keeping the output from getting close to ground. Depends on the input source impedance, though. Just annoying. | |
Jun 29, 2017 at 16:04 | history | edited | Andy aka | CC BY-SA 3.0 |
added 452 characters in body
|
Jun 29, 2017 at 15:55 | comment | added | jonk | That's what I was looking for. (Lots of these same solutions here, though.) Also addressed speed, which the OP needed addressed. + | |
Jun 29, 2017 at 15:52 | history | answered | Andy aka | CC BY-SA 3.0 |