Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Knock, Knock! Arduino Escape Room Puzzle

Playful Technology via YouTube

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

Reviews

Start your review of Knock, Knock! Arduino Escape Room Puzzle

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.