Cheap and Easy WiFi (IoT) Tutorial Part 1 - ESP8266 Setup/Intro


Author: Kevin Darrah
678575 View
31m 28s Lenght
2926 Rating


Thanks to all the Patrons for dropping a few bucks in the tip jar to help make these videos happen! https://www.patreon.com/kdarrah In this video I'll show you how to get started with the ESP8266; wiring it up, flashing FW, and establishing a TCP connection to a data server so you can post/retrieve data to/from your microcontroller. Don't forget about part 2 and 3! Electrodragon Reference: http://www.electrodragon.com/w/Wi07c Firmware Location: https://drive.google.com/folderview?id=0B3dUKfqzZnlwRjFaNTUzZFptbzg&usp=drive_web I uploaded the flasher tool here, in case you can't find it: http://www.kevindarrah.com/micro/ESP_part3/ESP8266_Flasher_Tool.zip Adapter Board: https://www.youtube.com/watch?v=TbL53nk8OIw Just search eBay for "ESP8266" to find the module The Thingspeak Data Server I demo'ed: https://thingspeak.com Yahoo Query Language: https://developer.yahoo.com/yql/console/ Original Hackaday Article (how I found out about it) http://hackaday.com/2014/08/26/new-chip-alert-the-esp8266-wifi-module-its-5/ Twitter: https://twitter.com/KDcircuits Proudly offering products through MKLEC: http://mklec.com/project-kits/kd-circuits For inquiries or design services: http://www.kdcircuits.com


Comments

  1. Great video thanks.
    Question. I have got the method of getting data working. BUT some websites its hard to get the data I want.
    example- this web site- http://www.metservice.com/towns-cities/auckland/auckland-central
    I cant get current wind speed or gusts data. I get errors from API url of wrong parsing OR nothing shows up when I enter the thingHTTP request into browser.
    Thanks John
  2. AT + "Thank you"
    AT + " :) "
  3. Thanks for this, really helpful.
  4. you lost me when you started using the imperial system
  5. hi Kevin and anyone else subscribed, I'm using a esp 01 and awaiting ftdi device from eBay, I'm copying the at commands and trying to connect to Google, I just get message like 35 bytes sent and I don't get any response back, is it because Google redirects to https? can someone suggest a http site to connect to, thank you in advance, ultimately I want to monitor and control aquarium but I want to learn step by step I don't want to download of the shelf code without having a general idea of what is going wrong, ps I'm powering 3.3 by two resistor v/ and left tx and rx at 5v
  6. Anyone know of a similar platform like thing speak that allows the data to be stored in table form rather than a graph?
  7. how does he have only 64k subs ?! his channel is awesome, and greatly comparable to great scott! 's channel. You have a sub from me @Kevin Darrah you deserve it
  8. why the crap would anyone want to learn this, this is like bringing back DOS
  9. Really want to take the time to say thanks for making this video. I only started playing with the ESP8266 (ESP-01) a few months ago and have had nothing but trouble with doing firmware flashes with the Espressif tool. This tutorial got me in touch with some new resources I wasn't aware of and hadn't been able to find on my own. I'm glad to report I've finally had my first successful exchange over serial with this guy via AT commands. Finally the hair-pulling can end and I can get to work on some projects I've had in mind. Cheers and thanks again!
  10. Hi! Thank you for the very helpful tutorials! I have been trying to receive data on my ESP8266s using Thingspeak, but every time I receive the following messages:

    The commands I used:
    AT+CIPSTART=1,"TCP","api.thingspeak.com",80
    1,CONNECT
    OK

    AT+CIPSEND=1,98
    OK

    > GET https://api.thingspeak.com/apps/thinghttp/send_request?api_key=1YT9TWCSC49F5KV9 HTTP/1.0
    Recv 98 bytes
    SEND OK

    The response I receive:
    +IPD,1,447:HTTP/1.1 501 Method Not Implemented
    Date: Mon, 06 Feb 2017 22:20:51 GMT
    Server: Apache
    X-DNS-Prefetch-Control: off
    Allow:
    Content-Length: 232
    Connection: close
    Content-Type: text/html; charset=iso-8859-1

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>501 Method Not Implemented</title>
    </head><body>
    <h1>Method Not Implemented</h1>
    <p>GET to /apps/thinghttp/send_request not supported.<br />
    </p>
    </body></html>
    1,CLOSED

    Any suggestions as to what might be wrong?
  11. can you help me ou on a internet controll dog collar.. i can see my dog on my cameras always get into stuff if i could somehow hit a button to send a signal to his collar to shock him he would stop
  12. Hi I want to know that can we use esp8266 - 01 as smd component
  13. can i use this chip without an extra micro controller since it has a soc ?
    i want to run a single sensor via I2C and send data via wifi to a pc .
  14. Hi, your videos are great ! I found this series and I will take time to listen to your videos on the ESP8266 Setup/Intro but, just to be sure, I would like to send an SMS message through this module, do you cover that topic ? Thanks
  15. wifi communication is not iot.... iot devices must use lpwan via low frequency radio wave like unb or lora ....
  16. Hello Kevin,

    I am working with esp8266 where i am receiving data through "esp8266" from a server using putty.
    The problem I am facing is that when I am sending data to esp8266 through server I am not receiving all the data in the string.
    for eg:-
    if I am trying to send "helloworld" through server, I am only getting "hello" in my string.

    my received string should contain "helloworld" the full data, but that is not happening.
    Can anyone help why this is happening?
    This is the process I've followed with esp8266 communicating via UART
    AT
    AT+CWMODE=1
    AT+CIPMUX=1
    AT+CWJAP="USSID","PASSWORD"
    AT+CIFSR (HERE I AM GETTING IP address of esp8266)
    AT+CIPSERVER=1,PORT NUMBER


    I am connecting to server using IP address of esp8266,

    Thank you in advance.
  17. What are the capacitors for? What are their sizes?
  18. transistor 5V->3.3V is wrong
  19. Thanks Kev. Interesting stuff.
  20. thanks, pretty job, you look handsome