IoT || NodeMCU as a webserver, Control LED using Wifi of NodeMCU
ฝัง
- เผยแพร่เมื่อ 25 ม.ค. 2021
- 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.com/file/d/1MZRx... - วิทยาศาสตร์และเทคโนโลยี
Nice work Sir. Finally, i understand how to add a Gui on NodeMCu
Informative video 👍
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.
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.
स्केच मेesp32s बोर्ड के लिए क्या लीखा जायेगा
Sir, Ye project local network based hai ya internet based ?
Local network
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 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
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 th-cam.com/video/OC9wYhv6juM/w-d-xo.html
Aditional link for differentiating NodeMCU (makeradvisor.com/best-esp8266-wi-fi-development-board/) as mine is NodeMCU 1.0 (ESP-12E).