Kraang Finds
More ▾
Products About
Workshop

Assemble a Portable Motion-Activated Workshop LED Light

A battery light that switches on when you walk up and sticks to any steel surface. Six steps, plug-together 12 V parts and a 3D-printed enclosure.

Published October 5, 2026 · 7 picks

3D-printed motion-activated LED light bar stuck by magnets under a steel shelf, lighting a workbench with spare strip and magnets on it

You can buy a rechargeable magnetic work light in any hardware aisle. Building one is worth an afternoon for a different reason: you pick the light (soft, dotless, with good color), you decide how the motion sensor behaves, and the enclosure fits your spot, whether that’s the inside of a tool cabinet, the underside of a shelf or the column of a drill press. This version runs on 12 V, and every electrical part plugs into the next with a barrel connector, so the basic build needs no soldering. Here’s the whole process, step by step, with the parts for each step below.

Step 1: Plan the circuit

The light is three parts in a row: battery → motion switch → LED strip. All three work at 12 V and link with barrel plugs. 5.5 × 2.1 mm is the common size for 12 V LED gear, and it’s what the strip and the battery below use. Two things to decide before you order:

  • How much light. About 20 in (50 cm) of strip in a single row is enough for a cabinet or a close-up task light. For a wider, brighter light, plan on two or three rows side by side, up to about 3 ft (1 m) of strip.
  • Where it will live. A light that stays inside a cabinet can be a flat bar. One that moves between the bench and the car needs a pocket for the battery, magnets on the back and nothing hanging loose.

Why not a USB power bank? Many power banks switch themselves off when the load drops to almost nothing. A motion sensor waiting in standby draws almost nothing, so the bank goes to sleep and the light never wakes up. A plain 12 V battery pack with a physical switch avoids the problem.

Step 2: Cut the LED strip

A COB strip has its LEDs packed so tightly that it glows as one line. For a work light that means one soft shadow instead of a row of small ones, and no need for a diffuser. Choose neutral or cool white (4000–6000K) with a CRI of 90 or more, so wire colors and pencil marks look right.

  1. Measure from the end with the female (socket) plug. That’s the end that connects to the motion switch.
  2. Cut straight across at a marked cut point, where the copper pads are. A cut anywhere else leaves a dead section.
  3. Plug the piece in and test it before you peel the adhesive backing.

A single row needs no soldering. To run two or three rows side by side, join the pieces at their copper pads with short wires, soldered or with 8 mm clip-on COB strip connectors, always + to + and − to −.

Step 3: Add the motion sensor

An inline PIR switch goes between the battery and the strip: power into its socket, the strip onto its plug. (Check that its plugs match your strip’s before you design around it.) It has three adjustments, and they decide whether the light is helpful or annoying:

  • Delay: how long the light stays on after the last movement. A PIR sensor sees movement, not presence, so if you hold still while soldering or measuring, a short delay leaves you in the dark. Start at the minimum for testing, then turn it up.
  • Sensitivity: how close you need to be. Lower it if the light fires every time someone walks past the bench.
  • Light sensor: the room brightness above which the sensor ignores you. Set low, the light only works in the dark and saves the battery; set high, it comes on in a lit room too.

A PIR sensor reads the heat of a moving body, and it can’t see through glass or solid plastic. The dome has to look out through an opening in the enclosure, toward where your arms and shoulders will be.

Step 4: Connect the battery

A small 12 V lithium pack with a barrel-plug output is the simplest match. Three things to check:

  • Current. The pack and the motion switch both have to be rated for more than the strip draws. A short strip is well inside a 3 A rating.
  • Capacity. A 3000 mAh pack at 12 V holds roughly 30 Wh on paper. BTF-LIGHTING’s listing puts its full 16.4 ft reel at 28 W, so a 3 ft piece should draw around 6 W: a few hours of light per charge. Because the light only runs while you’re moving in front of it, a charge goes much further than that sounds.
  • Voltage. A “12 V” lithium pack starts at 12.6 V and falls toward 9 V as it empties. The strip gets dimmer along the way; treat that as the low-battery warning.

