Of course, you do not need a level shifter for the TX line, and according to LadyAda, you do not need anything more than a diode as level shifter for the RX line.
That level shifter is doing just fine for my MF-RC522.
dlloyd:
When shifting from 5V to 3V, the signal at the 3V side isn't very sharp. See fig 7 here (pg 14).
Try testing with shorter cables and lower baudrates.
Unfortunately, the intial baudrate on the ESP8266 ESP-01 is 115200. The total cable length is about 1 foot (6 inches from ESP-01 to level shifter board on breadboard then another 6 inches to the Arduino Uno.
Would a simple voltage-divider be better?
Disappointing since I bought 10 of these level shifter boards.
Haven't used the ESP8266 before, but it looks interesting. Maybe you could try the 3.3K pullup resistors as Paul__B suggested. You wouldn't need remove the ones on the level shifter board (they would be in parallel). The 3.3K's could be located anywhere along the wire connections, wherever its convenient (as a test).
WHY do you need a BI-DIRECTIONAL level shifter for UNI-DIRECTIONAL pin ? (RX, TX, are not bi-directional are they ? I mean think about it . If the name of the pin is Rx, can it act as a Tx ?)
dlloyd:
Haven't used the ESP8266 before, but it looks interesting. Maybe you could try the 3.3K pullup resistors as Paul__B suggested. You wouldn't need remove the ones on the level shifter board (they would be in parallel). The 3.3K's could be located anywhere along the wire connections, wherever its convenient (as a test).
Actually, to make 3.3k, you parallel the present 10k with 4.7k.
I received two types of USB to serial converter boards that I bought on eBay two weeks ago.
This morning I hooked both of them up, one at a time, and for some reason, the RX is fine when using those boards to communicate with the ESP-01.
I have restored my Uno to its original condition.
I don't know if I will run into the problem again when I am using the Arduino Uno to communicate with the ESP-01. The purpose of this exercise was to give the Uno wifi capability.
raschemmel:
WHY do you need a BI-DIRECTIONAL level shifter for UNI-DIRECTIONAL pin ? (RX, TX, are not bi-directional are they ? I mean think about it . If the name of the pin is Rx, can it act as a Tx ?)
I think you will find that many/ most of the USB-serial adapters actually use 3.3 V logic throughout (or provide for switching), so level converters are not needed at all. Of course it is 5 V tolerant.
As I said, that level shifter is doing just fine for my MF-RC522.
I used this configuration schematic, but instead of resistors, I used a CD4050 and as you a level shifter board and powered from external 3.3v supply, with same fine results:
And as you can see only RX on esp8266 pin is level converted.