How to Make a Pixel LED Wheel Using NodeMCU | WS2812B LED Wheel Project | DIY RGB Wheel Lights
🎬 Video Sections & Script
“Hello everyone! Welcome back to my channel. In today’s video, we’re going to build a Pixel LED Wheel using a NodeMCU ESP8266 board and WS2812B addressable LEDs. This wheel can display amazing light effects and patterns, all programmable through Arduino IDE.”
Show a short preview of the final glowing wheel.
🔹 Components Required (0:30 - 1:30)
“Let’s start with the components you’ll need for this project.”
📦 Components List:
-
NodeMCU ESP8266 board
-
WS2812B or NeoPixel LED strip (60 LEDs/meter recommended)
-
5V 2A Power supply
-
470Ω resistor
-
1000µF capacitor (optional for LED protection)
-
Jumper wires
-
Wheel base or circular frame (you can use an old cycle wheel)
-
Soldering tools and hot glue
Show all parts on screen with labels.
🔹 Circuit Connection (1:30 - 3:00)
“Now let’s connect the components.”
Connections:
-
WS2812B DIN → NodeMCU D4 (GPIO2)
-
WS2812B 5V → 5V Power Supply +
-
WS2812B GND → Power Supply - and NodeMCU GND
-
Add 470Ω resistor between D4 and DIN
-
Add 1000µF capacitor across +5V and GND at the LED input
Show circuit diagram animation (you can draw it in Fritzing or online circuit simulator).
🔹 Programming
“Next, we’ll upload the Arduino code to control the Pixel LEDs.”
-
Open Arduino IDE
-
Go to File → Preferences → Additional Boards Manager URLs, and add:
Install ESP8266 board via Board Manager
-
Install Adafruit NeoPixel library
Then use this example code 👇
///////////////////////////////////////////////////////////////////////////////////////
#include <Adafruit_NeoPixel.h>
#define LED_PIN D4
#define LED_COUNT 60 // change as per your wheel LED count
Adafruit_NeoPixel strip(LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800);
void setup() {
strip.begin();
strip.show();
}
void loop() {
rainbowCycle(5); // smooth rainbow effect
}
void rainbowCycle(uint8_t wait) {
uint16_t i, j;
for(j=0; j<256*5; j++) {
for(i=0; i<strip.numPixels(); i++) {
strip.setPixelColor(i, Wheel(((i * 256 / strip.numPixels()) + j) & 255));
}
strip.show();
delay(wait);
}
}
uint32_t Wheel(byte WheelPos) {
WheelPos = 255 - WheelPos;
if(WheelPos < 85) return strip.Color(255 - WheelPos * 3, 0, WheelPos * 3);
if(WheelPos < 170) {
WheelPos -= 85;
return strip.Color(0, WheelPos * 3, 255 - WheelPos * 3);
}
WheelPos -= 170;
return strip.Color(WheelPos * 3, 255 - WheelPos * 3, 0);
}
//////////////////////////////////////////////////////////////////////////////////////
Mounting the LEDs
“Now let’s fix the LEDs on the wheel.”
-
Stick or solder the WS2812B strip around the rim or spokes
-
Secure with zip ties or glue
-
Connect the NodeMCU at the center hub
-
Connect the power supply carefully
Power ON & Demo
“Now let’s power it up and see the results!”
Show multiple color effects, slow-mo shots, and explain what’s happening.
“As you can see, the LEDs create a beautiful rotating RGB pattern on the wheel!”
“So that’s how you can make your own Pixel LED Wheel using NodeMCU. You can add Wi-Fi control or music sync later — I’ll make a part 2 on that soon!”
“If you liked this project, don’t forget to Like, Share, and Subscribe for more electronics tutorials.”
pixel led wheel, pixel led project, nodemcu project, ws2812b wheel, neopixel wheel, rgb wheel lights, diy led wheel, nodemcu ws2812b project, addressable led project, arduino led project, led wheel animation, esp8266 led, pixel led effects, smart led wheel, nodemcu pixel led, diy electronics project, rgb effects, ws2812b nodemcu, arduino pixel led, esp8266 led effects,
No comments:
Post a Comment