Introduction: RGB LED Control by WebSocketsServer | NodeMcu Beginner

RGB LED control by WebSocketsServer Tutorial

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