DIY Security Light – Motion sensors

For a long time I’ve been looking into security lights. There are some on Amazon that doesn’t require battery replacement or a connection to your solar bank. Instead they contain their own batteries and a solar panel for recharging the batteries.

I’ve debated buying them because Washington State during off seasons do not get enough sun to recharge the security light batteries. The only option was to find a security lighting system that would connect to my solar battery bank.

It became more and more difficult for me to decide which brand so instead I built my own.

Here are the parts.

  • 16 gauge wire.
  • Electronic project box.
  • Motion sensor module.
  • LED light.
  • Two way switch.
  • Load (12VDC) battery
  • Tools
  • Wire Terminals
  • Glue gun
  • Drill & bit (drill bit should be large enough for 4 wires to go through a hole)

Electrical Diagram

Diagram for adding a motion sensor to the flood light
Motion sensor module electrical diagram

Prepare the wires

  • Strip both ends of the wire
  • Positive wire colors are: Red and yellow
  • Negative wire colors are: Black and blue
  • Connect one set of wires to the terminals on the module
  • Add the other end to the wire terminals. Crimp or solder the wires to the terminals.

Connect the sensor to the light and battery

  • Connect the red wire to the 12 volt dc positive terminal
  • Connect the black wire to the 12 volt dc negative terminal
  • Connect the yellow wire to the positive wire on the LED light
  • Connect the blue wire to the negative wire on the LED light

Your motion sensor should trigger right away.

Connecting a switch

You can connect a switch by putting the switch between either the positive or negative wire coming from the load (battery). My diagram above shows a more complicated connection using a two-way switch.


  • I can turn the light on by passing the sensor
  • I can turn the control over to the sensor

Adding an alarm

You can buy electronic buzzer alarms from Amazon and also add them to your circuit. They are extremely loud and ear piecing .

Privacy & blocking cold or heat

My first design attempted to block out the sun and provide some privacy. There wasn’t much to my van in the beginning. Although I had foam board on the windows to black them out, I didn’t create one for the front.

My privacy, heat retention and sun protection curtains, As of December 2019

Anyone looking through the windshield from the streets could look in my van, so I used a sun screen cover.

Example of the foam board on my front drivers side window.
Velcro hold the material to the back window
The PVC pipe wraps the entire living space.
Side door entry. Unpainted PVC rod, and the custom curtain.