Arduino KY-012 Active buzzer module

Buy the 37 in 1 kit at Amazon

Buzzer Module

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.

Schematic

Module pin – = GND Module pin S = +5V

Connection to Arduino

  • Arduino digital pin 8 –> Module pin S
  • Arduino GND –> Module pin –

Example code