Assignment 7: Passive Buzzer

Component used:

  1. Elegoo Uno R3
  2. Passive buzzer
  3. Female to Male Dupont wire

    In this experiment, we used the passive buzzer to generate different sounds by changing different frequencies. The passive buzzer is like an electromagnetic speaker which requires an AC signal to produces the sound. Rather than producing a tone automatically, a changing input signal produces the sound.
    Firstly we connected the buzzer to the UNO R3 board, one wire connected to the pin 8 and the other one connected to the ground. We generated eight different sounds having different frequencies


    Code:



Leave a comment