IoT || NodeMCU as a webserver, Control LED using Wifi of NodeMCU

Sdílet
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...

Komentáře • 29

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

    Nice work Sir. Finally, i understand how to add a Gui on NodeMCu

  • @SuvajitMaiti
    @SuvajitMaiti Před 11 dny

    Good Job

  • @gauravsaxena7075
    @gauravsaxena7075 Před rokem +1

    Bhut acche bro

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

    great tutorial

  • @faroekjuthan89
    @faroekjuthan89 Před 3 lety

    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.

  • @AshishSharma-lk6yb
    @AshishSharma-lk6yb Před 3 lety +1

    Informative video 👍

  • @0124akash
    @0124akash Před 2 lety

    SSID password ko code me na likh ke kisi aur method se nodemcu ko wifi se connect kar sakte hain sir ?

    • @MaheshPawaskar
      @MaheshPawaskar  Před 2 lety

      If it doesn't have password, NodeMcu can connect to the network. U have to scan available network and then connect one of them.

    • @0124akash
      @0124akash Před 2 lety

      @@MaheshPawaskar how to connect without hardcoding ?

  • @0124akash
    @0124akash Před 2 lety

    Sir, Ye project local network based hai ya internet based ?

  • @iiitantech5635
    @iiitantech5635 Před 3 lety

    We can control from anymore in the world or only from limited area

    • @MaheshPawaskar
      @MaheshPawaskar  Před 3 lety

      This experiment is only for local network. Use port forwarding to have control through internet.

  • @afghanistantechnology3833

    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

    • @MaheshPawaskar
      @MaheshPawaskar  Před 3 lety

      U have to use port forwarding concept.

    • @afghanistantechnology3833
      @afghanistantechnology3833 Před 3 lety

      @@MaheshPawaskar
      Then it will work both ways?
      Local and global?

    • @airfix5857
      @airfix5857 Před 3 lety

      @@afghanistantechnology3833 yes
      U need a working router with internet and port forwarding
      It's risky so do it carefully

    • @afghanistantechnology3833
      @afghanistantechnology3833 Před 3 lety

      @@airfix5857 could you give me your what's app number dear ?please

    • @kamalpur4439
      @kamalpur4439 Před 10 měsíci

      ​@@MaheshPawaskarhello brother

  • @anilvishwakarma3310
    @anilvishwakarma3310 Před 2 lety

    स्केच मेesp32s बोर्ड के लिए क्या लीखा जायेगा

  • @iiitantech5635
    @iiitantech5635 Před 3 lety

    How can i know my node mcu ip address.

  • @kamalpur4439
    @kamalpur4439 Před 10 měsíci

    Hello sir please help me

  • @borunzhou5076
    @borunzhou5076 Před 2 lety

    no wifi foud

  • @amitdhiman4017
    @amitdhiman4017 Před 2 lety

    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).

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

      The library can be found in the "File" tab under "Examples" there you will find all the ESP8266 libraries