Working with Piezo

Working with Piezo © GPL3+

This project demonstrates working with piezos and Arduino.

  • 500 views
  • 0 comments
  • 3 respects

Components and supplies

Apps and online services

About this project

working with Piezo

Code

Working with PiezoArduino
const int buzzer = 3;

void setup()
{
  pinMode (buzzer, OUTPUT);
}

void loop()
{
  digitalWrite(buzzer, HIGH);
  delay(200);
  digitalWrite(buzzer, LOW);
  delay(200);
}

Schematics

Breadboard Diagram
Make the connections as shown in the figure above.

Piezo: J15 and J20 (breadboard)
LED: Anode and Cathode to g20 and g19 respectively on the Breadboard.
Resistor: f19 and d19 on the breadboard.
Jumper wire (red): connecting the PIN3 (of Arduino) and f20 (of breadboard)
Jumper wire (black): connecting the GND (of breadboard) and -ve (of breadboard)
Jumper wire (black): connecting f15 (of breadboard) and -ve (of breadboard)
Jumper wire (black): connecting b19 (of breadboard) and -ve (of breadboard)
Breadboard working with piezo tinkercad sw1djaknxn

Comments

Similar projects you might like

Piezo Tunes

Project showcase by circuito.io team

  • 4,786 views
  • 3 comments
  • 14 respects

Multi-Source Controlled USB Lamp

Project tutorial by Amal Mathew

  • 3,622 views
  • 2 comments
  • 20 respects

Piezo Christmas Songs

Project showcase by joshi

  • 17,936 views
  • 18 comments
  • 50 respects

DHT11 Sensor with LEDs and a Piezo Speaker

Project tutorial by Tech with Matthew

  • 7,461 views
  • 4 comments
  • 21 respects

Alarm Clock and Timer Working Standalone

Project showcase by ozyRonald

  • 8,313 views
  • 9 comments
  • 11 respects

Working with Arduino, Node.js and Angular

by rabBitBR

  • 1,471 views
  • 1 comment
  • 12 respects
Add projectSign up / Login