Students will
- Connect and test a piezo output
- Use tone and noTone to control audible feedback
- Design distinguishable sounds for different states
Arduino Uno R3
Generate clear piezo feedback and use frequency, duration, and silence to communicate program state.
Reviewed connection map
Read before uploading
const int PIEZO_PIN = 8;
void setup() {}
void loop() {
tone(PIEZO_PIN, 440, 150);
delay(300);
tone(PIEZO_PIN, 660, 150);
delay(700);
}Optional engineering record
Choose the prompts that help students explain predictions, evidence, debugging, and transfer. Saving creates a new entry in this browser’s Rudi notebook.
Use these prompts if they help students capture evidence, decisions, or questions. You do not need to complete every prompt or create an entry at every step.
Verify the piezo connection, output pin, frequency, duration, and whether the actual part requires a different drive method.
Use a duration with tone or call noTone before leaving the state.
2026 middle school standards
These are evidence-based crosswalk candidates for curriculum review—not a claim of official alignment.
Students trace variables, selection, or iteration in the supplied sketch and connect code to physical behavior.
Lesson evidence: State-to-frequency traceStudents isolate variables, compare observed behavior with the intended purpose, and document a revision.
Lesson evidence: Audible response test recordpower-and-signals · sketch-foundations
Starting point, not verified curriculum. Review the actual hardware, circuit, code, power requirements, and classroom conditions.
After teaching this lesson