Buzzer

Easy to use, 100% Lua-based event scripting framework.
Post Reply
rene2716
Posts: 6
Joined: Friday 04 May 2018 11:53
Target OS: Raspberry Pi
Domoticz version:
Contact:

Buzzer

Post by rene2716 » Saturday 16 June 2018 10:43

Hi,
I'm looking for a way to connect a buzzer to gpio and control it by dzvents or blocky, someone have an example for this

SweetPants
Posts: 2350
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V4.10213
Location: The Netherlands
Contact:

Re: Buzzer

Post by SweetPants » Saturday 16 June 2018 12:10

All depends on the buzzer type, as you did not post it specs it's a wild guess. Raspberry GPIO are 3.3v, so you probably need an external transistor circuit to connect the buzzer. Depending on the current the buzzer draws, you probably need an external powersupply also.
Ubuntu 16.04.5 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (from source)

rene2716
Posts: 6
Joined: Friday 04 May 2018 11:53
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Buzzer

Post by rene2716 » Saturday 16 June 2018 15:34

Well the electronics part I will manage, looking for how to handle a gpio pin trough dzvents or blocky. Want to use it for arm and disarm signal for my robotic home alarm with zwave devices

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest