Blog

June 18, 2015 | Electronics |

555 Based Motion Sensing Night Lamp Kit



Night Lamp


This is a short note on my attempt in 2013 to create an electronics kit meant for kids - a DIY motion sensing night lamp based on the good old 555. Although I gave up on the project before I got to the final manufacturing stage, it was an educational experience for me.

Design

The basic idea is as follows: A PIR sensor triggers the 555 IC which lights up an LED for some time. So if something moves in the dark, the light will automatically come on. Here is the schematic:



Night Lamp

In the schematic above, the 555 is configured in a monostable mode - a timer, that is. T1 is used to invert the signal from the PIR sensor, as the ones I used go from LOW to HIGH when the triggered by motion. But Pin 2 of the 555 needs to go LOW to be triggered - hence the inversion. The values of C1 and R3 are chosen such that the timer lasts about 15 seconds. The output of the 555 goes to a two transistor constant current LED driver, and for the LED I chose a really bright one (Part No. C503C-WAS-CBADA151, 20 mA If, 24 cd brightness). Power supply is from a 9V battery.

PCB

This was my first real forway into PCB manufacturing. I used EAGLE, and messed up the first PCB:



Night Lamp


The second time around, I did get it right.



Night Lamp

Enclosure

I used laser cut acrylic for the enclosure. I attempted a screw-less cantilever design, and even had a slot for hanging the box on a nail. I used Inkscape and Sketchup to design the box. I had to make 7 iterations by the time I ironed out all the issues. Here’s lucky #7:



Night Lamp


This was 2 years ago. Today, I dusted off the circuit, changed the battery, and it still works.

Downloads

You can get all files for this project from my github link below:


https://github.com/electronut/night-lamp



Night Lamp


You can also order the PCB from the OSH Park link below:


https://oshpark.com/shared_projects/wEVw0g1x

Conclusion

Although the circuit worked well, I didn’t have the drive to perfect the enclosure and bring the kit to production. But it did get me started on the path to becoming an indie hardware maker. Some things I learned from this exercise:

  1. The cantilever design for enclosure was a bad idea. It breaks very fast.
  2. Be prepared to iterate over PCB and enclosure design.
  3. Hardware is hard (duh!). Even a small kit like this takes time to perfect.
  4. The last 5% takes forever.

References

  1. Practical Electronics for Inventors, Third Edition, by Paul Scherz and Simon Monk.

Consulting

Need help with a hardware project or product? Drop us an email at info@electronut.in. We offer consulting services on AVR and Nordic nRF BLE - hardware design, firmware development, prototyping, PCB design/assembly, sourcing and manufacturing. We can help you bring your product to market!


Questions/Comments

We love hearing from our readers. Email us at info@electronut.in for questions or comments on this article. If you found this article useful, please support us by buying some of our hardware products.


Please sign up for updates

Once in a while, we will send you an email update on the latest Electronut Labs projects and products. Your email address will never be shared or abused, ever.

2016 Electronut Labs. All rights reserved.