ESP8266 Tutorial AT Commands | Connect with Open Weather Map API's

Опубликовано: 15 Октябрь 2024
на канале: Embedded Laboratory
5,661
103

This Tutorial is based on ESPRESSIF AT Firmware version 1.7.4, if you also want to update your firmware of ESP8266 WiFi Module, please have a link at the below blog post.
https://embeddedlaboratory.blogspot.c...
or watch the video
   • Update the AT Firmware in Your ESP826...  

Also check my Blog and YouTube channel for other projects and tutorials.

I am listing out all the commands below.
AT
AT+RST
AT+GMR
ATE0
ATE1
AT+UART_DEF=9600,8,1,0,0
AT+UART_DEF=115200,8,1,0,0
AT+CWMODE_DEF=1
AT+CWLAP
AT+CWJAP
AT+CWQAP
AT+CIFSR
AT+CIPMUX=0
// Connect with OpenWeatherMap
AT+CIPSTART="TCP","api.openweathermap.org",80$0D$0A
// Send Number of Bytes to Send
AT+CIPSEND=87$0D$0A
// Send HTTPS Get Request to get Weather information of London
GET /data/2.5/weather?q=London,uk&APPID=fbd756d6387c660e650b533ff585c70e&units=metric$0D$0A
AT+CIPSEND=87$0D$0A
GET /data/2.5/weather?q=Shimla,in&APPID=fbd756d6387c660e650b533ff585c70e&units=metric$0D$0A
AT+CIPSEND=86$0D$0A
GET /data/2.5/weather?q=Delhi,in&APPID=fbd756d6387c660e650b533ff585c70e&units=metric$0D$0A
AT+CIPSEND=89$0D$0A
GET /data/2.5/weather?q=new york,us&APPID=fbd756d6387c660e650b533ff585c70e&units=metric$0D$0A

Buy ESP8266 Module:
ESP8266 WiFi Module - https://amzn.to/3jpop0d
USB to UART Converter - https://amzn.to/2MYgafE

Blog Link:
embeddedlaboratory.blogspot.com
YouTube Channel:
   / embeddedlaboratory  
Facebook Page:
  / embeddedlaboratory  
Email Id:
[email protected]
Skype ID:
embedded.laboratory