Bonjour,
Je voudrais avoir un buzzer au lieu de la sonnerie de l'alarme AIS. (Je n'ai aucun amplificateur).
Je pensais que c'était simple avec GPIO, mais en fait, je ne sais pas comment faire ça.
Une idée?
You would need something like a transistor to use as a switch for the buzzer. RPI GPIO pins don't provide enough current for a buzzer directly.
(2018-03-13, 09:34 PM)abarrow Wrote: [ -> ]You would need something like a transistor to use as a switch for the buzzer. RPI GPIO pins don't provide enough current for a buzzer directly.
I know. But my first problem is to open a GPIO pin...
Thank you, but how AIS alarm can switch on GPIO pin ?
Don't know for sure, but I would think you could do it with Node Red.
Node-red, that's what I was thinking about. But I don't know how to do that.
OK, but I think it's too complicated.
Isn't it possible to use OpenCPN alarm system for switching on a GPIO pin?