WattNWave
DIY projects › Lights and LEDs

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.

9V
EasySoldering30–90 minutes
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

12 V adapter2PWM dimmer3LED strip (cut at the marks)1extra feed for long strips45+ positive− negative
Swipe sideways to see the whole drawing. The numbers on the drawing match the steps below.

You will need

Tools

Soldering iron, wire stripper.

Step by step

  1. 1

    Cut the strip only at the marked cut lines. Solder two wires to its + and − pads.

  2. 2

    Connect the DC socket to the dimmer's input (+ and −).

  3. 3

    Connect the dimmer's output to the strip: + to +, − to −.

  4. 4

    For long strips, run a second pair of wires from the supply to the far end as the calculator shows.

  5. 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.

DoneFromToWire
DC socket +Dimmer input +Red
DC socket −Dimmer input −Black
Dimmer output +Strip + padRed
Dimmer output −Strip − padBlack
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

+−+−+−3S BMS1switch212 V LED strip12.6 V chargersocket34+ positive− negative
Swipe sideways to see the whole drawing. The numbers on the drawing match the steps below.

You will need

Tools

Soldering iron, multimeter.

Step by step

  1. 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. 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. 3

    Wire the charging socket to the pack + and P−.

  4. 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.

DoneFromToWire
Pack −BMS B−Black
Joins between cellsBMS B1 and B2Thin 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.

Printed on the strip.
Only used if you chose From the label.
Our suggestion
—

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

Stop at once if a cell or board smells, gets hot to the touch, swells, hisses or smokes. Unplug it, move it onto a non-flammable surface outdoors if you safely can, and keep away until it is cold.
  • 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.