Monday, 23 May 2016

FLASHING AND RUNNING AT COMMANDS ON ESP8266


  1. First generate 3.3v using LD33 voltage regulator and 7805 to get 5v.
  2. Connect GPIO0 to ground, vcc to 3.3v and gnd pin to ground.
  3. Connect the RX pin of ESP8266 to RX of arduino and TX to TX.
  4. Now connect the power supply and then connect the ch_pd to 3.3v (after connecting the battery).
  5. Now open the ESP8266_flasher and set the correct COM port to which the arduino is connected.
  6. Now click on Bin and select v0.9.2.2 AT Firmware.





  1. Now set the address to 0x40000080 from 0x00000.

  1. Now click on download.




  1. After this is done we have updated our esp8266 with this v0.9.2.2 AT Firmware.
  2. Now we proceed with checking the AT commands after changing the circuit to this.



BEFOREFLASH.png
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

in m mf mv fm mvf dmv mfv fv dfv fdvd