Imagine your desks, doors, and floors turning into an interface that responds to knocks. What if you could control room lighting with the silent knocks? What if you could customize the knock interaction for each object? In this assignment, I built an interactive system that is able to detect and record knock patterns. Used a piezo sensor to detect the knock vibrations and a button to trigger interrupt to switch 2 different modes – detect and record. Knock detection result is displayed on a console.
The system consists of 6 states in total – wait / read / output for detect mode and wait / read / record for record mode.