Basic Wiring Guide
Basic LED Wiring

Simple Wiring Diagram
[Power Supply +] ──── [Controller VIN] ──── [Strip +5V]
[Power Supply -] ──── [Controller GND] ──── [Strip GND]
[Controller D4] ──── [Strip DIN]Step-by-Step
Connect power supply to controller
- PSU + → Controller VIN (5V pin)
- PSU - → Controller GND
- Use 18 AWG wire for runs under 1m
Connect controller to strip
- Controller GND → Strip GND (white wire)
- Controller D4 (GPIO4) → Strip DIN (green wire)
- Controller VIN → Strip +5V (red wire)
Add a data resistor (recommended)
- Place a 330-470Ω resistor on the data line near the strip
- This reduces signal reflections and protects the first pixel
Add a capacitor (recommended)
- Place a 470-1000µF electrolytic capacitor across + and - near the strip
- This smooths power fluctuations and protects LEDs
Always connect GND first! Connecting data without a common ground can damage the first LED.
Check Before Powering On
| Check | What to look for |
|---|---|
| Voltage | PSU output matches strip rating (5V or 12V) |
| Polarity | + and - not reversed |
| Data pin | Connected to correct GPIO on controller |
| No shorts | No exposed wires touching |
| Fuse | Inline fuse on + wire (3-5A for testing) |
Testing
- Power on the controller
- If using WLED: Connect to WiFi, go to the web UI
- Click a color — the first few LEDs should light up
- If nothing happens: check power, check data line, check GND