Categories
Linux News Technology

This color-changing lamp emulates a “touch” sensor with a microphone

Reading Time: 2 minutes

This color-changing lamp emulates a “touch” sensor with a microphone

Arduino TeamMay 18th, 2020

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.

[youtube https://www.youtube.com/watch?v=3TxUxZ69AYo?feature=oembed&w=500&h=281]

Website: LINK

Facebook Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.