Esp-01 doesnt work after updating AT firmware

Hello, i’ve just updated my esp01 to new AT FW and it seems like it is not working. It connects to wifi, and thats all. Nothing more. Serial print:

[9] Blynk v0.4.0 on Arduino Mega
[509] Connecting to voltmannovci
[3568] 0018000902
[6962] 192.168.1.106
[6963] Connected to WiFi

UPDATE: I’ve tried various firmwares both from espressif and ai thinker(also the newest v2.0.0). I can’t get it to work. It just hangs on wifi connected. I managed to get it work with one of my “old” ESPs which has AT firmware v0.60.0. I was trying to upload v0.60 to new module, but i can’t find it on internet. Did someone experienced this? Or did someone know where can I find v0.60 to download? I’m sure that this is not a faulty module, because i tried it with two of them (i ordered 2pcs). Also module responds to AT commands without any problem. The only difference between old and new ones is, that on startup of the module I get “Ai Thinker Co. Ltd.” and then on the new line- “invalid”, while the new one prints “ready”.

@wiipro see https://github.com/blynkkk/blynk-library/wiki/ESP8266-with-AT-firmware

v2.0.0 is not on the “approved” list so I would forget that.

As per the link above, baud rate of the ESP is very important and each firmware version has decided upon a different rate. So many of them need to be manually set as the sketch requires only 9600 and no other rate.

If you are still struggling when you have fixed the baud and flashed an approved f/w version post your “Mega” sketch.

Thanks for the answer. I’m just trying that with simple espshield example. I’ve looked at that page already. Also i can’t set baud to 9600, because when i do so, the esp hangs, blue led stays lit and it doesnt respond to messages. I need to reflash. Why I cant use 115200 baud? I’m using HW serial on Mega. Also the example sketch use 115200 baud.

The sketch was updated 10 days ago as shown at https://github.com/blynkkk/blynk-library/commit/b359119ffa74094bb988384d3be22af07f906434 but that commit was just changing the comments regarding the baud rate. In the version of the shield sketch I have (not that old) the baud is 9600 but now shown as 115200 in GitHub.

So it looks like Blynk have updated everything so yes you can try 115200.

@vshymanskyy your guidance notes for AT at https://github.com/blynkkk/blynk-library/wiki/ESP8266-with-AT-firmware refer to 9600 baud and your latest Shield sketch has Mega connecting at 115200. Which is correct?

Thanks I’ll try. Do you know where can i find list of all firmware bin files? I’m struggling with finding FW v1.1

Guys, if you use SoftSerial, it won’t work @ 115200 most probably, you have to use lower speed.
It’s not a limitation of Blynk.

@vshymanskyy but 115200 is ok for Mega hardware serial, right?

Exactly. Maybe even faster rates will work.

Hmmmm. This is what i get when restarting the esp

AT+RST

OK
WIFI DISCONNECT

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

load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0

2nd boot version : 1.4(b1)
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000

ŚĂŐ�MEM CHECK FAIL!!!
d{$Ź‚sú
Ai-Thinker Technology Co. Ltd.

invalid
WIFI CONNECTED
WIFI GOT IP

No.

How much memory does your ESP-01 have (there are at least 2 types) and what values have you set in the IDE?

How are you powering the ESP (Arduino power will flash the ESP but it will not run any code in a stable manner).

I assume (from googling part name) that i have 8Mbit one. I’m running it with LDO regulator and TTL voltage level shifter. Which IDE do you mean?

Arduino IDE, but as you are using AT it will not apply.

TTL’s normally make bad power supplies.

Pretty much thats only a pair of trasistors on RX and TX line. I got that from friend:

@wiipro really liking the look of that adapter. It might even persuade me to look at shields again.

Do you have a link as I actually have a shield project to complete?

Where is the power source coming from?

Here: Ebay
I’m powering it straight from arduino 5V.
BUT you’ll still need to pull CH_PD high to get it work.

Thanks, I have found 10 off at $1.15 each including delivery.

Personally I don’t think the 5V Arduino feed is adequate to power the ESP-01’s.

I think I can probably add a microswitch to set CH_PD high.

Sure, but if you use only esp on 5V rail, it should handle 300mA. I’ve just hardsoldered a piece of wire to pin 1&3. Maybe comrades from china will release new version with jumpers soon :smiley:

I have patented it :slight_smile:
Do you think 300mA is enough as I think the ESP’s (especially the cheapo 01’s) can pull much more than this?

Do you think 300mA is enough as I think the ESP’s (especially the cheapo 01’s) can pull much more than this?

Well, I haven’t measured it, but I just read somewhere that it takes 300mA at some time. Also I’ll use 7805 in final project, so i think that should work.