So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Rikywmalau
#75411 Hi, my name is riky
im new on esp8266
i just want to make esp8266 as a wifi for my UNO
i have try someway, but still no results.

i have 3 boards wifi :
    2 pcs ESP8266 07
    1 pcs ESP8266 01

i have try all of them and fail when i give AT command (no response)


this is my configuration :
    3,3V for esp
    flasher = esptool.py
    firmware = 0.9.5.2.bin
    pin config
    Vin to 3.3V (arduino or USB TTL)
    CH_PD to 3.3V (arduino or USB TTL)
    GND to GND Arduino
    TX to TX
    RX to RX (i have try reverse and TX RX to TX RX is better, nothing shown when i do reverse)

this is the results ESP8266 07

1st run serial monitor
Code: Select all[img]https://lh3.googleusercontent.com/gJUnfzloEhHmg09rqXdVpY4tA2ljmi3HnXsEAWLPFaZ235IwZ041yhp1Cr1msHNyY0WSFLQDeDT5lS7a3oCe=w1366-h662[/img]

2nd reset esp
Code: Select all[img]https://lh4.googleusercontent.com/VYOmF3n5sC53dIw1ZFlwUqOO9xUgofcNXPuMgSBfIRX8g5TeQf2tnDQi4M_pj8Sn2OAaziZgd1Gu7Zy0mRlS=w1366-h662[/img]


3rd rest esp and next will be like this
Code: Select all[img]https://lh6.googleusercontent.com/mFpMpb3XG3yIDgjbEKYOvVX3I5jfuPpaB-UnHNlMFRQsoQkTDaxzxQg4giFtmvPcGdfYR5l8xUGrusTkXVsT=w1366-h662[/img]


i think the firmware is OK, i did it right
i have use another flasher and some firmware the result is same,
no response for AT command,
even the last word is 'READY', but no response.

whats wrong ? please help me, i realy need thiss :(
User avatar
By dmccue128
#75546 Riky,
I am also new to ESP8266 but I solved the same problem you are having. I have ESP8266 connected to Arduino Uno. Arduino Uno loaded with BareMinimum sketch. Communicating via Serial Monitor at 9600 baud.

I got no response from ESP8266.
I tried different baud rates for the connection - some documentation says some boards run at 9600 (maybe newer ones) and others run at 115200 (older ones). At lower baud rates I got no response. At higher baud rates I got garbage response.

I set the baud rate up to 115200. But it still did not work!
Then I read that you need to make sure that "line ending" in my Arduino Serial Monitor was set to "Both NL & CR". Changing baud rate to 115200 and line ending to "Both NL & CR" made it work.
Now I type AT in the serial monitor and the ESP8266 responds "OK". Other AT commands work too.

But I have not been able to connect to my local wifi access point. I set the ESP8266 in station mode using AT+CWMODE=1. Checking with AT+CWMODE? returns +CWMODE:1 as expected. But when I try to connect to my access point with AT+CWJAP="ssid","password", it gives an error code like "+CWJAP:1 FAIL" or "+CWJAP:3 FAIL". I have not been able to find what these error codes mean!

I hope you have better success.