Introduction: The First Usage of ESP8266 With Arduino Uno
Today, I am going to show you that how can we prepare our module ESP8266 to be used with Arduino UNO.
The need list:
1. Arduino UNO (With USB cable which attached to your computer via USB cable, also it will use it's voltage)
2. Your computer (If you can read this instruction, it means, you have got a computer)
4. Connection Cables for between Arduino UNO and the module ESP8266
Step 1: The Connection Between Arduino UNO and ESP8266 With Cables
On this step, the connections can be learnt from the picture. You can use tiny cables to make the connections got happened. When you confused, you can use breadboard to make it short-circuited.
NOTE: If you got an error while doing "AT" test, please disconnect red cable according to picture two. Because this cable is used when we want to update the firmware of ESP8266 module.
Step 2: On Your Computer Configurations
To be sure that you have Arduino IDE on your computer is loaded before. If not, download Arduino IDE. Then, connect your Arduino UNO to your computer with your USB cable. Notice the COM port related to your board which is automatically defined by your computer. On Arduino IDE, select your board name as Arduino UNO from Tools bar. Then select your COM port name below it.
Don't care about codes on your screen. But, for next, open Serial Monitor on right-top panel. Select Both NL & CR then choose 115200 as baud rate.
If you made every connection one-by-one, on command area type this code and get return "OK" after. your code is:
AT
After the code is written, you will see "OK". That's super! It is working. Your connections are well connected and your module is working.
Attachments
Step 3: Change ESP8266's Baud Rate
On Arduino IDE's Serial Monitor type this code:
AT
If you got "OK", type this code:
AT+CIOBAUD=9600
This makes your ESP8266 is now works with 9600 Baud Rate.
Step 4: Update ESP8266's Firmware
On the second step, I shared the connections guide for you. According to this guide, we can upgrade/downgrade the firmware of ESP8266. Download the .rar file from the attachment. You will see an .exe program, run it. And fill it as the picture which is attached on this step. The firmware is ending with .bin extention.
Change the second 0x00000 as 0x40000080 this is necessary.
When you are ready, click on download button. Then close the program when you are done on %99 with a don't cared warning.
.
That's all !
Attachments
Step 5: BONUS: Reading This Instructable
NOTE: This instructable's step is aimed for visually impaired people to hear the sentences to learn what's going on here. Watch the video, it explains all steps.