In this course, we will show how to check the esp module information by AT command using Arduino.
1).please plug OSOYOO MEGA-IoT Extension Board into MEGA2560 board:
2). connect A0 to 5V by Male to Male jumper wire. (Jumper Cap should connect ESP8266 RX with A8, TX with A9)
|Download Arduino IDE here:
|7 zip is a free zip
utility that un-zips zip files
|Download 7zip here for free
Step 1 Install latest Arduino IDE (If you have Arduino IDE version after 1.1.16, please skip this step).
Download Arduino IDE from https://www.arduino.cc/en/Main/Software?setlang=en, then install the software.
Step 2 OSOYOO MEGA-IoT extension TX/RX pin to Arduino A9/A8 pin by default. So in Arduino sketch code, we need use Software Serial Port to communicate with ESP8266 (set A9 as TX and A8 as RX in softwareserial object).
Step 4 Download the main code from following link.unzip the download zip ESP_AT_COMMAND_ARDUINO.zip, you will see a folder called ESP_AT_COMMAND_ARDUINO.
Step 5 After above operations are completed, connect OSOYOO MEGA2560 Board to PC with USB cable.
Step 6 Open the Arduino IDE and choose corresponding board type and port type for you project.
Step 7 Arduino IDE: Click file -> click Open -> choose code “ESP_AT_COMMAND_ARDUINO”, load up the sketch onto your Arduino.
Step 8 After code upload down, downlaod and unzip the Aithinker Serial Tool, then open this tool software, you will see as below.
Step 9 Choose the corresponding PotNum and Baudrate, Click Open Serial
Step 10 Click the AT command number on the right side of the software interface, and you will see the corresponding result in the left receiving column.
If the above operations are successfully completed, it proves that the connection between arduino and the esp module is successful. For more AT commands of esp8266, you can refer to https://www.espressif.com/sites/default/files/documentation/4a-esp8266_at_instruction_set_en.pdf
DownLoad Url osoyoo.com