How to Make Led Lights Turn on When Door Opens 

Do you have a room in your house where the light never seems to turn on when you enter? Or maybe you have a porch light that always seems out of commission.


A simple circuit using LED lights and door sensors can solve these common problems. There are many benefits of having led lights in your home.

One such benefit is that they can be set to turn on when a door opens. This is a great way to save energy, as the lights will only turn on when someone is home and not waste power when no one is there.

This blog post will show you how to make led lights turn on when door opens. We will also provide tips for choosing the right LED lights and door sensors. Read on for more information.


Creating a lighting system that activates when a door opens is a convenient and energy-saving way to illuminate a room or space. This can be achieved by integrating LED lights with a door switch, such as a magnetic reed switch or a microswitch. Before starting the installation process, gather the necessary materials and tools, including the LED lights, a door switch, wire connectors, wires, and a voltage tester. Additionally, ensure that the power is turned off at the circuit breaker to avoid the risk of electrical shock.

To make LED lights turn on when a door opens, begin by installing the door switch at the door frame. For a magnetic reed switch, mount one part of the switch on the door frame and the other part on the door itself, ensuring that they align properly when the door is closed. For a microswitch, mount it in a position where the door will press against the switch when closed. Next, wire the LED lights to the door switch, running wires from the LED light’s positive and negative terminals to the corresponding terminals on the switch. In most cases, the positive terminal of the LED light will connect to the switch, and the negative terminal will connect directly to a suitable ground point. If the LED lights require a power supply, wire it accordingly, following the manufacturer’s instructions. Once the wiring is complete, test the system by opening and closing the door to ensure that the LED lights turn on.

6 Advantages of Automating Your LED Lights

1. Energy Savings

Automating your LED lights is a great way to reduce your energy consumption. Lights that are on when no one is home can account for 10% of your total electricity bill.

By automating your lights, you can ensure that they are only on when someone is home, resulting in significant energy savings.

2. Convenience

Another advantage of automating your LED lights is the convenience it provides. Imagine coming home to a well-lit house without fumbling for keys in the dark.

Or, imagine being able to turn on all the lights in your house from your smartphone before you even walk in the door. Automating your LED lights can provide this level of convenience.

3. Enhanced Security

Automating your LED lights can also enhance the security of your home. For example, having lights turn on when someone enters a room can deter burglars and intruders.


Additionally, you can set your lights to turn on and off at random intervals when you are away from home to make it look like someone is home, even when no one is. This can further deter potential burglars and intruders.

4. Improved Mood

The right lighting can improve your mood and overall well-being. Studies have shown that exposure to certain types of light can increase energy levels, improve focus, and boost your mood.

By automating your LED lights, you can ensure that you are always exposed to the type of light that is most beneficial for you.

5. Reduced Risk of Fire

Another advantage of automating your LED lights is the reduced risk of fire. One of the leading causes of house fires is faulty wiring.

If your lights are automated, there is no need for wiring. This can greatly reduce the risk of a fire starting in your home.

6. Increased Lifespan

Finally, automating your LED lights can increase their lifespan. Automating your lights is not subject to the wear and tear of being turned on and off manually. This can extend the life of your LED lights and save you money in the long run.

What Tools & Supplies You’ll Need?

1. LED lights

2. Door sensors

3. Batteries

4. Wires

5. Wire cutters

6. Screwdriver

7. Drill

8. Wall plugs

9. Tape

10. Ladder (optional)

Step by Step Guide: How to Make Led Lights Turn on When Door Opens

Step 1: Choose the Right LED Lights.

The first step in automating your LED lights is to choose the right lights. Next, you will want to consider the lights’ wattage, color temperature, and beam angle.


The wattage is how much power the light uses and is measured in watts. The higher the wattage, the brighter the light. However, you will also want to consider the energy efficiency of the light.

The color temperature measures the light’s color on a Kelvin scale. A lower color temperature is a warmer light, while a higher color temperature is a cooler light.

The beam angle measures how wide the light beam is. A wider beam angle will provide more light but may also be less focused.

Step 2: Identify the Terminals of the Sensor.

The next step is to identify the terminals of the sensor. There are generally two sets of terminals, one for the power and one for the load.

The power terminal is where you will connect the power wire, and the load terminal is where you will connect the LED light. So first, you need to find the terminal with the “+” sign, which is the power terminal.

Step 3: Connect the Wires to the Sensor.

Now you will need to connect the wires to the sensor. First, take the power wire and strip about 1/2 inch of the insulation off the end.

Make sure to twist the bare wire, so there are no sharp edges. Then, insert the power wire into the power terminal on the sensor.

Make sure that the wire is fully inserted and tightened down. Next, take the LED light and strip about 1/2 inch of the insulation off the positive lead’s end.

