Interactive Ambient Desk Lamp

by tapish101 in Workshop > Lighting

389 Views, 6 Favorites, 0 Comments

Interactive Ambient Desk Lamp

IMG_20210710_085751__01-01.jpeg
Ambient desk lamp with a twist

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

IMG_20210701_172526__01.jpg
IMG_20210702_150213_Bokeh__01.jpg
IMG_20210702_150314__01.jpg

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.

IMG_20210703_191439__01.jpg
IMG_20210703_191506__01.jpg

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.

VID-1626611555900.gif
IMG_20210704_063746__01.jpg
IMG_20210709_193643__01.jpg
IMG_20210709_193650__01.jpg

To power up the lamp i made custom connector, short of like pogopin connector, and for allignment use the magnet.

Ambient desk lamp with a twist

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.