Because the Arduino (and Basic Stamp) are 5V devices, and most modern sensors, displays, flash cards and modes are 3.3V-only, many makers find that they need to perform level shifting/conversion to protect the 3.3V device from 5V. Although one can use resistors to make a divider, for high speed transfers, the resistors can add a lot of slew and cause havoc that is tough to debug. For that reason, we like using 4050/74LVX245 series and similar logic to perform proper level shifting. Only problem is that they are only good in one direction which can be a problem for some specialty bi-diectional interfaces and also makes wiring a little hairy. That's where this lovely chip, the TXB0104 bi-directional level converter comes in! This chip perform bidirectional level shifting from pretty much any voltage to any voltage and will auto-detect the direction. Only thing that doesn't work well with this chip is i2c (because it uses strong pullups which confuse auto-direction sensor) or control lines with a lot of capacitance on them. If you need to use pullups, you can but they should be at least 50K ohm - the ones internal to AVRs/Arduino are about 100K ohm so those are OK! Its a little more luxurious than a 74LVX245 but if you just don't want to worry about directional pins this is a life saver!Since this chip is a special bi-directional level shifter it does not have strong output pins that can drive LEDs or long cables, it's meant to sit on a breadboard between two logic chips! If you do not need instant bi-directional support, we suggest the 74LVX245 as below which has stronger output drive. This breakout saves you from having to solder the very fine pitch packages that this chip comes with. We also add 0.1uF caps onto both sides and a 10K pull-up resistor on the output enable pin so you can use it right out of the box!
D**R
Works Great.
Arrived as promised. Great Product.
K**R
I2c compatible
Worked for i2c and high resolution encoder
P**K
Preis/Leistung: deutlich zu teuer
Alles in allem gut, der TXB0104 tut was er soll, es ist auch wirklich ein TXB0104 und z.B. kein TXS0104E (andere Angebote verkaufen einen TXS0108E als TXB0108, und ersterer ist deutlich langsamer). Ich steuere damit Unidirektional zwei Meter SK9822 LED-Streifen (mit insgesamt 288 LEDs) über SPI am Raspberry Pi an und das mit vollen 32 MHz. Klappt super und einwandfrei. Pins werden auch etwas mehr mitgeliefert als nötig wäre.Also alles in allem super, nur der Preis ist deutlich zu hoch, daher ein Stern abzug. (Scheint aber spezifisch für Adafruit zu sein.) Einen TXB bekommt man als einzelnen Chip bei diversen Elektronikhändlern für unter 1,40€, für 5€ mehr spart man sich hier also vor allem das Löten.Und alle anderen, sogar günstigere Angebote für den größeren TXB0108 sind eben leider eigentlich nur TXS0108E, obwohl die Chips im Grunde das Gleiche kosten. Schade eigentlich.
Trustpilot
2 months ago
2 weeks ago