Posts | Comments

Planet Arduino

Archive for the ‘Color Changing Lamp’ Category

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.

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.



  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook