Project

rpi-pddb

0.0
No commit activity in last 3 years
No release in over 3 years
Generates a buzzing sound using a Raspberry Pi + piezo drum disc sounder.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.2.0, ~> 0.2
 Project Readme

Generate a buzzing sound using Raspberry Pi + Piezo drum disc sounder + RPi-PDDB gem

A photo of a piezo drum disc sounder with milk bottle top sound amplifier

To run the following code I hooked up a piezo drum disc sounder with the red wire connected to pin 4 and the black wire connected to ground on the Raspberry Pi. To amplify the sound I placed the buzzer in an old plastic milk bottle top.

Example code

require 'rpi-pddb'

r = RPiPDDB.new(4)
r.buzz

Output

Listen to the buzz generated.

Resources

rpipddb gem buzzer raspberrypi# rpi-pddb