electronut Programming & Embedded Systems - by Mahesh Venkitachalam

Automatic Lights for Desk Interior

This is a small project that I worked on last year. I have a desk made of dark wood, and it was very difficult to see what was inside the bottom draw. I put together a simple circuit with the schematic below - something which lit up a few strips of LEDs using a magnet stuck to the side of the door to switch a transistor on/off.

 

I also made a video with my old iPhone 3GS and uploaded it to youtube.

What blew my mind was the popularity of the post - in a few weeks, over 15000 people had seen the video, and the project was picked up by Hackaday and LifeHacker.

This has been a great inspiration for me to share the projects I am working on.

 

 

If you liked this article, please consider supporting my efforts by purchasing my book.

Python Playground, published by No Starch Press, USA, is a collection of imaginative programming projects that will inspire you to use Python to make art and music, build simulations of real-world phenomena, and interact with hardware like the Arduino and Raspberry Pi. Do check it out!