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”.
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.
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
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.