Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By ElWayno
#56475 Hi, I connected my ESP8266 01 (written AI-Thinker) on it to my Arduino Mega 2560. I'm using external 3.3V PSU with very constent 3.3V. I'm using Serial2 of the Mega for communication with the ESP8266. RST is floating and CH_PD is connected to VCC3.3V. I'm also using a Bi-Directional Logic Level Converter for TX and RX from ESP to Arduino. When I power UP the thing, the red LED comes UP and the blue one too. Both stays on, I programmed a little code who simply takes what comes from Serial2 and shoots it to Serial (console) so I can see what's going on as well as sending inputs from Serial to Serial2. Kinda bridge.

For now I get something from the ESP but it's just ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ. Tried all serial baudrates for Serial2 from 9600 to 115200. None of them is working. Just getting ÿÿÿÿÿÿÿÿÿÿ s faster or slower depending on the baudrate.

HELP!!! :)
User avatar
By AcmeUK
#56542 Try 74880 baud. Why, see this http://www.esp8266.com/viewtopic.php?f=13&t=11727

It is some time since I used an esp-01 but I am not sure you can have 2 serial streams. When wired corrctly there is only GPIO 2 spare.

Why not start off simply with the good old 'Hello World' sketch. Then write a sketch that echos the input from your terminal.

If you set the baud rate in your sketch to 74880 you will be able to see the boot ROM messages.