Wire and power an LED strip
Light a shelf, desk or camper with an LED strip. Wire it to a mains adapter through a small dimmer, or build a 12 V battery pack from 18650 cells to take it anywhere. The calculator sizes the supply, the wire and the battery.
New to electronics? The words used on this page
- AWG
- A number for wire thickness. A smaller number means a thicker wire: 10 AWG is thicker than 14 AWG.
- BMS
- Battery management system. A small board inside a lithium battery that stops it being over-charged, run flat or shorted.
- 18650
- A common lithium cell, a bit bigger than an AA battery, 3.6 to 3.7 V.
- Multimeter
- A hand-held meter that measures voltage. Use it to check before you connect anything.
- In series
- Batteries joined + to −, end to end. The voltages add up.
Which way is for you?
AMains adapter with a dimmer
Shelves, desks and under cabinets at home. Soldering · 30 minutes
You will need
- Power adapter (12 V)Size from the calculatorView on Amazon
- DC socketPanel or pigtailView on Amazon
- PWM dimmer boardA small MOSFET dimmer with a knobView on Amazon
- WireGauge from the calculatorView on Amazon
- Aluminium channelCooler and neaterView on Amazon
Tools
Soldering iron, wire stripper.
Step by step
- 1
Cut the strip only at the marked cut lines. Solder two wires to its + and − pads.
- 2
Connect the DC socket to the dimmer's input (+ and −).
- 3
Connect the dimmer's output to the strip: + to +, − to −.
- 4
For long strips, run a second pair of wires from the supply to the far end as the calculator shows.
- 5
Plug in the adapter and turn the knob.
Every connection, one by one
Tick each one as you make it. When every box is ticked, the wiring is complete.
| Done | From | To | Wire |
|---|---|---|---|
| DC socket + | Dimmer input + | Red | |
| DC socket − | Dimmer input − | Black | |
| Dimmer output + | Strip + pad | Red | |
| Dimmer output − | Strip − pad | Black | |
| Supply + and − (long strips only) | Far end of the strip, + and − | Second pair, same gauge |
As an Amazon Associate I earn from qualifying purchases. Links open Amazon search results.
B18650 battery pack (12 V)
Camping, cupboards, anywhere without a socket. Three cells in series make about 12 V. Soldering · 1–2 hours
You will need
- 18650 cells and 3-cell holdersGroups from the calculatorView on Amazon
- 3S protection board (BMS)Protects the packView on Amazon
- 12.6 V charger and DC socketTo charge the packView on Amazon
- On/off switchA small rocker or slide switchView on Amazon
- PWM dimmer boardOptional: dim it to run longerView on Amazon
- MultimeterTo check voltages before you connect anythingView on Amazon
Tools
Soldering iron, multimeter.
Step by step
- 1
Build the 3-cell pack and fit the BMS: B− to the pack −, B1 and B2 to the joins, B+ to the pack +.
Check: all cells within 0.05 V first.
- 2
Wire the pack + through the switch (and the dimmer, if used) to the strip's +, and the BMS P− to the strip's −.
- 3
Wire the charging socket to the pack + and P−.
- 4
Switch on. Charge with the 12.6 V charger when it dims.
Every connection, one by one
Tick each one as you make it. When every box is ticked, the wiring is complete.
| Done | From | To | Wire |
|---|---|---|---|
| Pack − | BMS B− | Black | |
| Joins between cells | BMS B1 and B2 | Thin balance wires | |
| Pack + | BMS B+ | Red | |
| Pack + | Switch (and dimmer), then strip + | Red | |
| BMS P− | Strip − | Black | |
| Charging socket + | Pack + | Red | |
| Charging socket − | BMS P− | Black |
As an Amazon Associate I earn from qualifying purchases. Links open Amazon search results.
Size your build
Power supply, wire, power injection points and the battery pack for your strip.
How this is calculated
- Method
- Power = W per metre × length; current = power ÷ strip voltage. Supply = power × 1.25, rounded up to a common size. A feed point every 2 m (5 V), 5 m (12 V) or 10 m (24 V) limits voltage drop. Wire gauge follows the supply current.
- Assumptions
- W per metre for common strip types. The 25% headroom keeps the supply cool. Feed lengths are a rule of thumb for avoiding visible dimming at the far end.
- Sources
- Typical LED strip and power supply datasheets.
Stay safe
- Mains-connected (screw-terminal) power supplies must be wired by someone competent and fully enclosed. Plug-in adapters avoid this.
- Never exceed about 80% of the power supply's rating for long periods.
- Do not coil a lit LED strip on its reel: it overheats.
- Use a TP4056 board with protection (the version with the DW01 chip and two outputs, OUT+ and OUT−), or a proper BMS for packs.
- Buy cells from a known brand and seller. Fake cells often hold a fraction of the label and can lack protection.
- Do not leave lithium cells charging unattended, and charge them on a non-flammable surface.
- Never use a swollen, dented or leaking cell. Recycle it.
- Put a fuse close to the battery's + terminal.
- While soldering or spot-welding, keep the cell ends covered so nothing can short them.
Questions people ask
Why is the end of my strip dimmer or a different colour?
Voltage drops along the thin copper of the strip. Feed power at both ends, or every 5 m for 12 V strips (10 m for 24 V, 1–2 m for 5 V).
12 V or 24 V?
For long runs, 24 V: half the current, less voltage drop and thinner wires. For short runs and batteries, 12 V is simpler.
Can I run a 12 V strip from a battery?
Yes: a 12 V LiFePO4 or the 12 V pack tool's battery. The tool estimates hours per 10 Ah.
Can I cut the strip?
Only at the marked cut lines (scissors symbol), and seal the end if it is outdoors.
Written and checked by Moataz FOUAD, telecom and electronics engineer. About this site.