ESP8266 gives garbage using Arduino IDE

arduinoesp8266

I am using ESP8266 board connected to Arduino Nano using this Video. But every time I switch on the board, I get garbage values like this "¤HlzGà". It changes each time I switch on and off.

I tried using different baud rate and ESP8266 board. But I am getting the same results. Can anyone help me in this?

Best Answer

There are a number of possible reasons why your ESP8266 is returning "garbage" values via serial:

  1. During boot of the ESP8266 (before the welcome message is displayed) the baud rate is set to 76800 before being set to the default baud rate of your firmware (note I do not know what firmware you are running, there are many floating about right now). This is normal! You will know if your ESP8266 has successfully booted if you receive a welcome message (which varies with firmware).

  2. You have not selected the correct baud rate to communicate with your ESP8266. There are three common baud rates being used presently after the ESP8266 boots (i.e. set just prior to the welcome message), 9600, 115200, and 57600.

For your particular case I strongly suspect that your power supply does not have enough power to power the ESP8266, this is especially true if you are trying to power it from the Arduino Nano's 3.3V supply. In most cases you will need a separate 3.3V power source for your ESP8266. I suspect you are seeing the ESP8266 boot (i.e. showing it's "garbage" during boot sequnce) then the module is shutting off shortly after and becoming unresponsive.

Related Topic