Part #/ Keyword
All Products

DIY Motion Sensor Nightlight: Creative Lighting Craft

2023-09-16 11:56:17Mr.Ming
twitter photos
twitter photos
twitter photos
DIY Motion Sensor Nightlight: Creative Lighting Craft

Discover the delight of crafting your own personalized nightlight using readily available components such as spare batteries and LED lights.

image.png

The primary components of this motion-sensor nightlight project include the HC-SR501 module, a light-dependent resistor, the S8050 transistor, LED lights, a lithium battery, a DC boost module, and a charging module.

image.png

The lithium battery in use boasts a rated voltage of 3.7V. To ensure a consistent 5V output for the HC-SR501 module, you need to incorporate a compact boost module.

image.png

For battery management and protection, we employ the widely-used TP4056 charging and discharging module. This module safeguards against overcharging and over-discharging, ensuring the longevity of your nightlight.

Follow the comprehensive wiring diagram, skillfully solder the connections for each module, create necessary openings, and secure them firmly with hot glue. 

image.png

image.png

In the event that you lack a hole punch tool, a soldering iron can serve as a suitable alternative.

image.png

image.png

To house your nightlight, consider utilizing an 86 surface-mounted junction box. Make the necessary adjustments to accommodate two 18650 batteries, securing them on the top portion while reserving space at the bottom for the charging module.

image.png

For the output terminal, utilize connectors for added versatility. This allows you to easily connect various lights in different locations, such as 5V LED strips. Alternatively, introduce a resistor to regulate voltage for the LED lights. For those seeking even greater flexibility, consider implementing an adjustable boost module to elevate the output to 12V for mainstream light strips. Adjust brightness levels either by reducing voltage or incorporating resistors in series.

image.png

image.png

image.png

While this project has demonstrated practicality, it's worth noting that the sensor may activate in low-light conditions. If you find it activating too early with the 5516 sensor, consider upgrading to the 5539 sensor. For further fine-tuning, you have the liberty to customize the sensitivity to meet your specific preferences.

* Solemnly declare: The copyright of this article belongs to the original author. The reprinted article is only for the purpose of disseminating more information. If the author's information is marked incorrectly, please contact us to modify or delete it as soon as possible. Thank you for your attention!