Again, make sure to twist the bare wire, so there are no sharp edges. Now, insert the positive lead into the load terminal on the sensor. Again, make sure that the wire is fully inserted and tightened down.

Step 4: Connect the Power Wire to the Battery.

Now you need to connect the power wire to the battery. Take the stripped end of the power wire and insert it into the positive terminal on the battery. Ensure the connection is tight to have good contact between the wire and the terminal.


Step 5: Secure the Sensor with Double-sided Tape.

After you have made all the connections, you need to secure the sensor with double-sided tape. This will ensure that the sensor stays in place and does not move around.

Next, place the sensor on the doorframe and secure it in place with the tape. Finally, ensure that the sensor is level to detect when the door opens accurately.

Step 6: Test the Sensor.

Finally, you need to test the sensor to ensure it works correctly. Open the door and see if the LED light turns on. If it does, then you have successfully installed the sensor. If not, check all the connections to ensure they are tight and secure.

You may also need to adjust the sensor’s sensitivity if the door does not open enough for the sensor to detect it. Test the sensor several times to ensure it is working correctly.

You have successfully installed a sensor that will turn on your LED lights when the door opens. This can be a great way to save energy and money by automating your lights. Thanks for reading!

What Types of Led Lights Can You Use to Automate When Door Open?

1. Puck Lights:

Puck lights are one of the most popular types of LED lights. They are small, round, and flat, with many lumen output options.


Puck lights can be used for under cabinets, accents, tasks, and more. In addition, you can find puck lights with various base types, including plug-in, screw-in, and adhesive.

2. Tape Lights:

Tape lights are great for under cabinets, coves, accent lighting, and more. They come in strip form with an adhesive backing that makes installation a breeze. Tape lights are also cuttable, which makes them customizable to any space.

3. Strip Lights: 

Strip lights are similar to tape lights but do not have an adhesive backing. Strip lights are great for under cabinets, coves, accent lighting, and more.

They come in strip form and can be cut to size, making them customizable to any space. If you want to use strip lights but don’t want to deal with the adhesive, try using command strips or velcro to attach them to your desired surface.

4. Battery-Operated Lights:

Battery-operated lights are a great option if you want the flexibility to move your lights around without worrying about finding an outlet.

These lights come in various styles, including puck lights, strip lights, and more. Many battery-operated lights also have timers or remote controls so you can easily turn them on and off.

5. Motion Sensor Lights:

Motion sensor lights are a great way to automate your lighting. These lights will turn on automatically when they detect motion and then turn off after a set amount of time.


Motion sensor lights are great for security, energy savings, and convenience. You can find motion sensor lights in various styles, including flood lights, wall sconces, and more.

6. Recessed Lights:

Recessed lights are a great way to add ambient or accent lighting to any space. These lights are installed into the ceiling and can be directed to shine in any direction.

Recessed lights are available in various sizes, styles, and lumen output options. You can also find recessed lights with different base types, including plug-in, screw-in, and adhesive.

Few Helpful to Make Led Lights Turn on When Door Opens

Here we have given additional tips on how to make led lights turn on when door opens.

1. Always use a motion sensor light. One of the best ways to ensure your LED lights turn on when you need them is to install motion sensor lights. These are great for security purposes but can also be used to light up a dark area whenever someone walks by simply.

2. Check the batteries. If you have LED lights that run on batteries, then it’s important to check the batteries regularly.

Over time, batteries will naturally lose their charge and will need to be replaced. This is especially true if you live in a colder climate where batteries can freeze and become unusable.

3. Using a magnetic switch. If you want to be able to turn your LED lights on and off without having to touch them, then using a magnetic switch physically is a great option.

For example, these switches can be placed near the door so that when it is opened, the switch will be triggered and the light will come on.

4. Always secure the sensor behind the door. If you are using a motion sensor light, it’s important to ensure that the sensor is properly secured behind the door.


This will ensure that it doesn’t get bumped and turned off when the door is open and close but will also help to preserve battery power.

5. Don’t place the sensor on a wet surface. If you are using a motion sensor light, it’s important to ensure that the sensor isn’t placed on a wet surface. Otherwise, the sensor can become damaged and won’t work properly.

By following these few helpful tips, you can be sure that your LED lights will stay on when you need them and stay off when you don’t.

Motion sensor lights are a great way to keep your home well-lit and help deter crime. Just be sure to check the batteries regularly and keep the sensor secured behind the door.

Final Thoughts

When it comes to home security, one of the most basic features is a light that turns on when the door opens. This prevents people from sneaking around in the dark and provides homeowners with a level of safety and security.

If you’re looking to install this type of system in your home, there are a few different ways to go about it. In this blog post, we’ve walked you through the step-by-step instructions on how to make led lights turn on when door opens.

Although this project is a little more complicated than just plugging in a light switch, it’s not too difficult, and the result is worth it. We hope you try this project and let us know how it goes!

Leave a Comment