RGB LED Control by WebSocketsServer | NodeMcu Beginner

About: I am Sarful , I am a Mechatronics Engineer & also a teacher in Rajshahi Polytechnics Institute I am Interested in the evolution of technology in the automation industry , and i aspire to teach this techn...

RGB LED control by WebSocketsServer Tutorial

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1:

Hello

Today i show you how to control RGB LED using WebSocketsServer .In this project you have to need

Hardware

1. Nodemcu

2. RGB LED

3. USB Connector

4. breadboard

Softtware

1.Ardunio

First you have to need Learn NodeMCU RGB LED | For beginners

Now you have to need Download WebSocketsServe Library Click Here Then Included This Library

Step 2: Included Library

Step 3: Now Go to Example Flowing Image Instruction

Step 4: Now You Have to Need Some Edited

Remove This Code from Main Program

//WiFiMulti.addAP("rowsoni", "007892057");

//while(WiFiMulti.run() != WL_CONNECTED)

{ // delay(100);

}

And Add this code in main program
WiFi.softAP("hassan", "00789");

IPAddress myIP = WiFi.softAPIP();

USE_SERIAL.print("AP IP address: ");

USE_SERIAL.println(myIP);

After complete Editing Up lode program

Step 5: Now Connected Your Led Flowing Circuit

First Published

CLICK HERE

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    Discussions