The pack below has a socket, and so does the sensor’s input, so the splitter cable that comes with the pack does the linking: one of its two plugs goes into the pack, the other into the sensor. Cap the unused socket end with tape and tuck it away. To recharge, unplug the cable from the pack and plug the charger into the same port.

Step 5: Print the enclosure

Print it in PETG, not PLA. PLA softens at around 140 °F (60 °C), which a part can reach on a sunlit car or against a warm LED strip.

There’s no single correct design. Search a model site such as Printables or MakerWorld for “LED strip work light” or “COB light bar” and adapt one, or draw your own. Whatever the shape, it needs:

  • An open channel for the strip. An 8 mm strip fits a 10 mm slot. Recess it a few millimeters to keep glare out of your eyes, but don’t seal it in; LEDs last longer when the heat can escape.
  • A pocket for the battery, with the switch, the port and the charge LEDs reachable from outside. Hold the pack with a printed clip or a strap, not glue, so it can be replaced.
  • An opening for the sensor dome, and room behind it for two barrel connectors, which are bulkier than they look.
  • Recesses for the magnets on the back, each with a solid block of plastic behind it for the screw.
  • Split lines if the light is longer than your print bed. Join the sections with M3 screws and nuts trapped in hexagonal pockets.

Close the lid with screws too. A battery light is something you’ll open again.

Step 6: Mount it, test it, tune it

Screw a cup magnet into each corner of the back. Magnet ratings are measured pulling straight off thick, bare steel; over paint, on thin sheet metal or against sliding down a vertical surface, expect a fraction of that. Give the light a firm tug before you trust it above anything fragile, and put a layer of thin tape over the magnet faces if it’s going on a painted car body.

For wood shelves and aluminum, tape a steel washer or a small steel plate where you want the light to dock. The same foam tape fixes the sensor body inside the enclosure and keeps the cables off the lid.

Then run three tests:

  1. Standby test. Switch it on, leave the room for an hour and come back. It should light as you walk up.
  2. Walk test. Approach from the directions you’ll really use, adjust the sensitivity, then set the delay.
  3. Heat test. Leave it on for 15 minutes and touch the back of the strip channel. Warm is normal. If it’s too hot to keep a finger on, open up the channel or mount the strip on a strip of aluminum, which spreads the heat.

Safety basics: this is a low-voltage build, but a lithium pack can still push enough current to heat a pinched wire, so route cables away from screws and sharp edges. Charge the pack with the charger it came with, and stop using one that’s swollen, dented or has been soaked. The strip and the pack aren’t waterproof; keep the light out of the rain. Take it off the car before you close the hood, and don’t store it in a hot vehicle. Keep the magnets away from pacemakers and other implants.

What it costs in time: a few hours of unattended printing, about an hour to cut, plug and assemble, and ten minutes to tune the sensor. The parts for steps 2 to 6 are below.

At a glance

7 picks
  1. 1
    BTF-LIGHTING FCOB COB LED Strip, 12 V, 6000K Cool White, 16.4 ft
    Amazon
  2. 2
    SENSKY BS010L 12 V Mini PIR Motion Sensor Switch with Light Sensor
    Amazon
  3. 3
    TalentCell 12 V 3000 mAh Rechargeable Lithium-Ion Battery Pack (YB1203000-USB)
    Amazon
  4. 4
    Polymaker PETG Filament, 1.75 mm, 1 kg, Grey
    Amazon
  5. 5
    VGBUY M3 Socket Head Screw Assortment, 304 Stainless Steel, 600 Pieces
    Amazon
  6. 6
    Neosmuk Countersunk Neodymium Cup Magnets with Screws, 10-Pack
    Amazon
  7. 7
    3M VHB 5952 Double-Sided Mounting Tape, 1/2 in × 15 ft, Black
    Amazon

As an Amazon Associate I earn from qualifying purchases. If you buy through a link on this page we may earn a small commission, at no extra cost to you. How this works.

Step 2 · Light BTF-LIGHTING

BTF-LIGHTING FCOB COB LED Strip, 12 V, 6000K Cool White, 16.4 ft

A dotless cool-white 12 V strip with barrel plugs already on both ends.

Best for DIY work lights and light barsunder-shelf and cabinet lighting12 V battery projects

