Chat freely about anything...

User avatar
By manzai1994
#31422 I'm using the code provided by the following link below,
http://allaboutee.com/2014/12/27/esp826 ... d-circuit/

I can understand all the code it used but, the output I got is quite weird.
For example, when I enter the AT+RST in the serial monitor, this is what I got.
--------------------------------------------------------------------------------------------------------
AT+RST


busy p...

OK

ets Jao 8 2013,rsv cause:4, aoot mode:(3,7)

wdt rdset
load 0|40100000, lY 聤瞓捊�祦姴j
taZ �jchksu[偮�"5
load 0x3ffd8000, len 788, o珎垄jlm  1 
��裡sl��
Ai,Ttinker Technology Co.Ntd.

reabx
-------------------------------------------------------------------------------

I'm thinking is it the default baud rate of my ESP8266 is too fast compare with the sharer, he is using 9600 but mine ESP8266 only work with 115200 baud rate, and this cause the arduino cannot actually capture what the ESP8266 give like showing the wrong character as shown in the response above.

and I have another question that I think is not a big problem but it still confuse me sometimes.

supposingly, when enter AT+GMR, the response should be 0018000902 OK.

But i don't know why my response is something like this.
-----------------------------------------------------
AT+GLR



busx p...
AT vdrsion:0.21.0.0
SDK version:0.9.5

OK
------------------------------------------------------

AT version and SDK version instead of just a serial of number like 0018000902.

Please do help me =)
I would be very appreciated to everyone who help me.
User avatar
By Barnabybear
#31429 Hi, I would bet it's a faulty (or one that doesn't work well with the ESP) usb to uart device.
Do a loopback test. Disconnect any ESP8266 from your device. On the device connect Tx to Rx. Open a serial terminal of your choice, now anything you type and send should be sent back to you. If the sent & recieved text is different your device is faulty.
User avatar
By manzai1994
#31808
Barnabybear wrote:Hi, I would bet it's a faulty (or one that doesn't work well with the ESP) usb to uart device.
Do a loopback test. Disconnect any ESP8266 from your device. On the device connect Tx to Rx. Open a serial terminal of your choice, now anything you type and send should be sent back to you. If the sent & recieved text is different your device is faulty.


thanks barnabybear, i have tried to connect my arduino uno TX and RX to ESP 8266 TX and RX respectively before, and it work pretty good.

thereafter, i want to use Arduino to give the AT command to ESP8266 instead of giving AT command via serial monitor.
which means i cannot connect my arduino Tx to ESP8266 Tx but have to connect to ESP8266 Rx.