INFOSTATION CORP
  • Home
  • Gallery
  • Contact
  • About
  • Digital Goods
  • Home
  • Gallery
  • Contact
  • About
  • Digital Goods
Search

Sensor - Passive Buzzer Module

27/5/2019

Comments

 
A passive Buzzer module can produce a range of tone or sound, like a speaker. It can generate tones between 1.5 kHz up to 2.5 kHz. This buzzer can be found in telephones, alarms, computers, printers,  electronic toys and other electronic products that need to produce tones or sounds. This module has 3 pins, The one with the 'S' label is the signal in which it should be connected to digital output in the Arduino. The one with '-' label is a GND in which it should be connected to the GND pin of the Arduino. The middle pin is not used, therefore no connection to any pins of the Arduino.
Picture
Code example- Simple sound for passive buzzer module

    
Upload this code to the arduino and you will hear sound from the passive buzzer.  See below for screenshots of my passive buzzer demo. I'm using my Arduino Mega ADK for this demo.
Picture
If you want to hear some familiar songs, there are many available samples in the internet.  Try to get the code from the link and you will hear the fur elise song by Beethoven from the passive buzzer. Enjoy!
Comments

    Noel Anonas

    Author, coder, Innovator
    email:
    ​noelqanonas@gmail.com
    My Resume
    ​Couse Outline for Java

    Picture

    Archives

    July 2019
    June 2019
    May 2019
    June 2017

    Categories

    All

    RSS Feed

    View my profile on LinkedIn
  • Home
  • Gallery
  • Contact
  • About
  • Digital Goods