In this section we will see how to use this tiny little still most useful module ESP8266. Main reason for the popularity of this module is I think its price and its features. It is easily and cheaply available in the market for just ₹ 250-300.
Things Required are:
- Arduino Board
- ESP8266 WiFi module
- LD33CV IC ( 3.3V regulator IC)
- Resistors (1k & 2.2k)
- Some connecting wires
STEP – 1
As this module is not breadboard friendly, you need to follow the steps shown below before using this module.
Cut a piece of prefboard, and first solder female connector as shown in the fig below.
After that, solder male headers on the opposite side of the prefboard. It would look something like this.
Now attach the module on to the converter.
With this, it can be easily connected on to the breadboard.
As this module works on 3.3V we need to use a 3.3V regulator IC (LD33CV) or you can also use 3.3V pin from your arduino board. Even the Tx pin of arduino will provide 5V signal to the module. Hence we need to step down the signal to around 3.3V before feeding it to the module.Connection of all this things is shown in the fig. below.
I have used the Rx1 and Tx1 of Arduino MEGA board. But you can even use the Rx and Tx pins. I have used this pins beacuse in my further WiFi projects, I have used TFT touch screen module, hence we won’t be able to use pin 0 and 1.
Open Arduino software and open Multi Serial Mega example and change the baud rate to 115200 and upload the code. Change the baud rate in serial monitor to 115200 and the mode to Both NL & CR.
Now communicate with this module by sending the AT commands in the Serial monitor and play with this module.List of AT commands are given in the PDF whose link is mentioned below.