Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4824

Python • Re: GPIO and Buzzer activation

$
0
0
According to the product web page...
Funzionalità e dettagli

❧1☙ Il modulo cicalino elettronico attivo ha una sorgente di oscillazione interna, un trigger di basso livello, un'uscita sonora continua e emetterà un allarme finché è acceso.
...it has a low level trigger.

Therefore, the buzzer is on when the control signal is low, and off when the control signal is high. Exactly as you observed. It's working perfectly.

Your choices are to invert the logic in your code, or buy a different buzzer module with an active-high trigger.

Statistics: Posted by ame — Thu Mar 28, 2024 8:13 pm



Viewing all articles
Browse latest Browse all 4824

Trending Articles