-->
Page 1 of 2

Arduino UNO with ESP8266, cannot communicate via AT commands

PostPosted: Wed Aug 30, 2017 11:58 am
by fftorettol
Hey need some help! I just bought esp8266 and I can't get it work. The red led on ESP shows up as soon as I power up the Arduino. I already tried to communicate via AT commands, but it doesn't work. I tried at 9600, 115200 no luck. No replies. I tried doing that via Putty interface or via Arduino IDE, but it doesn't make any difference. So I thought that it would be a great idea to flash the newest firmware on ESP8266. No luck with that eighter. I did set GPIO0 at the ground when tried flashing, but no luck with that. It just says "Failed to connect". I'm still a beginner so be easy on me. Here is my wiring:
Image

Re: Arduino UNO with ESP8266, cannot communicate via AT comm

PostPosted: Thu Aug 31, 2017 1:14 pm
by rjmah
I just spent half a day getting my serial working. You need to ground GPIO0 then cycle the power with it grounded to put it in UART mode. The fact it doesn't talk AT when in flash mode probably means your cabling is not good.

I admit I also tried to get my Adruino Uno to talk on 3.3 V lines. Are you sure your level shifter is 3.3 V? I had no luck after a day of fiddling and ended up buying a Raspberry Pi Serial interface cable for $10 and now can finally load Hello flash my LED.

Re: Arduino UNO with ESP8266, cannot communicate via AT comm

PostPosted: Fri Sep 01, 2017 5:02 am
by fftorettol
Yes, I'm sure about 3.3V converter. I did measure it with multimeter and it says around 3.3V. I thought that wiring is wrong also... But can anyone suggest me something?

Re: Arduino UNO with ESP8266, cannot communicate via AT comm

PostPosted: Sat Sep 02, 2017 5:52 pm
by rjmah
You don't say which board you have. I have a Sparkfun and an Olimex both are talking and loading now. Mine don't have 8 pin headers. I plug the Tx and Rx into the side pins. Also have you set your Arduino Nano up as an ISP? I've used a similar set-up to boot load a bare Atmel chip.