Arduino UNO- Active Buzzer Module KY-012 YL-44 - Steps2Make

Skip to toolbar Login Menu Sep 25

Buzzers come in two varieties, Active and Passive. An active buzzer just outputs a single tone when you connect it to Vcc and ground. A passive buzzer is similar to a loudspeaker and needs a signal to make it work.The YL-44 is a small buzzer module which operates around the audible 2 kHz frequency range. It is an active buzzer, which means that it produces sound by itself, without needing an external frequency generator. Taking the I/O pin LOW will turn the buzzer ON and taking this pin HIGH will turn the buzzer OFF (as will leaving this pin OPEN). This device could be controlled by PWM.

Arduino Connections with Active Buzzer Module (KY-012)

Check connection sequence as per you module

Note: Make sure (+) to +ve and (-) to GND, S or IO to the Arduino IP pin 8

Different modules use different connection sequence

Arduino Program for Active Buzzer Module

Note: YL-044 requires program similar to Passive buzzer

By simply turning IO line HIGH buzzer can be turned on. No need to generate oscillating signals.

//Example code KY012 active buzzer//Steps2Make.comint speakerPin = 8;void setup () { pinMode (speakerPin, OUTPUT);}void loop () { analogWrite (speakerPin, 255); delay (50); analogWrite (speakerPin, 0); delay (10);}

This is a active buzzer so its easy in use. You just apply voltage to the buzzer and it makes sound. Disadvantage is that you can’t determine the frequency of the sounds, for this you need a passive buzzer.

Manoj Thakur Manoj ThakurPublished on Sep 25, 2017

Responses

Cancel reply

You must be logged in to post a comment.

Connect With: Facebook Google

AUTHOR

Manoj ThakurManoj Thakur0 Comments15.68k Views 5 Followers More by Manoj Thakur
  • NodeMCU NTP Digital Clock
  • Arduino 5V relay module KY-019
  • Arduino Photo resistor module (LDR) KY-018
  • Arduino Mercury Tilt Switch Module KY-017
  • Arduino Temperature and humidity sensor module KY-015

Related Posts

  • Arduino On Time Delay Relay 7.06k Views
  • Arduino 5V relay module KY-019 32.44k Views
  • Arduino Photo resistor module (LDR) KY-018 12.5k Views
  • Arduino Mercury Tilt Switch Module KY-017 7.27k Views
  • Arduino Temperature and humidity sensor module KY-015 12.95k Views

Categories

  • Arduino
  • Arts & Craft
  • Cooking
  • Decoration
  • DIY
  • Electronics
  • Gardening
  • IoT
  • Metal Work
  • Programming
  • Raspberry Pi
  • Uncategorized
  • Woodwork

Welcome back!

Sign into Steps2Make
Fill the form

Username

Password

Remember Me Forgot password?

Sign In

Connect With: Facebook Google

We will never post to Twitter or Facebook without your permission.

Login

Steps2Make

Sign into Steps2Make
Lost Password
Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.

Username or E-mail:

Reset Password Lost Password

@

Not recently active

Tag » Arduino Yl-44