74AHCT125 - Quad Level-Shifter (3V to 5V) - 74AHCT125
Level shifting chips let you connect 3V and 5V devices together safely. This chip is similar to others in the shop (such as the 74LVC125) except this one is particularly good at converting 3V logic up to 5V. This is in demand especially when connecting some 3V devices such as the Teensy 3 to NeoPixels! Just power the 74AHCT125 with 5V, it will detect 3V logic properly. You can also use it to connect 5V logic out to 3V logic in, that's when you want to power the 74AHCT125 with 3V, it can safely read 5V logic on the input pins.
To use, apply ~5V power to the VCC pin, common ground to the ground pin, and tie the /OE (output enable) pins to ground. Data goes in on the A pins and goes out on the matching Y pins. We have a wiring example for Raspberry Pi here but also check the datasheet for the pinouts!
MAY WE ALSO SUGGEST...
MAY WE ALSO SUGGEST...-