Below are some example input (shown in bold font) and. The AT commands are pretty well documented on this page.
Then you can use a list of AT commands to talk to ESP8266. If you need to see the bootloader’s output, you have to open the serial port at 76800 bps. Then open a serial monitor (such as gtkterms in Linux and putty in Windows) with 11520 baud rate (my ESP8266 seems to be set to 115200 bard rate earlier versions use 57600). If you still want to check the firmware version, repeat the steps above trying different speeds ( 9600 bps is a good starting point). If you send the command AT (without the quotes) to the board from the PIC to the ESP8266 you should receive an OK response from the ESP8266. You just connect the TX/RX lines and send text commands over the serial port. If that’s the case, your ESP8266 is most probably running a very old firmware, and you should proceed with updating the firmware. The ESP8266 can be controlled by any micro that can do serial (UART) communication using AT commands. HINT If you see unreadable characters in the terminal window, it means that the baud rate of your ESP8266 is not correct (e.g. The reference documentation (and examples) for AT commands can be found here. Step 2: Set the Communication speed to 115, 200 baud.
The firmware version should appear in the terminal window, as illustrated below. Command number 4 depends on your ESP8266-01 firmware version, if this command doesn’t work with you AT+CIOBAUDto check the firmware version, you need to type AT+GMR, ENTER and.
Recent firmware versions set the baud rate to 115200 bps by default, so if your chip is set to communicate at a different speed, you probably need to update the firmware.ģ After the serial port is open, type AT commands, followed by ENTER and. HINT Depending on your firmware version, the baud rate of the ESP8266 chip is usually set to either 9600 bps or 115200 bps. Although it can be programmed like any microcontroller, the ESP8266s popularity was gained as a simple, serially-controlled WiFi gateway.Using an AT command set, any microcontroller with a UART can use the ESP8266 to connect to WiFi networks, and interact with the rest of the Internet world over TCP. In the Serial line text box type the COM port of your FTDI programmer (e.g. The ESP8266 is a popular, inexpensive WiFi/microcontroller system-on-chip (SoC). checking firmware version)Ģ Start PuTTY, click on the Serial radio button.
The circuit looks like this:ĭownload PuTTY terminal (putty.exe) from here, save it on your local disk. In our setup, we used a 5V FTDI programmer and a voltage regulator to power the board. The 2 wires at the bottom (IO0, IO2) are not needed/should be removed.
SEE ALSO This post, for step by step instructions on how to flash a new AT Commands firmware to your ESP8266 module. for checking the version of the firmware, or for more advanced understanding and debugging operations. This may be useful for various usages, e.g. You will be able to write AT commands and see the output. This posts shows the steps needed in order to communicate with the ESP8266 module from the PC, using PuTTY.