NicMagnier
New member
Hello,
I have a project with a Teensy 3.5 where I want to read the inputs on an old NES controller.
Because the controller sends 5V levels, I am using a TXB0104 level shifter (this one from adafruit) but I was not sure what would be the best way to feed 5V since the Teesny 3.5 is working with 3.3V
Looking at the Teesny schematic is realized that Vusb is actually 5V and because it is connect to Vin too I could simply connect Vin to the controller and the reference voltage for the TXB0104.
I was not able yet to read the NES controller input but so far I was able to have proper voltage on my outputs (as long as I reduce the CPU speed otherwise it seems it confuse the TXB0104 and the output has unstable readings)
My question is: is it really safe to use Vin to power 5V components in a project?
edit: the project is powered through the USB port.
I have a project with a Teensy 3.5 where I want to read the inputs on an old NES controller.
Because the controller sends 5V levels, I am using a TXB0104 level shifter (this one from adafruit) but I was not sure what would be the best way to feed 5V since the Teesny 3.5 is working with 3.3V
Looking at the Teesny schematic is realized that Vusb is actually 5V and because it is connect to Vin too I could simply connect Vin to the controller and the reference voltage for the TXB0104.
I was not able yet to read the NES controller input but so far I was able to have proper voltage on my outputs (as long as I reduce the CPU speed otherwise it seems it confuse the TXB0104 and the output has unstable readings)
My question is: is it really safe to use Vin to power 5V components in a project?
edit: the project is powered through the USB port.