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 Sensor Brick is based on a passive buzzer, it could control the volume by PWM. The distinction is active buzzer stickers.
Specifications
- 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
Includes
- Passive Buzzer Sensor Brick - 1x
- Analog Sensor Cable - 1x
Hardware Connection
Connect the buzzer to the P0 port on octopus:bit.
Code
You can see the whole program from the link here: link
Result
The buzzer emits a series of sounds with a 2 Hz frequency.