A work light is judged by its shadows. A row of separate LEDs throws several faint shadows behind every tool edge; a COB strip packs the chips so tightly that it behaves like one long, soft source. Cool white at 6000K with a high CRI helps wire colors and pencil lines look the way they do in daylight.

The detail that makes this strip a practical option for a battery build is the connectors: a female barrel plug on one end and a male on the other. Cut a piece from the female end and it plugs straight onto the output of a 12 V motion switch. The rest of the reel is enough for shelf or cabinet lighting later.

Pro tip Cut only at the marked copper pads, straight across, with sharp scissors. Then plug the piece in and check that it lights along its whole length before you peel the backing; a strip is much easier to fix before it’s stuck down.

Why we like it

  • ✓COB strip — one continuous line of light instead of separate dots
  • ✓6000K cool white with CRI 90+, per the listing
  • ✓5.5 × 2.1 mm DC plugs on both ends (one female, one male), so a single run needs no soldering
  • ✓Cuttable at the marked pads; 8 mm wide with adhesive backing

Keep in mind

  • !No power supply, dimmer or controller in the package
  • !16.4 ft is far more than one light needs, and a piece cut from the middle has no plug
  • !IP30 — no protection against water
Length
16.4 ft (5 m)
Voltage
12 V DC
LEDs
336 per m
Color temperature
6000K
CRI
90+
Width
8 mm
Connectors
5.5 × 2.1 mm DC, female + male
Power
28 W for the full reel, per listing
Protection
IP30 (indoor)
Step 3 · Motion sensor SENSKY

SENSKY BS010L 12 V Mini PIR Motion Sensor Switch with Light Sensor

An inline 12 V motion switch with adjustable delay, sensitivity and light threshold.

Best for Motion-activated LED stripscabinet and safe lightingbattery-powered 12 V lights

The simplest way to make a 12 V light motion-activated is a switch that sits in the cable. This one has a DC socket on one lead and a plug on the other: power comes in from the battery, and the strip gets it only when the sensor sees movement. Three adjustments set how it behaves: how long the light stays on, how close you need to be, and how dark it has to be before it reacts at all.

That last one matters for a work light. With the light threshold set low, the sensor ignores you in a bright room and saves the battery for dark corners; set high, the light comes on whenever you walk up. Sensky’s own advice is to turn the delay to its minimum first and tune the other two from there.

Pro tip A PIR sensor picks up moving body heat, and it can’t see through glass or solid plastic. Let the white dome look out through an opening in the enclosure, and aim it at where your arms and shoulders move, not at the workpiece.

Why we like it

  • ✓Sits in the cable between a 12 V supply and an LED strip, on DC barrel connectors
  • ✓Adjustable delay, sensitivity and ambient-light threshold
  • ✓The delay restarts each time it sees motion, so the light stays on while you keep moving
  • ✓Rated for 12–30 V and loads up to 3 A

Keep in mind

  • !PIR sensors detect movement, not presence — hold still long enough and the light times out
  • !Rated from 12 V up, while a lithium pack drops below that as it empties, so recharge early
  • !The listing gives no numbers for the delay range or the plug size
Voltage
12–30 V DC
Max load
3 A
Adjustments
Delay, sensitivity, light sensor
Range
Up to 7 m (23 ft), per listing
Sensor body
1.89 × 0.98 × 0.55 in (48 × 25 × 14 mm)
Connectors
DC barrel socket and plug on leads
Step 4 · Battery TalentCell

TalentCell 12 V 3000 mAh Rechargeable Lithium-Ion Battery Pack (YB1203000-USB)

A palm-sized 12 V lithium pack with a barrel-plug output and its own charger.

Best for 12 V LED strips away from an outletportable work lightscameras and other small 12 V gear

A USB power bank looks like the obvious battery for a small LED light, but many of them switch themselves off when the load drops to almost nothing, and a motion sensor waiting for someone to walk by draws almost nothing. A plain 12 V lithium pack is the simpler match for a 12 V strip and sensor: a barrel-plug output, a rocker switch on the case and protection electronics inside.

At 3000 mAh it’s a small pack, sized for a light that’s on for minutes at a time, not for hours of continuous flood lighting. TalentCell notes that the 12 V output isn’t constant: it starts at 12.6 V and falls to 9 V as the pack empties, so a strip that looks dimmer is the cue to recharge.

