How to make a speaker for the Raspberry Pi with a piezo element
The addition of sound to a Raspberry Pi It is as simple as connecting an HDMI monitor with speakers or speaker amplified audio port placement. Nevertheless, Ben Miller wanted something simple and portable to generate simple sounds, so he used the GPIO pins of the Raspberry Pi to drive a piezoelectric element to produce sounds.
Small metallic piezoelectric elements used piezoelectricity to detect the vibration and, with the proper wiring, they transmit the vibration signal.
This tutorial will show you how to connect a piezo element of low cost to your Raspberry Pi to produce simple ringtones.
Read the tutorial | Press here
Autor: Ben Miller