Avatar

Color-changing lamp emulates a “touch” sensor with a microphone

Jun 10th, 2020 | by: Alice Kun
Category: Electronics LEDs
Views 177

YouTuber “Peterbiglab” wanted an input for his DIY color-changing lamp, but didn’t want to use buttons or even have it detect claps, so he decided to make it respond to touch.  Instead of using a capacitive sensor or force-sensitive resistor, he placed a microphone inside his lamp to hear inputs. An op-amp was also included to pull the voltage up to a level that can be read by its Arduino Nano.

PHOTO GALLERY

With code implemented to keep it from picking up on music and other sounds, the device can now be controlled with finger taps: two to switch colors, three to turn on/off , or even four to enter Hue mode. It’s an ingeniously-simple sensing method, which works well here, and could be applied to a variety of other projects.

0 Comments

Login or Sign Up to post comments on this project.