Pro tip Flip the pack’s switch off before the light goes into a drawer or a tool bag. The sensor draws a little power while it waits, and a light that triggers every time the bag moves will be empty when you need it.

Why we like it

  • ✓12 V output on a standard 5.5 × 2.1 mm DC port (center positive), up to 3 A
  • ✓A 5 V USB output as well
  • ✓Protection against over-charge, over-discharge, over-current and short circuit
  • ✓Five LEDs show the charge level
  • ✓Wall charger and a DC splitter cable included

Keep in mind

  • !The 12 V output isn't regulated — 12.6 V full down to 9 V empty, so an LED strip dims as the pack drains
  • !Charges from its own 12.6 V wall charger, not over USB-C
  • !One DC port is both input and output, so you unplug the load to charge
Capacity
3000 mAh
12 V output
12.6–9 V, up to 3 A
USB output
5 V
DC port
5.5 × 2.1 mm, center positive
Size
4.13 × 2.52 × 0.94 in (105 × 64 × 24 mm)
Weight
0.19 kg (6.7 oz)
Included
12.6 V charger, 1-female-to-2-male DC splitter cable
Model
YB1203000-USB
Step 5 · Enclosure Polymaker

Polymaker PETG Filament, 1.75 mm, 1 kg, Grey

PETG handles a warm LED strip and a hot garage better than PLA.

Best for Enclosures for shop lights and electronicstool holdersparts that get dropped

An enclosure for a shop light has two enemies: heat and drops. PLA starts to soften at around 140 °F (60 °C), a temperature a part can reach on a car in the sun or pressed against a warm LED strip. PETG holds its shape to a higher temperature and bends a little before it cracks, which is why it’s the usual choice for parts that live in a garage.

One spool is far more than one light needs; the rest covers brackets, hooks and a second enclosure once you’ve refined the first. Grey is a practical color on a bench: it hides dust and doesn’t glare next to the strip.

Pro tip Print the wall behind the LED strip at least 2 mm thick, and keep the strip in an open channel instead of a sealed box. The plastic lasts longer, and so do the LEDs, when the heat has somewhere to go.

Why we like it

  • ✓PETG takes knocks and warm places better than PLA
  • ✓Tough and impact resistant, Polymaker says
  • ✓Print settings are on the listing — nozzle 240–260 °C, bed 60–70 °C, fan 20–60%
  • ✓Cardboard spool; grey hides shop dust and fingerprints

Keep in mind

  • !Strings more than PLA; expect to tune retraction
  • !Needs a hotter nozzle than PLA and absorbs moisture once opened
Material
PETG
Color
Grey
Diameter
1.75 mm
Weight
1 kg
Nozzle
240–260 °C
Bed
60–70 °C
Part number
PB05003
Step 5 · Screws VGBUY

VGBUY M3 Socket Head Screw Assortment, 304 Stainless Steel, 600 Pieces

M3 screws and nuts in eight lengths, so the enclosure can be opened again.

Best for Closing printed enclosuresjoining multi-part printssmall electronics mounts

Glue makes an enclosure you can’t open again, and a battery-powered light is something you will open: to swap the pack, move the sensor or replace a strip. M3 is the standard screw size for small 3D-printed parts, and a socket head can be driven with a hex key down in a recess where a screwdriver won’t reach.

An assortment makes sense here because you rarely know the right length until the parts are printed. Short screws close the lid; the 25 and 30 mm ones go through two sections of a long light bar and into a nut on the far side.

Pro tip Model a hexagonal pocket for each nut (5.5 mm across the flats for M3, plus a little clearance) instead of driving screws straight into the plastic. A trapped nut can be opened and closed as often as you like; a thread cut into a print wears a little every time.

Why we like it

  • ✓Eight lengths from 6 to 30 mm, so one box covers lids, joints and stacked parts
  • ✓Matching nuts, flat washers and lock washers included
  • ✓304 stainless steel, which resists rust in a damp garage
  • ✓Labeled box with separate compartments

Keep in mind

  • !Only 15–20 screws of each length, so one size can run out fast on a big project
  • !Socket cap heads only — no countersunk or button heads in this version
  • !No heat-set inserts; you thread into plastic or trap the nuts in printed pockets
