Electrónica: Piezo/Buzzer ativo e passivo

Data de publicação: Mar 09, 2020 6:0:47 PM

Piezo ou buzzer são sinónimos mas...

O [Kit Arduino] trás 2 piezos/buzzers quase iguais na aparência, mas que na realidade são diferentes:

  • Um deles tem um autocolante no topo (podem removê-lo!) e é fechado em baixo. É um buzzer ativo.

  • O outro não tem o autocolante e tem os fios condutores à mostra em baixo. É um buzzer passivo.

Sobre o buzzer ativo (tem oscilador interno)

O buzzer ativo emite som directamente sem necessidade de um circuito externo.

Repare na imagem de cada um deles: o buzzer ativo é mais alto.

Para o testar basta ligá-lo diretamente a uma bateria de 3V a 9V.

Sobre o autocolante "Remove seal after washing" (EN):

Many processes use "no-clean" flux today and you can remove the sticker after manufacture. Others use water soluble flux and wash the finished assembled boards in what are basically dish washers.

You can leave it on for a quieter buzzer - and a different frequency. Or remove it for a much louder buzzer plus get the tones intended in the software. (Move your finger around partly covering the hole while a buzzer is running and you will see the many frequency shifts caused by changing the acoustics). A lot of Chinese manufacturers leave them on, maybe not knowing what it says.

They also keep out dust and critters. But for that I would use something more permanent.

Sobre o buzzer passivo (não tem oscilador interno)

Neste tipo de buzzers vamos precisar de um oscilador externo para que ele consiga emitir som.

Neste caso, vamos conseguir produzir diferentes sons, como por exemplo, através da função tone( ) no Arduino.

Como distinguir se o buzzer é Ativo ou Passivo?

Um buzzer ativo consegue gerar um som usando um oscilador interno, assim para emitir som basta ser ligado a uma simples bateria.

Um buzzer passivo necessita de um sinal AC para produzir um som. É idêntico a um altifalante eletromagnético, onde o som é produzido pela alteração constante de sinal de entrada.

Para identificarmos o tipo de buzzer basta ligá-lo uma bateria de 9V, por exemplo, se ele emitir um som então trata-se de um buzzer activo.

Mais info (EN):

It's incorrect to call it a buzzer, that is an error in the documentation. The correct term is transducer. Also sometimes called "piezo disc".

There are actually two main types of piezo buzzers, passive and active:

Passive buzzer, such as the one included with the kit, requires the frequency to be generated externally, such as using tone() on your Arduino.

This allows you to control the pitch of the buzzer but there are some limitations imposed by the microcontroller having to generate the frequency.

An active buzzer contains circuitry to generate the frequency internally so you only have to provide power and it buzzes.This means you can use digitalWrite() to turn it on or off, or even control it without an Arduino. The downside to an active buzzer is you have no control over the pitch so you can't play songs on it, etc.