Chat freely about anything...

User avatar
By ege
#23213 Hello,
I have a weird problem. First, I tried to connect my ESP8266-01 to the arduino. My connections are attached to this post. I wanted to use the arduino for serial comms with esp, so I uploaded BareMinimum to arduino. Because I couldn't get any response, I swapped RX and TX. Surprisingly, it worked! But now I can only see the "ready" message and all AT commands give error. When I reset the chip by connecting the reset pin to the ground and try to send AT commands, here's what I get:

0 ]pJÅ!Ò|ğÖÈtzІˆ‚'&hœÒCH$
[Vendor:www.ai-thinker.com Version:0.9.2.4]

ready
ATGM^

ERROR
AT

I also pulled GPIO0 and CH-PD up, connected GPIO2 to vcc, but no luck! Also, when I set the baud rate to 115200 and reset the chip, I get this after some gibberish:

ets Jan 8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x40100000, len 25052, room 16
tail 12
chksum 0x0b
ho 0 tail 12 room 4
load 0x3ffe8000, len 3312, room 12
tail 4
chksum 0x53
load 0x3ffe8cf0, len 6576, room 4
tail 12
chksum 0x0d
csum 0x0d
Fatal exception (0):
epc1=0x40248580, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000

So, should I upload new firmware ( if yes, then how? ) or do I miss anything else? Thank you for your replies...
Attachments
Untitled Sketch_bb.png
User avatar
By Zomer
#23219 I would say load up esptool and either reflash the AT firmware or flash the nodemcu firmware. Then give it another shot.
User avatar
By ege
#23235 Will nodemcu or at firmware make a difference? I want to use my esp as a shield for my arduino and I don't know whih one yo choose.
User avatar
By kenn
#23252
ege wrote:Will nodemcu or at firmware make a difference? I want to use my esp as a shield for my arduino and I don't know whih one yo choose.


If you are going to use the ESP as a wifi shield for your Arduino... there are a number of projects already out there doing just that, so you should Google them up to benefit from their experience. I believe that most of them are using the factory AT firmware, so that's the best place to start (and no flashing required)