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

  Переглядів 36,156

Embedded Gate

Embedded Gate

4 роки тому

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.

КОМЕНТАРІ: 148
@wandersonsilva-fx1cs
@wandersonsilva-fx1cs Рік тому
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 3 роки тому
thanks..was looking for this all over the internet
@lionlion4761
@lionlion4761 2 роки тому
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 2 роки тому
@@lionlion4761 yes. it worked well. as in the video
@yudistra5455
@yudistra5455 3 роки тому
If i close the app. This will return to the initial view or not? Thanks
@datuamasputra5416
@datuamasputra5416 3 роки тому
Thank sir.. Iam from indonesia
@iotiqinnovations
@iotiqinnovations 4 місяці тому
Great explanation thanks alot for such videos please upload as much as possible....
@Dr_Khanz
@Dr_Khanz 3 роки тому
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 3 роки тому
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 3 роки тому
@@EmbeddedGate 😍😍
@motaher366
@motaher366 Рік тому
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.
@Jiggiedeleon
@Jiggiedeleon Рік тому
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
@hardwareboy5079
@hardwareboy5079 2 роки тому
hi can you help me It works from normal browsing, but in the application it gives me an error 1001
@EmbeddedGate
@EmbeddedGate 2 роки тому
Hello. Make sure your mobile wife is connected to nodemcu
2 роки тому
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
@Jiggiedeleon
@Jiggiedeleon Рік тому
Same problem
@CodingHats
@CodingHats 3 роки тому
If we connect the node mcu and the mobile device on different network then will the LED glow or not?
@EmbeddedGate
@EmbeddedGate 3 роки тому
No. In Access point mode both the devices must in the same network.
@CodingHats
@CodingHats 3 роки тому
OK thank you Embedded Gate
@Geni_Here-.-
@Geni_Here-.- 4 місяці тому
Great tutorial, bit can I using micropython for MIT APP Inventor?
@fatehbba2957
@fatehbba2957 Рік тому
Can you help me. I want to download the code to control two lights. Thank you very much. Please reply
@fatehbba2957
@fatehbba2957 Рік тому
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 Рік тому
Is there any error?
@fatehbba2957
@fatehbba2957 Рік тому
Can you help me. I want to download the code to control two lights. Thank you very much. Please reply@@vipulmore7352
@antanibass
@antanibass Рік тому
change led port in D2
@onertan1501
@onertan1501 Рік тому
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 Рік тому
HTML code is for base station. Same procedure for making sliders.
@zeoka4045
@zeoka4045 3 роки тому
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 3 роки тому
Yes.
@zeoka4045
@zeoka4045 3 роки тому
@@EmbeddedGate thank you very much, i really appreciate your response, how may i contact you.
@EmbeddedGate
@EmbeddedGate 3 роки тому
Instagram link is available in the video description
@younova139
@younova139 3 роки тому
YOU ARE GREAT ♥
@EmbeddedGate
@EmbeddedGate 3 роки тому
Thank you
@EmbeddedGate
@EmbeddedGate 3 роки тому
Thank you.
@377_dipanjan_bakshi8
@377_dipanjan_bakshi8 3 роки тому
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 2 роки тому
I have created html page in Arduino code.
@electroman1556
@electroman1556 2 роки тому
@@EmbeddedGate can you make us code for esp8266 with link sir? from app to esp8266 sir?
@EmbeddedGate
@EmbeddedGate 2 роки тому
@@electroman1556 Didn't understand your question?
@sitarambhore204
@sitarambhore204 3 роки тому
Your code is not flashing into esp8266-01 showing error for led DO
@fatehbba2957
@fatehbba2957 Рік тому
When I press ON, two lamps light up together. I want the code. Thank you
@amirbayati1517
@amirbayati1517 2 роки тому
Very very nice👍
@botak333
@botak333 3 роки тому
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 3 роки тому
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 3 роки тому
@@EmbeddedGate mybe what ic expander sir??
@EmbeddedGate
@EmbeddedGate 3 роки тому
MCP23017
@botak333
@botak333 3 роки тому
@@EmbeddedGate alright sir. Thank you🙏
@electroman1556
@electroman1556 2 роки тому
@@EmbeddedGate can give us a code that connect with esp8266 with edit ip address sir?
@tubegallery9778
@tubegallery9778 5 місяців тому
so in the string header we should give our IP right?
@EmbeddedGate
@EmbeddedGate 5 місяців тому
Yes.
@lionlion4761
@lionlion4761 2 роки тому
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
@tech_travel_europe
@tech_travel_europe 4 роки тому
Superb
@vimalmer412
@vimalmer412 2 роки тому
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
@chinmaydeshpande4910
@chinmaydeshpande4910 3 роки тому
Can we connect two mobiles to this at a time and control it from both mobiles at a time?
@EmbeddedGate
@EmbeddedGate 3 роки тому
yes we can connect number of mobile.
@BilalKhan-do9il
@BilalKhan-do9il 2 роки тому
@@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 2 роки тому
​@@BilalKhan-do9il . Please share your mail id.
@BilalKhan-do9il
@BilalKhan-do9il 2 роки тому
@@EmbeddedGate kb9829422@gmail.com
@BilalKhan-do9il
@BilalKhan-do9il 2 роки тому
@@EmbeddedGate sir please reply!
@MaxGoddur
@MaxGoddur 3 роки тому
Need narration in clear voice music makes me move on to find a video with a clear voice and no music.
@Dhruvstar_4
@Dhruvstar_4 4 місяці тому
Could you make it using Port Fowarding?
@EmbeddedGate
@EmbeddedGate 4 місяці тому
Didn't understand your question.
@aryaroy5238
@aryaroy5238 2 роки тому
Can this app work in iOS devices as well please reply it's urgent??
@EmbeddedGate
@EmbeddedGate 2 роки тому
Yes
@safwankamboh9860
@safwankamboh9860 Рік тому
Great video.
@johndoolan8044
@johndoolan8044 6 місяців тому
Hello, Can you please supply link for the Include Library?
@EmbeddedGate
@EmbeddedGate 6 місяців тому
Yes.
@addwadi4659
@addwadi4659 3 роки тому
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 3 роки тому
press the flash button on nodemcu for 5 sec.
@rohankamat4863
@rohankamat4863 3 роки тому
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 3 роки тому
Yes, you can attach several switches.
@rohankamat4863
@rohankamat4863 3 роки тому
@@EmbeddedGate My arduino software is showing error - "failed to co nnect with esp8266"
@rohankamat4863
@rohankamat4863 3 роки тому
"Time out waiting for packet header " This type of error
@rohankamat4863
@rohankamat4863 3 роки тому
Showing error while uploading
@EmbeddedGate
@EmbeddedGate 3 роки тому
Press reset switch while uploading code
@AdiSaputra-ys4bv
@AdiSaputra-ys4bv Рік тому
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 Рік тому
Please share your code.
@AdiSaputra-ys4bv
@AdiSaputra-ys4bv Рік тому
i'm done with that bugs,, i wondering how do this on figma or flutter,,can u make tutorial for that?
@tradingview5363
@tradingview5363 Рік тому
@@AdiSaputra-ys4bv Hello Sir...Can you tell me how you got over that bug?
@muhammadhaziqmifzalbinrusl1589
@muhammadhaziqmifzalbinrusl1589 11 місяців тому
can it be used on Iphone?
@EmbeddedGate
@EmbeddedGate 11 місяців тому
Yes
@vimalmer412
@vimalmer412 2 роки тому
is it run on esp32 wroom 32
@EmbeddedGate
@EmbeddedGate 2 роки тому
On both modules.
@redenmoradz803
@redenmoradz803 2 роки тому
Can you do two way communication with this?
@EmbeddedGate
@EmbeddedGate 2 роки тому
Yes.
@redenmoradz803
@redenmoradz803 2 роки тому
@@EmbeddedGate do you already have a sample code for that?... I need it so bad
@redenmoradz803
@redenmoradz803 2 роки тому
@@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.
@sitarambhore204
@sitarambhore204 3 роки тому
Your code is not flashing into esp8266-01 showing error for led DO pl. help
@EmbeddedGate
@EmbeddedGate 3 роки тому
replace D0 with 16. and upload the code.
@saschakube
@saschakube Рік тому
hallo wie kann ich noch noch 5 weitere lichter im code hinzufügen
@EmbeddedGate
@EmbeddedGate Рік тому
Follow the same procedure.
@fatehbba2957
@fatehbba2957 Рік тому
How can I extract the MIT APP code to the Arduino, please?
@EmbeddedGate
@EmbeddedGate Рік тому
Arduino is not supported by IoT. If you want to use Arduino then you need to interface ESP8266 with the Arduino.
@islamiduniya3824
@islamiduniya3824 2 роки тому
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 2 роки тому
Hello, Make sure your mobile hotspot is connected to NodeMCU.
@islamiduniya3824
@islamiduniya3824 2 роки тому
@@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 2 роки тому
No, we can't do that.
@saadatkarimova2471
@saadatkarimova2471 3 роки тому
when i connect its wifi, it says "Connected, no internet". Please help me what's wrong?
@EmbeddedGate
@EmbeddedGate 3 роки тому
connect mobile to wifi first and then open the mobile app.
@ahmadanzor6524
@ahmadanzor6524 2 роки тому
there is no static ip code there, but how come the ip can be static? try asking for an explanation?
@EmbeddedGate
@EmbeddedGate 2 роки тому
English please
@ahmadanzor6524
@ahmadanzor6524 2 роки тому
there is no static ip code there, but how come the ip can be static? try asking for an explanation
@rainbowforest09
@rainbowforest09 2 роки тому
I can't find my access point SSID on my phone. What should I do?
@EmbeddedGate
@EmbeddedGate 2 роки тому
Upload simple led blink code. Make sure your board is working.
@rainbowforest09
@rainbowforest09 2 роки тому
@@EmbeddedGate it's works with blink code. Any solution?
@sitarambhore204
@sitarambhore204 3 роки тому
Pl. Share this wifi ap mode video for esp8266-01
@pravindasarkar788
@pravindasarkar788 3 роки тому
use my nodemcu ip but not working..please help me out
@EmbeddedGate
@EmbeddedGate 3 роки тому
what is the error?
@pravindasarkar788
@pravindasarkar788 3 роки тому
@@EmbeddedGate dont have any error..in app shows error for response..but i provide ko address of nodemcu
@EmbeddedGate
@EmbeddedGate 3 роки тому
@@pravindasarkar788 uploads first data manually.
@rohankamat4863
@rohankamat4863 3 роки тому
Showing error while uploading please help
@gameonly9918
@gameonly9918 Рік тому
JELEBUUUUUUUUUUU
@stypsydee5738
@stypsydee5738 3 роки тому
not working, it says unable to get response at url
@EmbeddedGate
@EmbeddedGate 3 роки тому
have you check manually without mobile app.
@pamikiran0158
@pamikiran0158 2 роки тому
Bang klo buat 4 button gmn caranya
@chinmaydeshpande4910
@chinmaydeshpande4910 3 роки тому
Offline work karta hai kya?
@EmbeddedGate
@EmbeddedGate 3 роки тому
yes
2 роки тому
On the computer it works, but on the smartphone it doesn't, aren't you forgetting to explain something maybe?
@LedPixelAnimator
@LedPixelAnimator 4 роки тому
Not working
@EmbeddedGate
@EmbeddedGate 4 роки тому
+Led Pixel Animator . check IP address of your NodeMCU.
@sitarambhore204
@sitarambhore204 3 роки тому
I am using esp8266-01 but it come with error for coding it shows led Do not state
@EmbeddedGate
@EmbeddedGate 3 роки тому
Did you make any changes to the code?
@sitarambhore204
@sitarambhore204 3 роки тому
@@EmbeddedGate no
@LedPixelAnimator
@LedPixelAnimator 4 роки тому
ip Adress Error
@CodingHats
@CodingHats 3 роки тому
choose the ip address of your node mcu and then try once again
@taranpreetsingh6666
@taranpreetsingh6666 2 роки тому
@@CodingHats HOW TO CHECK IP ADDRESS OF NODEMCU
@fatehbba2957
@fatehbba2957 Рік тому
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 2 роки тому
Superb
ESP8266 Controller WiFi Access Point
5:21
Anas Kuzechie
Переглядів 20 тис.
Эта Мама Испортила Гендер-Пати 😂
00:40
Глеб Рандалайнен
Переглядів 9 млн
Change ESP32 Wi-Fi credentials from Mobile App.
24:52
Embedded Gate
Переглядів 23 тис.
ESP32 -  Switch ON & OFF an LED with Blynk IoT
14:16
Upload Ideas With Itamar
Переглядів 8 тис.
Tutorial: ESP32 Web Server | ESP32 WiFi AP Mode
6:21
TechToTinker
Переглядів 27 тис.
How to Make a Simple App--[NodeMCU-ESP8266] -PART1
13:45
Jandroverse
Переглядів 30 тис.
ESP32 tutorial B-07 Part1: Get data with an Android App over Wifi
4:56
IoT || NodeMCU as a webserver, Control LED using Wifi of NodeMCU
13:25
Mahesh Pawaskar
Переглядів 8 тис.
OpenAI "SHOCKED" Everyone! Voice, Vision, & Free?!
8:58
Theoretically Media
Переглядів 10 тис.