I plan to flash new firmware for a Sonoff ESP8266-based switch.
So I need a 3.3v USB to TTL for the programming. I see an inexpensive converter from China which has pinouts for
- 3.3v
- TX
- RX
- GND
- 5v
My question: I understand the 3.3v and 5v pinouts as providing constant voltage for the load (device being programmed) with the power coming from the USB port. But why isn't a switch of some sort needed so the TX line can be set to either 3.3v or 5v output?
What I am missing here? Thanks.