De Anza Tech
  • Home
  • Digital Design
    • GIMP >
      • GIMP 1
      • GIMP 2
      • GIMP3
      • GIMP 4
    • INKSCAPE
    • Documents
    • Presentation >
      • Keynote
      • Powerpoint
    • Sketchbook Pro
    • Comic Life
    • Mud box
  • 123D Design (3D Printing)
  • Engineering/Physics
    • Physics of Sound
    • Hydraulics
    • Solar Boat
    • Moustrap Car
    • WInd Power
    • Flight
    • Gears and Pulleys
    • Mission To Mars
    • Beetle Bot
  • Robotics
    • Arduino LED's
    • Arduino Buzzer
    • LCD Display
    • Servos
    • Motors
    • Ultra Sonic Sensor
    • Weather Sensors
    • Crawler Bot
    • Robot Arm
    • Robot Rover
  • Coding
  • Contact
  • Intermediate Projects
  • 123D Design Tutorials
  • Physics Games
  • Actobitty Tutorials

Piezo Buzzer

In this module students will learn to attach a Piezo Buzzer to the Arduino board. A Piezo buzzer is a type of speaker this is able to make a limited range of sounds or musical notes. This type of component is considered another type of sensor that can be attached to the Arduino Board.

Arduino

Buzzer Project #1 - On and Off

After you get it to work, change some of the parameters like the delay time.

Buzzer Project #2 - La Cucaracha

Buzzer Project #3 - Shave and A Haircut Variation

In this project you will experiment with the Arduino IDE. You learn how to play a melody by including an array that declares the notes. This is different than using Modkit because the notes are already built into the Modkit software. Here you will need to include the musical notes as part of the program.

Buzzer Project #4 - Photo Resistor (Theramin)

Buzzer Project #5 - Piezo with Potentiometer

Buzzer Project #6 - Play Melody with Button

Follow the wiring sketch to wire the device correctly. Then start the Arduino IDE (app) and then type in the code as shown. Once done, the device should play a song when the the button is pushed.
buttonmelody4.txt
File Size: 2 kb
File Type: txt
Download File

Your browser does not support viewing this document. Click here to download the document.

Buzzer Project #7 - Button Piano

Follow the wiring sketch to wire the device correctly. Then start the Arduino IDE (app) and then type in the code as shown. Once done, try to play Mary had a little lamb. Be sure to check all the wiring. Use the small buttons in your kit. Although the code is written for 9 buttons and sounds, you will only use 5 buttons. (You should review Buzzer Project #2 to see how to add the pitches.h  file.)
piano.txt
File Size: 2 kb
File Type: txt
Download File

Your browser does not support viewing this document. Click here to download the document.
Powered by Create your own unique website with customizable templates.