I recently bought an ESP8266 (ESP-01s). When I first connected it to Arduino,AT commands showed. Then when I uploaded other code,the commands stopped showing. I flashed it using many flashing tools and firmwares and the flashing was successful but AT commands still not showing. ESP is not responding to any code I execute in Arduino.
Asked
Active
Viewed 60 times
1 Answers
1
This is a common problem with newcommers to the ESP8266. It ships with AT commands working and as soon as you try putting your own code on it the AT commands stop working.
Well, of course they do.
The AT commands aren't something the ESP8266 does. It's something the software installed on the ESP8266 does, and you just deleted that software and put your own software on.
You can either have AT commands (by installing the correct AT firmware for your board) or run your own software on it - not both (unless, of course, you write your software in such a way that it responds to AT commands, but that's a completely separate thing...)
Majenko
- 105,851
- 5
- 82
- 139