neopixel ws2812 3V to 5V transistor converter inverter din
Posted: Fri Nov 26, 2021 2:46 am
Hello world
I am using WS2812 and NeoPixel module with ESP32 chips. In order to drive 5V LED input with 3V MCU GPIO I am using transistor (N-MOS). But that transistor inverts logical signals of the gpio pin. Sure I can use second complementary transistor but this should be also fairly simple to solve in firmware.
My question is does NeoPixel module support inverted logic?
If not is this because there are any objections or no one just wrote it yet?
This seems pretty popular and minimalistic solution..?
Any hints welcome
I am using WS2812 and NeoPixel module with ESP32 chips. In order to drive 5V LED input with 3V MCU GPIO I am using transistor (N-MOS). But that transistor inverts logical signals of the gpio pin. Sure I can use second complementary transistor but this should be also fairly simple to solve in firmware.
My question is does NeoPixel module support inverted logic?
If not is this because there are any objections or no one just wrote it yet?
This seems pretty popular and minimalistic solution..?
Any hints welcome