Video není dostupné.
Omlouváme se.
Control an LED from a Mobile App using Access Point Mode (AP).
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.
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!
thanks..was looking for this all over the internet
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
@@lionlion4761 yes. it worked well. as in the video
Thank sir..
Iam from indonesia
Great explanation thanks alot for such videos
please upload as much as possible....
Very very nice👍
Great video.
Superb
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
YOU ARE GREAT ♥
Thank you
Thank you.
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
Same problem
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 🔥
Thank You for your comment. Yes we can add LED strip in this project. I will try to make project on your requirement.
@@EmbeddedGate 😍😍
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
Yes.
@@EmbeddedGate thank you very much, i really appreciate your response, how may i contact you.
Instagram link is available in the video description
If i close the app.
This will return to the initial view or not?
Thanks
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.
Great tutorial, bit can I using micropython for MIT APP Inventor?
hi can you help me
It works from normal browsing, but in the application it gives me an error 1001
Hello. Make sure your mobile wife is connected to nodemcu
Can you help me. I want to download the code to control two lights. Thank you very much. Please reply
When I press ON, two lamps light up together. I want the code. Thank you
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
If we connect the node mcu and the mobile device on different network then will the LED glow or not?
No. In Access point mode both the devices must in the same network.
OK thank you Embedded Gate
Your code is not flashing into esp8266-01 showing error for led DO
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
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.
HTML code is for base station. Same procedure for making sliders.
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.
Is there any error?
Can you help me. I want to download the code to control two lights. Thank you very much. Please reply@@vipulmore7352
change led port in D2
so in the string header we should give our IP right?
Yes.
Could you make it using Port Fowarding?
Didn't understand your question.
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
I have created html page in Arduino code.
@@EmbeddedGate can you make us code for esp8266 with link sir? from app to esp8266 sir?
@@electroman1556 Didn't understand your question?
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)
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.
@@EmbeddedGate mybe what ic expander sir??
MCP23017
@@EmbeddedGate alright sir. Thank you🙏
@@EmbeddedGate can give us a code that connect with esp8266 with edit ip address sir?
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 ?
Please share your code.
i'm done with that bugs,, i wondering how do this on figma or flutter,,can u make tutorial for that?
@@AdiSaputra-ys4bv Hello Sir...Can you tell me how you got over that bug?
Need narration in clear voice music makes me move on to find a video with a clear voice and no music.
Can this app work in iOS devices as well please reply it's urgent??
Yes
Hello, Can you please supply link for the Include Library?
Yes.
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?
press the flash button on nodemcu for 5 sec.
Can we connect two mobiles to this at a time and control it from both mobiles at a time?
yes we can connect number of mobile.
@@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
@@BilalKhan-do9il . Please share your mail id.
@@EmbeddedGate kb9829422@gmail.com
@@EmbeddedGate sir please reply!
JELEBUUUUUUUUUUU
Pl. Share this wifi ap mode video for esp8266-01
is it run on esp32 wroom 32
On both modules.
Your code is not flashing into esp8266-01 showing error for led DO pl. help
replace D0 with 16. and upload the code.
How can I extract the MIT APP code to the Arduino, please?
Arduino is not supported by IoT. If you want to use Arduino then you need to interface ESP8266 with the Arduino.
can it be used on Iphone?
Yes
Can you do two way communication with this?
Yes.
@@EmbeddedGate do you already have a sample code for that?... I need it so bad
@@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.
Bang klo buat 4 button gmn caranya
when i connect its wifi, it says "Connected, no internet". Please help me what's wrong?
connect mobile to wifi first and then open the mobile app.
Can we do it for many buttons
Because i made an app with 12 buttons but the error is 'duplicate declaration of button 1"
Yes, you can attach several switches.
@@EmbeddedGate My arduino software is showing error - "failed to co nnect with esp8266"
"Time out waiting for packet header " This type of error
Showing error while uploading
Press reset switch while uploading code
I can't find my access point SSID on my phone. What should I do?
Upload simple led blink code. Make sure your board is working.
@@EmbeddedGate it's works with blink code. Any solution?
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
Hello, Make sure your mobile hotspot is connected to NodeMCU.
@@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
No, we can't do that.
use my nodemcu ip but not working..please help me out
what is the error?
@@EmbeddedGate dont have any error..in app shows error for response..but i provide ko address of nodemcu
@@pravindasarkar788 uploads first data manually.
hallo wie kann ich noch noch 5 weitere lichter im code hinzufügen
Follow the same procedure.
not working, it says unable to get response at url
have you check manually without mobile app.
Showing error while uploading please help
there is no static ip code there, but how come the ip can be static?
try asking for an explanation?
English please
there is no static ip code there, but how come the ip can be static?
try asking for an explanation
Offline work karta hai kya?
yes
Not working
+Led Pixel Animator . check IP address of your NodeMCU.
On the computer it works, but on the smartphone it doesn't, aren't you forgetting to explain something maybe?
ip Adress Error
choose the ip address of your node mcu and then try once again
@@CodingHats HOW TO CHECK IP ADDRESS OF NODEMCU
I am using esp8266-01 but it come with error for coding it shows led Do not state
Did you make any changes to the code?
@@EmbeddedGate no
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()
Superb
Hello sir whenever i move to mobile app i get an error 1101 unable to get the response with the specified url?
First, connect your mobile to esp32.