Thread
M3 × 0.5
Lengths
6, 8, 10, 12, 16, 20, 25, 30 mm
Screws
150 (20 each up to 20 mm, 15 each of 25 and 30 mm)
Also in the box
Hex nuts, flat washers, lock washers
Head
Hex socket cap
Material
304 stainless steel
Step 6 · Magnets Neosmuk

Neosmuk Countersunk Neodymium Cup Magnets with Screws, 10-Pack

Screw-on cup magnets that hold the light to any steel surface.

Best for Magnetic backs for DIY lights and tool holdersjigscabinet and shop fixtures

Magnets are what make a work light useful: stuck to a hood, a drill press column or a steel shelf, the light points where you need it and both hands stay free. Cup magnets with a countersunk hole are the easy kind to add to a printed part. One screw through the center holds each magnet, and the steel cup directs the pull toward the face that touches the metal.

Four at the corners of a small light leave six spares for the next project. They’re strong for their size, so keep them apart while you work: two that snap together can pinch skin and chip.

Pro tip Model a shallow recess for each magnet so it sits about half a millimeter proud of the enclosure’s back. The magnets then touch the steel first, and the plastic never holds them off the surface.

Why we like it

  • ✓Countersunk center hole, so the screw head sits flush with the magnet face
  • ✓Steel cup concentrates the pull on the contact face
  • ✓0.67 in (17 mm) across and 0.2 in (5 mm) thick — easy to recess into a printed part
  • ✓Ten magnets with screws; nickel-copper-nickel plating against rust

Keep in mind

  • !"Up to 22 lb" is a straight pull on thick, clean steel — expect far less on thin sheet metal, over paint or against sliding
  • !The listing doesn't give the screw size or length
  • !Bare metal faces can scratch a painted surface
Quantity
10 magnets with screws
Diameter
0.67 in (17 mm)
Thickness
0.2 in (5 mm)
Pull
Up to 22 lb each, Neosmuk says
Construction
Neodymium in a steel cup
Coating
Ni-Cu-Ni
Step 6 · Mounting tape 3M

3M VHB 5952 Double-Sided Mounting Tape, 1/2 in × 15 ft, Black

Foam tape for the sensor, the cables and steel docking plates.

Best for Fixing sensors and cable clips inside an enclosuresteel docking plates for magnetic toolspermanent mounting on metal and plastic

Not everything in a small enclosure deserves a screw. A motion sensor the size of a thumb, a cable that has to stay clear of the lid, a steel plate on a wooden shelf: these are jobs for a foam mounting tape. VHB is an acrylic foam with adhesive on both faces, and the foam gives enough to make full contact on surfaces that aren’t perfectly flat.

In this build it holds the sensor body and the cable runs inside the enclosure. It also gives the magnets somewhere to land where there’s no steel: tape a steel washer or a small plate to a wooden shelf and the light has a docking spot there.

Pro tip Wipe both surfaces with isopropyl alcohol, let them dry, then press the joint hard for several seconds. On a printed part, stick the tape to the smooth face that was on the print bed, not across the layer lines.

Why we like it

  • ✓Acrylic foam core conforms to surfaces that aren't perfectly flat
  • ✓Sticks to metal, plastic and painted surfaces, including most powder coats, per the listing
  • ✓Rated for service up to 250 °F
  • ✓A simple sizing rule from 3M — 4 sq in of tape for every pound of load
  • ✓1/2 in wide and 45 mil (1.1 mm) thick, so it fits narrow printed ledges

Keep in mind

  • !Permanent — not for anything you'll want to take apart or reposition
  • !Has to be applied between 50 and 100 °F; an unheated garage in winter is too cold
  • !Rough surfaces need more tape, 3M notes, and the layer lines on a print are a rough surface
Size
1/2 in × 15 ft (12.7 mm × 4.5 m)
Thickness
45 mil (1.1 mm)
Core
Closed-cell acrylic foam
Adhesive
Modified acrylic, both sides
Color
Black, red liner
Service temperature
Up to 250 °F
Application temperature
50–100 °F
Model
5952

More Workshop