- First generate 3.3v using LD33 voltage regulator and 7805 to get 5v.
- Connect GPIO0 to ground, vcc to 3.3v and gnd pin to ground.
- Connect the RX pin of ESP8266 to RX of arduino and TX to TX.
- Now connect the power supply and then connect the ch_pd to 3.3v (after connecting the battery).
- Now click on Bin and select v0.9.2.2 AT Firmware.
- Now set the address to 0x40000080 from 0x00000.
- Now click on download.
- After this is done we have updated our esp8266 with this v0.9.2.2 AT Firmware.
- Now we proceed with checking the AT commands after changing the circuit to this.
AT COMMANDS
|
OUTPUTS
|
AT
|
RETURNS OK
|
AT+CWMODE=3
|
RETURNS OK OR NO CHANGE IF ALREADY SET
|
AT+CWLAP
|
LISTS ALL THE AVAILABLE WIFI IN THE RANGE
|
AT+CWJAP=”WIFI_NAME”,”WIFI_PASS”
|
CONNECTS TO THE WIFI
|
AT+CIFSR
|
RETURNS THE IP ADDRESS OF ESP AND WIFI
|
If all the commands are working as described then we can start with our next step of programming the arduino to send data of sensors to our ThingSpeak server.
No comments:
Post a Comment