September 19, 2016

Knock Controlled Night Light

Have you ever woken up in the middle of the night and stumbled around trying to turn on your light only to end up painfully bumping into things? With this project from Peter Javorsky you can build your own night light which will turn on with a simple knock.

Night Light

The project uses a piezo sensor to detect a knock and power a white LED strip meaning you can quickly and easily turn on or off your night light! The project comes with full schematics and code examples so there is nothing to stop you getting started. Checkout this link to find out more.  


If you're looking for a piezo module to use in this project checkout our sound and buzzer module:

Piezo ModuleIt can be used as a noise-maker driven by your microcontroller for audible feedback of events, and it can also be used as a knock-detector input to sense events and react to them. Includes a built-in 1M resistor to allow the piezo element to detect shocks. For more information and to order, please visit the product page.

Planning on making your own knock controlled night light? Let us know in the comments section below or on Facebook and Twitter.

Leave a comment

Comments have to be approved before showing up.