Octopus Electronic Bricks, you can use them to build electronics projects just as easy as piling bricks. By using Octopus electronic bricks, you may connect Arduino/Freaduino compatible boards easily with various digital, analog, and I2C/Uart interfaces. These breadboard-less firm connections are prepared to extensive modules like potentiometers, sensors, relays, servos even buttons, just plug and play.
Octopus Passive buzzer Brick is based on a passive buzzer, it could control the volume by PWM. The distinction is active buzzer stickers.
DIMENSION

SPECIFICATION
The power supply needs: 5V
Interface type: Analog
Pin Definition: S-Sigal V-VCC G-GND
Wide detecting scope
Fast response and High sensitivity
Simple drive circuit
Stable and long life
Size: 19x27mm
PACKAGE LIST
Module |
Quantity |
Passive buzzer Brick |
1 |
Analog Sensor Cable |
1 |
HARDWARE CONNECTION
Connect the buzzer to the P0 port on octopus:bit.

CODE
You can see the whole program from the link here: link
Or you can download it from the page below.
RESULT
The buzzer emits a series of sounds with a 2 Hz frequency.