IoT || NodeMCU as a webserver, Control LED using Wifi of NodeMCU
Vložit
- čas přidán 10. 09. 2024
- This video gives introduction on Wifi network using NodeMCU. NodeMCU has Station (STA) mode using which it can connect to the existing wi-fi network and can act as an HTTP server with an IP address assigned by that network.
Arduino Sketch is used to enable NodeMCU as an HTTP server with Wi-Fi STA mode and control an LED connected at the server-side from the client-side.
NodeMCU code: drive.google.c...
Nice work Sir. Finally, i understand how to add a Gui on NodeMCu
Good Job
Bhut acche bro
great tutorial
Today I uploaded the code and it got a error. D1 was not listed as "int". After adding D1 als a "Int" the schets work and i could enter de webpage.The on/off button works on the webpage and also you can see the that on the serialmonitor.But the led did not turn on/of,i measere the voltage from the D1 and nothing happened,its stay 0 Volt.I am curious what I did wrong and hope you have a solution. Quite a very nice program.Thank for your help.
Informative video 👍
SSID password ko code me na likh ke kisi aur method se nodemcu ko wifi se connect kar sakte hain sir ?
If it doesn't have password, NodeMcu can connect to the network. U have to scan available network and then connect one of them.
@@MaheshPawaskar how to connect without hardcoding ?
Sir, Ye project local network based hai ya internet based ?
Local network
We can control from anymore in the world or only from limited area
This experiment is only for local network. Use port forwarding to have control through internet.
Sir i want i can access my html webpage with and without internet
Without internet when i am near nodemcu AP
And with internet when i am far from range of nodemcu
My mean if i can connect my Nodemcu AP to a internet
U have to use port forwarding concept.
@@MaheshPawaskar
Then it will work both ways?
Local and global?
@@afghanistantechnology3833 yes
U need a working router with internet and port forwarding
It's risky so do it carefully
@@airfix5857 could you give me your what's app number dear ?please
@@MaheshPawaskarhello brother
स्केच मेesp32s बोर्ड के लिए क्या लीखा जायेगा
How can i know my node mcu ip address.
WiFi.localIP() command
Hello sir please help me
no wifi foud
This video is my first watched video for NodeMcu, things I felt missing are:
1. how to install ESP8266.h liberary
2. how to add ESP8266 board to Arduino IDE.
Solution are:
1. link for library is github.com/esp8266/Arduino/tree/master/libraries/ESP8266WiFi
to download this file use this(minhaskamal.github.io/DownGit/#/home) link and paste URL into it and download then extract zip file to your Aurdino IDE Libraries path (C:\Program Files (x86)\Arduino\libraries).
2. use this tutorial czcams.com/video/OC9wYhv6juM/video.html
Aditional link for differentiating NodeMCU (makeradvisor.com/best-esp8266-wi-fi-development-board/) as mine is NodeMCU 1.0 (ESP-12E).
The library can be found in the "File" tab under "Examples" there you will find all the ESP8266 libraries