ESP8266 Tutorial AT Commands | Connect with Open Weather Map API's
ฝัง
- เผยแพร่เมื่อ 16 ก.พ. 2021
- 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.
embeddedlaboratory.blogspot.c...
or watch the video
• Update the AT Firmware...
Also check my Blog and TH-cam 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 - amzn.to/3jpop0d
* USB to UART Converter - amzn.to/2MYgafE
Blog Link:
embeddedlaboratory.blogspot.com
TH-cam Channel:
/ embeddedlaboratory
Facebook Page:
/ embeddedlaboratory
Email Id:
laboratory.embedded@gmail.com
Skype ID:
embedded.laboratory
A constant flow of useful information. Great video thank you for making it!
Great Video. It had exactly what i needed to connect to weather and get local temp. :)
Thanks, I also automated this using Arduino and displayed data on OLEd
th-cam.com/video/gWQxuI-oCUU/w-d-xo.html
Might be useful for you
The most benefical video in the world.
👍
👍👍
Good stuff
Glad you like it!
Do you know how to make HTTP post using AT command. I try many times. But always get 400 Bad request : Your browser sent an invalid request.
Do u got any solution
@@pythonwallah5792 nope. I change method already. Surrender to AT Command.