OHMYARD

DISCOVER  ·  EXPERIMENT  ·  BUILD

TRACK 7 · ESP32, PI & ARDUINO APPS26/30
NOV 27, 2026
14:20:00
5V EXT PSU0.65 A3.2 W · 5V330 Ω DIN1000 µF+5V ────────────────── DIN → DOUT ────────────────── GND30× WS2812B LEDs · 60%✅ Safe Power: Use a 5V 1.0A+ Supply (with 25% headroom)
Drag or WASD to pan · Q / E to rotate · Scroll to zoom

WS2812B / NeoPixel Power Calculator & Safe Wiring Workbench — Engineering Notes & Troubleshooting

✓ Reviewed by Jason Guo (OhmYard Lab)· IEC & Datasheet Verified· Updated Nov 27, 2026
QUICK ENGINEERING ANSWER (TL;DR)

Each WS2812B addressable pixel draws up to 60 mA at full white (20 mA × R/G/B) — a 60-LED strip pulls 3.6 Amps! Never power long strips through an Arduino or ESP32 USB pin; add a 330–470 Ω data resistor, a 1000 µF power capacitor, and an external 5V supply with shared GND.

I_max = N_leds × 60 mA × Brightness | P_watts = 5 V × I_max

Driving 5V WS2812B from a 3.3V ESP32 or Raspberry Pi? Use a 74AHCT125 level shifter (or Lab 30) on DIN if your cable is >30 cm to prevent random flickering!

SymbolComponentReal-World Engineering Tip
DIN→DOWS2812B 5050 Addressable RGB LEDCheck the tiny arrow printed on the strip (→): data ONLY flows from DIN to DOUT — wiring into DOUT leaves the whole strip dark!

Real-World Bench Scenario: WLED Ambient Desk Strip on ESP32: 60 LEDs at 50% brightness = ~1.8 A → pick a 5V 3A power brick, 1000 µF cap, 330 Ω resistor on GPIO16!

Bench Challenge: Burnout Check: Crank LED count to 60 at 100% Full White to see why USB power overloads immediately and needs a 5V 4A external PSU!

Frequently Asked Questions

Why did my WS2812B strip turn dim yellow/red near the far end?

Copper voltage drop along the thin flexible PCB! At >60 LEDs, inject +5V and GND at BOTH ends (and every ~100 LEDs) so blue LEDs (Vf ≈ 3.1V) don't starve.

Continue Exploring Related 2.5D Labs
25. Raspberry Pi GPIO →27. SG90 Servo PWM →28. HC-SR04 Ultrasonic →

OHMYARD · ALL 30 INTERACTIVE LABS & SIMULATORS

1. Closed Loop & Faults
/closed-loop
2. Ohm's Law & Thermal
/ohm-law
3. Series vs Parallel
/series-parallel
4. X-Ray Breadboard
/breadboard-simulator
5. LED Resistor & E24
/led-resistor-calculator
6. Voltage Divider & Load
/voltage-divider
7. Multimeter Trainer
/multimeter-simulator
8. RC & Oscilloscope
/rc-oscilloscope
9. 555 Timer Pulse Lab
/555-timer
10. Diode & Rectifier
/diode-rectifier
11. Transistor & Flyback
/transistor-switch
12. PWM Dimmer & Fan
/pwm-dimmer
13. Op-Amp Comparator
/opamp-comparator
14. H-Bridge & Shoot-Through
/h-bridge-motor
15. Buck vs LDO Power
/buck-converter
16. Digital Logic Gates
/logic-gates
17. Resistor Color Code
/resistor-color-code
18. ESP32 Pinout Guide
/esp32-pinout
19. Arduino Uno Pinout
/arduino-uno-pinout
20. Zener Voltage Clamp
/zener-diode-regulator
21. I2C Pull-Up Bus
/i2c-pullup-bus
22. Battery Life & Sleep
/battery-life-calculator
23. PCB Trace Width
/pcb-trace-width
24. Wheatstone Bridge
/wheatstone-bridge
25. Raspberry Pi GPIO
/raspberry-pi-pinout
26. WS2812B LED Strip
/ws2812b-led-strip
27. SG90 Servo PWM
/servo-pwm-control
28. HC-SR04 Ultrasonic
/ultrasonic-hcsr04
29. Opto Relay Module
/relay-optocoupler
30. 3.3V ⇄ 5V Shifter
/logic-level-shifter