Naoki Yokoyama
About MeCVResearchGitHubGoogle Scholar

Also works with claps, from anywhere in the room!

My bed and my light switch are on opposite corners of my room. Instead of walking over to the switch from the bed and back, I thought it would be fun to make a project like this to solve the problem. I used an electret micrphone to listen for a double clap. I also happened to have a nice fan that came with an IR remote that the last tenants left, so I upgraded the project to include an IR receiver, and changed the microcontroller to an ATtiny85. Also, this was my first time doing a project with an AVR microcontroller!

I 3D printed the servo mount, as well as the horns the servo uses to flip the switch.

ATtiny85

This is just some footage I have of when I was learning how to program the ATtiny.