Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn to create an Arduino-based "knock, knock" escape room puzzle in this 34-minute video tutorial. Discover how to build a system that recognizes a specific rhythm or secret knock pattern to unlock a maglock. Explore two versions: one using a Piezo sensor for vibration detection and another employing a microphone input for percussive sound recognition. Gain insights into normalizing player input for tempo-independence, configuring input sensitivity, and setting error tolerance. Follow along with detailed explanations of wiring, circuit layout, and Arduino code implementation. Understand key concepts such as pattern coding, variables, program loops, and visual feedback. Access downloadable resources, including Arduino code, wiring diagrams, and component lists, to recreate the project.
Syllabus
Introduction
Wiring
Circuit Layout
Arduino Code
Pattern Code
Variables
Mag Lock Variable
Global Variables
Initialize Lock
Sample Noise
Playback Not Pattern
Normalized Knock
Knock Pattern
Program Loop
Not Detected
Jumping Around
Visual Feedback
Input Pattern
Counting Knocks
Carrying on Listening
Recording the Difference
Looping
Debug Line
Normalize
Debug
Normalized Input
Number of Knocks
Delays
Total Error
All Codes
Happy Chirp
Outro
Taught by
Playful Technology