Interactive Ambient Desk Lamp
by tapish101 in Workshop > Lighting
389 Views, 6 Favorites, 0 Comments
Interactive Ambient Desk Lamp
This is an interactive desk lamp which changes its colour with a tap at the top, and turn on and off when hit on the desk. It's as simple as it looks.
Supplies
- arduino (nano/pro mini)
- piezo disc
- Sprint, nut, metal disc
- Ws2812b led strip
- Whatever you prefer for encloser
- magnets
- Scrap pieces of copper, palstic
- 5V source
- paper and glue
The first step is to make the encloser. For me, the encloser is the centre paper part of a aluminium foil used to wrap the food. I have cut the parts of it to make space for the led to shine. Glue the ws2812b led to another circular folded paper smaller in dimension then the encloser and connect all the Vcc, Gnd in parallel and data line in series.
To detect the tap at the top, a piezo disc is used and to detect the hit on table i have used a more simplified version of vibration sensor (take a look). It’s simply a nut hanging on a sprint, when hit hard enough it make contact to the bottom metal plate which is pulled high, when the nut hits it’s also pulled high and an interrupt is triggers which makes the lamp on and off.
To power up the lamp i made custom connector, short of like pogopin connector, and for allignment use the magnet.
You can get the code from my github page. This step is all about making the lamp look nice. Take your time come up with some interesting design ideas, make it unique.