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...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 27

  • @ankitkumarshaw9096
    @ankitkumarshaw9096 2 ปีที่แล้ว +1

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

  • @AshishSharma-lk6yb
    @AshishSharma-lk6yb 3 ปีที่แล้ว

    Informative video 👍

  • @gauravsaxena7075
    @gauravsaxena7075 ปีที่แล้ว

    Bhut acche bro

  • @mirza_rohan_ahamed
    @mirza_rohan_ahamed ปีที่แล้ว

    great tutorial

  • @faroekjuthan89
    @faroekjuthan89 3 ปีที่แล้ว

    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.

  • @iiitantech5635
    @iiitantech5635 2 ปีที่แล้ว

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

    • @MaheshPawaskar
      @MaheshPawaskar  2 ปีที่แล้ว

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

  • @anilvishwakarma3310
    @anilvishwakarma3310 2 ปีที่แล้ว

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

  • @0124akash
    @0124akash ปีที่แล้ว

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

  • @0124akash
    @0124akash ปีที่แล้ว

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

    • @MaheshPawaskar
      @MaheshPawaskar  ปีที่แล้ว

      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 ปีที่แล้ว

      @@MaheshPawaskar how to connect without hardcoding ?

  • @afghanistantechnology3833
    @afghanistantechnology3833 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

      U have to use port forwarding concept.

    • @afghanistantechnology3833
      @afghanistantechnology3833 3 ปีที่แล้ว

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

    • @airfix5857
      @airfix5857 3 ปีที่แล้ว

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

    • @afghanistantechnology3833
      @afghanistantechnology3833 3 ปีที่แล้ว

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

    • @kamalpur4439
      @kamalpur4439 7 หลายเดือนก่อน

      ​@@MaheshPawaskarhello brother

  • @iiitantech5635
    @iiitantech5635 2 ปีที่แล้ว

    How can i know my node mcu ip address.

  • @kamalpur4439
    @kamalpur4439 7 หลายเดือนก่อน

    Hello sir please help me

  • @borunzhou5076
    @borunzhou5076 ปีที่แล้ว

    no wifi foud

  • @amitdhiman4017
    @amitdhiman4017 2 ปีที่แล้ว

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