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

ความคิดเห็น • 11

  • @ShizzleMyChizzle
    @ShizzleMyChizzle ปีที่แล้ว +1

    A constant flow of useful information. Great video thank you for making it!

  • @LucasIsBusy
    @LucasIsBusy 3 ปีที่แล้ว +1

    Great Video. It had exactly what i needed to connect to weather and get local temp. :)

    • @EmbeddedLaboratory
      @EmbeddedLaboratory  3 ปีที่แล้ว

      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

  • @seferideveloper6933
    @seferideveloper6933 ปีที่แล้ว +1

    The most benefical video in the world.

  • @electronic7979
    @electronic7979 3 ปีที่แล้ว +2

    👍

  • @FamilyRecipesVeg
    @FamilyRecipesVeg 3 ปีที่แล้ว +1

    👍👍

  • @smoua4588
    @smoua4588 ปีที่แล้ว

    Good stuff

  • @nutchanonkoommamuang5843
    @nutchanonkoommamuang5843 ปีที่แล้ว

    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.

    • @pythonwallah5792
      @pythonwallah5792 8 หลายเดือนก่อน

      Do u got any solution

    • @nutchanonkoommamuang5843
      @nutchanonkoommamuang5843 8 หลายเดือนก่อน

      @@pythonwallah5792 nope. I change method already. Surrender to AT Command.