Skip to main content

Arduinos: Piezo Tone

Physical Computing, the Internet of Things, Sensors and Servos

Goals

Goals

  • Learn to detect knock from piezo analog sensor and read serial monitor
  • Learn how to translate from notes to frequency in Hertz
  • Learn to translate simple sheet music to letters and durations
  • Learn how to include other files in your sketch (pitches.h)
  • Learn how to use tone() to create simple melodies out of piezo
University of Florida Home Page

This page uses Google Analytics - (Google Privacy Policy)

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.