Video není dostupné.
Omlouváme se.

Control an LED from a Mobile App using Access Point Mode (AP).

Sdílet
Vložit
  • čas přidán 2. 05. 2020
  • This video shows how to Control an LED from a Mobile App using Access Point Mode (AP)..
    NodeMCU work as Access point and Mobile app as a Station.
    Download Code from link bellow :
    drive.google.com/open?id=1RMz...
    follow me on :
    Instagram -- / embeddedgate
    Facebook -- / embedded.gate
    Twitter -- / embeddedgate
    Pinterest -- / embeddedgate
    Tumbler -- www.tumblr.com/blog/embeddedgate
    Subscribe to channel for latest contents into your inbox.
    Thank You.

Komentáře • 150

  • @wandersonsilva-fx1cs
    @wandersonsilva-fx1cs Před rokem +1

    Mr. I want to thank you for your class! to what end I'm starting to understand app inventor.
    I look forward to new classes. Thank you!

  • @ireshjayawaradana5158
    @ireshjayawaradana5158 Před 3 lety +5

    thanks..was looking for this all over the internet

    • @lionlion4761
      @lionlion4761 Před 2 lety

      hows your experience sir did you make it plz share yours feed back ill try to make it this sir but stii not to done

    • @ireshjayawaradana5158
      @ireshjayawaradana5158 Před 2 lety

      @@lionlion4761 yes. it worked well. as in the video

  • @datuamasputra5416
    @datuamasputra5416 Před 3 lety +1

    Thank sir..
    Iam from indonesia

  • @iotiqinnovations
    @iotiqinnovations Před 7 měsíci

    Great explanation thanks alot for such videos
    please upload as much as possible....

  • @amirbayati1517
    @amirbayati1517 Před 2 lety +1

    Very very nice👍

  • @safwankamboh9860
    @safwankamboh9860 Před rokem

    Great video.

  • @tech_travel_europe
    @tech_travel_europe Před 4 lety

    Superb

  • @Jiggiedeleon
    @Jiggiedeleon Před rokem

    Nice vid, works on my esp8266 and 4 ch relay, i just change the pin. Can you teach me how to make it a multiple switch and make other relays work? TIA

  • @younova139
    @younova139 Před 3 lety +1

    YOU ARE GREAT ♥

  •  Před 2 lety +1

    In my case it doesn't work, I'm using esp8266-12 like yours, I did the same procedure in the inventor app, I downloaded your code and followed all the steps, it connects, but if I press the buttons nothing happens, no error message, this connected, but does not turn on the LED

  • @Dr_Khanz
    @Dr_Khanz Před 3 lety

    Great video.
    There are no videos showing esp8266 as access point to connect LEDs. Most of them shows as stations via another router.
    Can we add LED strip( 5V,2A) in this?
    Can u please make a brightness modification option in the app. It will be super awesome 🔥

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety +1

      Thank You for your comment. Yes we can add LED strip in this project. I will try to make project on your requirement.

    • @Dr_Khanz
      @Dr_Khanz Před 3 lety

      @@EmbeddedGate 😍😍

  • @zeoka4045
    @zeoka4045 Před 3 lety

    Nice work, i watched ur changing led brightness and it's really great, can you pleas help me do the same but without server I mean like this project, thanks

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety

      Yes.

    • @zeoka4045
      @zeoka4045 Před 3 lety

      @@EmbeddedGate thank you very much, i really appreciate your response, how may i contact you.

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety

      Instagram link is available in the video description

  • @yudistra5455
    @yudistra5455 Před 3 lety

    If i close the app.
    This will return to the initial view or not?
    Thanks

  • @motaher366
    @motaher366 Před rokem

    that's such a great video! but in my case i have a problem, because im using ESP32 and the verification shows an error
    can you tell me how to solve my problem please
    thank you.

  • @Geni_Here-.-
    @Geni_Here-.- Před 7 měsíci

    Great tutorial, bit can I using micropython for MIT APP Inventor?

  • @hardwareboy5079
    @hardwareboy5079 Před 3 lety

    hi can you help me
    It works from normal browsing, but in the application it gives me an error 1001

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety

      Hello. Make sure your mobile wife is connected to nodemcu

  • @fatehbba2957
    @fatehbba2957 Před rokem

    Can you help me. I want to download the code to control two lights. Thank you very much. Please reply

  • @fatehbba2957
    @fatehbba2957 Před rokem

    When I press ON, two lamps light up together. I want the code. Thank you

  • @lionlion4761
    @lionlion4761 Před 2 lety

    Hi
    sir done Excellent job i try to make it but cant work
    codes are intalled but no ip address show on serial monitor
    and MIT app does,t intalled in My HuAWEI cell phone
    help me sir
    with great thanks

  • @CodingHats
    @CodingHats Před 3 lety

    If we connect the node mcu and the mobile device on different network then will the LED glow or not?

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety

      No. In Access point mode both the devices must in the same network.

    • @CodingHats
      @CodingHats Před 3 lety +1

      OK thank you Embedded Gate

  • @sitarambhore204
    @sitarambhore204 Před 3 lety

    Your code is not flashing into esp8266-01 showing error for led DO

  • @vimalmer412
    @vimalmer412 Před 3 lety

    i have downloaded all library with named ESP8266WiFi.h but when i compile it says to install the library. so what i have to do

  • @onertan1501
    @onertan1501 Před rokem

    Good job.
    I have a question. why should we write html codes. already we made buttons in Mitt app?
    and, how can i make a slider, making slider becomes much harder like this way.

    • @EmbeddedGate
      @EmbeddedGate  Před rokem

      HTML code is for base station. Same procedure for making sliders.

  • @fatehbba2957
    @fatehbba2957 Před rokem

    Thanks for the reply, but if I work on 8266, when I upload the code to Notes, it's scratched that I don't know the reason.

    • @vipulmore7352
      @vipulmore7352 Před rokem

      Is there any error?

    • @fatehbba2957
      @fatehbba2957 Před rokem

      Can you help me. I want to download the code to control two lights. Thank you very much. Please reply@@vipulmore7352

    • @antanibass
      @antanibass Před rokem

      change led port in D2

  • @tubegallery9778
    @tubegallery9778 Před 8 měsíci

    so in the string header we should give our IP right?

  • @Dhruvstar_4
    @Dhruvstar_4 Před 7 měsíci +1

    Could you make it using Port Fowarding?

  • @377_dipanjan_bakshi8
    @377_dipanjan_bakshi8 Před 3 lety

    can you please explain what are you trying to do here how are you changing the led status to go on and off in the code and the html part to please

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety

      I have created html page in Arduino code.

    • @electroman1556
      @electroman1556 Před 3 lety

      @@EmbeddedGate can you make us code for esp8266 with link sir? from app to esp8266 sir?

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety

      @@electroman1556 Didn't understand your question?

  • @botak333
    @botak333 Před 3 lety

    This is posible for esp8266-01 sir???
    And posible control 3 led sir??
    Wich program should be change??
    (On code.ino html code should be change sir)

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety

      yes, this is possible using esp8266-01. you can control 2 GPIO using esp8288-01. To control more than 2 GPIO use I2C based port expander.

    • @botak333
      @botak333 Před 3 lety

      @@EmbeddedGate mybe what ic expander sir??

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety

      MCP23017

    • @botak333
      @botak333 Před 3 lety

      @@EmbeddedGate alright sir. Thank you🙏

    • @electroman1556
      @electroman1556 Před 3 lety

      @@EmbeddedGate can give us a code that connect with esp8266 with edit ip address sir?

  • @AdiSaputra-ys4bv
    @AdiSaputra-ys4bv Před 2 lety +1

    I do this with ESP32 and change the library with WiFi.h..its run normaly until i press the ON/OFF button, the app show "Error 1101 : unable to get respons **bla.bla.bla* " even though the connection is good,, what's wrong with that ?

    • @EmbeddedGate
      @EmbeddedGate  Před 2 lety

      Please share your code.

    • @AdiSaputra-ys4bv
      @AdiSaputra-ys4bv Před 2 lety

      i'm done with that bugs,, i wondering how do this on figma or flutter,,can u make tutorial for that?

    • @tradingview5363
      @tradingview5363 Před rokem

      @@AdiSaputra-ys4bv Hello Sir...Can you tell me how you got over that bug?

  • @MaxGoddur
    @MaxGoddur Před 3 lety +3

    Need narration in clear voice music makes me move on to find a video with a clear voice and no music.

  • @aryaroy5238
    @aryaroy5238 Před 3 lety

    Can this app work in iOS devices as well please reply it's urgent??

  • @johndoolan8044
    @johndoolan8044 Před 9 měsíci

    Hello, Can you please supply link for the Include Library?

  • @addwadi4659
    @addwadi4659 Před 3 lety

    I have a little problem. In my case, wifi name is random, and there is no password. I tested it on two different esp What's the problem?

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety

      press the flash button on nodemcu for 5 sec.

  • @chinmaydeshpande4910
    @chinmaydeshpande4910 Před 4 lety

    Can we connect two mobiles to this at a time and control it from both mobiles at a time?

    • @EmbeddedGate
      @EmbeddedGate  Před 4 lety

      yes we can connect number of mobile.

    • @BilalKhan-do9il
      @BilalKhan-do9il Před 3 lety

      @@EmbeddedGate can we send signal to many esps from a single mobile, also if you can provide your whatsapp no , i want to ask something related to it

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety

      ​@@BilalKhan-do9il . Please share your mail id.

    • @BilalKhan-do9il
      @BilalKhan-do9il Před 3 lety

      @@EmbeddedGate kb9829422@gmail.com

    • @BilalKhan-do9il
      @BilalKhan-do9il Před 3 lety

      @@EmbeddedGate sir please reply!

  • @gameonly9918
    @gameonly9918 Před rokem

    JELEBUUUUUUUUUUU

  • @sitarambhore204
    @sitarambhore204 Před 3 lety

    Pl. Share this wifi ap mode video for esp8266-01

  • @vimalmer412
    @vimalmer412 Před 3 lety

    is it run on esp32 wroom 32

  • @sitarambhore204
    @sitarambhore204 Před 3 lety

    Your code is not flashing into esp8266-01 showing error for led DO pl. help

  • @fatehbba2957
    @fatehbba2957 Před rokem

    How can I extract the MIT APP code to the Arduino, please?

    • @EmbeddedGate
      @EmbeddedGate  Před rokem

      Arduino is not supported by IoT. If you want to use Arduino then you need to interface ESP8266 with the Arduino.

  • @muhammadhaziqmifzalbinrusl1589

    can it be used on Iphone?

  • @redenmoradz803
    @redenmoradz803 Před 2 lety

    Can you do two way communication with this?

    • @EmbeddedGate
      @EmbeddedGate  Před 2 lety

      Yes.

    • @redenmoradz803
      @redenmoradz803 Před 2 lety

      @@EmbeddedGate do you already have a sample code for that?... I need it so bad

    • @redenmoradz803
      @redenmoradz803 Před 2 lety

      @@EmbeddedGate I really beg you to make a tutorial about that too sir or maybe just send me the arduino sketch and the .aia file for mit app inventor. I do really Love your projects and it really does help me with my projects too.

  • @pamikiran0158
    @pamikiran0158 Před 2 lety

    Bang klo buat 4 button gmn caranya

  • @saadatkarimova2471
    @saadatkarimova2471 Před 3 lety

    when i connect its wifi, it says "Connected, no internet". Please help me what's wrong?

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety

      connect mobile to wifi first and then open the mobile app.

  • @rohankamat4863
    @rohankamat4863 Před 3 lety

    Can we do it for many buttons
    Because i made an app with 12 buttons but the error is 'duplicate declaration of button 1"

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety

      Yes, you can attach several switches.

    • @rohankamat4863
      @rohankamat4863 Před 3 lety

      @@EmbeddedGate My arduino software is showing error - "failed to co nnect with esp8266"

    • @rohankamat4863
      @rohankamat4863 Před 3 lety

      "Time out waiting for packet header " This type of error

    • @rohankamat4863
      @rohankamat4863 Před 3 lety

      Showing error while uploading

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety +1

      Press reset switch while uploading code

  • @rainbowforest09
    @rainbowforest09 Před 2 lety

    I can't find my access point SSID on my phone. What should I do?

    • @EmbeddedGate
      @EmbeddedGate  Před 2 lety

      Upload simple led blink code. Make sure your board is working.

    • @rainbowforest09
      @rainbowforest09 Před 2 lety

      @@EmbeddedGate it's works with blink code. Any solution?

  • @islamiduniya3824
    @islamiduniya3824 Před 3 lety

    Hi
    While my node wifi not connected the app give me an error.... The problem is this I want to show another error msg
    I don't want to show this error with ip address

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety

      Hello, Make sure your mobile hotspot is connected to NodeMCU.

    • @islamiduniya3824
      @islamiduniya3824 Před 3 lety

      @@EmbeddedGate Sir I want to say that..... I want create my own problem text and also want to set the time of this error message

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety

      No, we can't do that.

  • @pravindasarkar788
    @pravindasarkar788 Před 3 lety

    use my nodemcu ip but not working..please help me out

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety

      what is the error?

    • @pravindasarkar788
      @pravindasarkar788 Před 3 lety +1

      @@EmbeddedGate dont have any error..in app shows error for response..but i provide ko address of nodemcu

    • @EmbeddedGate
      @EmbeddedGate  Před 3 lety

      @@pravindasarkar788 uploads first data manually.

  • @saschakube
    @saschakube Před rokem

    hallo wie kann ich noch noch 5 weitere lichter im code hinzufügen

  • @stypsydee5738
    @stypsydee5738 Před 4 lety

    not working, it says unable to get response at url

    • @EmbeddedGate
      @EmbeddedGate  Před 4 lety

      have you check manually without mobile app.

  • @rohankamat4863
    @rohankamat4863 Před 3 lety

    Showing error while uploading please help

  • @ahmadanzor6524
    @ahmadanzor6524 Před 2 lety

    there is no static ip code there, but how come the ip can be static?
    try asking for an explanation?

    • @EmbeddedGate
      @EmbeddedGate  Před 2 lety

      English please

    • @ahmadanzor6524
      @ahmadanzor6524 Před 2 lety

      there is no static ip code there, but how come the ip can be static?
      try asking for an explanation

  • @chinmaydeshpande4910
    @chinmaydeshpande4910 Před 4 lety

    Offline work karta hai kya?

  • @LedPixelAnimator
    @LedPixelAnimator Před 4 lety

    Not working

    • @EmbeddedGate
      @EmbeddedGate  Před 4 lety

      +Led Pixel Animator . check IP address of your NodeMCU.

  •  Před 2 lety

    On the computer it works, but on the smartphone it doesn't, aren't you forgetting to explain something maybe?

  • @LedPixelAnimator
    @LedPixelAnimator Před 4 lety

    ip Adress Error

    • @CodingHats
      @CodingHats Před 3 lety

      choose the ip address of your node mcu and then try once again

    • @taranpreetsingh6666
      @taranpreetsingh6666 Před 2 lety +1

      @@CodingHats HOW TO CHECK IP ADDRESS OF NODEMCU

  • @sitarambhore204
    @sitarambhore204 Před 3 lety

    I am using esp8266-01 but it come with error for coding it shows led Do not state

  • @fatehbba2957
    @fatehbba2957 Před rokem

    void setup()
    {
    pinMode(LED_Pin, OUTPUT);
    pinMode(LED_Pin, OUTPUT);
    boolean conn = WiFi.softAP(AP_NameChar, WiFiPassword);
    server.begin();

    } // void setup()


    void loop()
    {

    // Check if a client has connected
    WiFiClient client = server.available();
    if (!client) { return; }

    // Read the first line of the request
    request = client.readStringUntil('
    ');
    if ( request.indexOf("LEDON") > 0 ) { digitalWrite(LED_Pin, LOW); }
    else if ( request.indexOf("LEDOFF") > 0 ) { digitalWrite(LED_Pin, HIGH); }
    request = client.readStringUntil('
    ');
    if ( request.indexOf("LEDON") > 1 ) { digitalWrite(LED_Pin, LOW); }
    else if ( request.indexOf("LEDOFF") > 1 ) { digitalWrite(LED_Pin, HIGH); }


    client.flush();
    client.print( header );
    client.print( html_1 );
    client.print( html_2 );
    client.print( html_3 );
    client.print( html_4);

    delay(5);
    // The client will actually be disconnected when the function returns and 'client' object is detroyed

    } // void loop()

  • @laddinimby
    @laddinimby Před 2 lety +2

    Superb

  • @farwakhan878
    @farwakhan878 Před měsícem

    Hello sir whenever i move to mobile app i get an error 1101 unable to get the response with the specified url?