Arduino Buzzer Chat Control

What is buzzer?

A buzzer is an audio signaling device which is mostly used as an alarming device or a user input feedback in devices. Buzzers can make beeping sounds in different frequencies and durations. Typical applications including siren, alarm devices, fire alarm. It is widely used in household appliances, electronic toys game machine and many more industries. The big advantage of a buzzer is the wide spectrum of volume. For example it is used in high volume as an alarm system and on low volume as a children’s toy. By appending sounds you can generate music with it. Sounds are generated in different frequencies by sending PWM signals from the microcontroller. PWM is a square shaped signal. The frequency of the PWM is determined by the number of squares generated in a second. You can learn more about PWM on the internet. The duration of the PWM signal determines the duration of the beep.

You can chat with the device at the Ozeki 10 as the video shows below.

Possible commands

  • help - Prints the help
  • on - Turn on
  • off - Turn off
  • 0-65535 - Frequency of the sound
  • 0-65535, 0-65535 - Frequency of the sound, Duration given in millisec
  • More information