ESP8266 Custom iOS App: Control IoT Hardware From Your iPhone!



This video will show you how to program an ESP8266 Serial to Wi-Fi module to run a web application that will control two LEDs in response to requests over http …

source

Recommended Posts
Showing 12 comments
  • Julio Ryuuzaki
    Reply

    Beautifully explained thank you so much, you made this so simple and easy to follow, love it!!

  • Antonio Sandubete
    Reply

    Impressive tutorial. Just one question. How can we send information from a sensor connected to the esp8266 to the iPhone?. Thanks in advance

  • zheil9152
    Reply

    Any way you can make a homekit app integration video? Would like to make certain things in my house automated using wifi micro-controller boards and the home app

  • harshal agrawal
    Reply

    I am just trying to simply turn on and off leds at pin D1 and D2, but it doesnt seem to work. When i load my program to turn on board led at pin 16, I could see onboard led blinking. This is my code –
    void setup() {
    pinMode(D1, OUTPUT);
    pinMode(D2, OUTPUT);

    }

    // the loop function runs over and over again forever
    void loop() {
    digitalWrite(D1, HIGH); // turn the LED on (HIGH is the voltage level)
    delay(1000); // wait for a second
    digitalWrite(D1, LOW); // turn the LED off by making the voltage LOW
    delay(1000); // wait for a second

    digitalWrite(D2, HIGH); // turn the LED on (HIGH is the voltage level)
    delay(1000); // wait for a second
    digitalWrite(D2, LOW); // turn the LED off by making the voltage LOW
    delay(1000); // wait for a second
    }

    leds are not damaged since i verified with arduino board. Please tell me if I am doing anything wrong here?

  • Tripple's Welt
    Reply

    Hi, I have xCode 8 – is there a difference vs. 7 – I have some issues when I "run" with the NSURL. App cannot be build 🙁
    See here: http://imgur.com/7CwWhNr

  • Ronald Swanson
    Reply

    Thanks I agree with the posts below your Tony The Tiger Grate

  • OYUN CAMBAZI
    Reply

    You are a very good teacher.
    Thank you.

  • Imtiaz Iqbal
    Reply

    You are a very good teacher.

  • K8UR Channel
    Reply

    So, I assume your iPhone has to 1) Select your WiFi SSID, pw entry before clicking on the iPhone App?
    2) Why not just open a browser in the iPhone, type in the IP address, program the webserver to serve up a page with a button on it, read your button input?
    That way, you can control the LED via anything with a browser? Why involve iPhone coding?

  • Rashad Glover
    Reply

    Can you change this app to work with a slider so we can see the value of brightness change?

  • Juan Molina
    Reply

    Any Windows version of this tutorial?
    Nice tutorial, Clear and plain explanation but Im not on Apple Platform. So sad.

  • Piero Donia
    Reply

    Hi! Whit this code xcode8 return many error! Please you can fix it!

Leave a Comment