Skip to main content
It looks like you're using Internet Explorer 11 or older. This website works best with modern browsers such as the latest versions of Chrome, Firefox, Safari, and Edge. If you continue with this browser, you may see unexpected results.

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.