Page 1 of 1

NodeMcu and buzzer

Posted: 21 Jan 2019, 17:34
by pier1981
Hi all, i'm newbie, i have a nodemcu D1 mini, and with espeasy i'm trying to realize a simple alarm with buzzer.
I have a passive buzzer, same as this https://www.dx.com/p/passive-low-level- ... EXy283SIuU
My problem is when i active the buzzer with command tone or rtttl, the gpio state remain in status high and the buzzer after 1 min it becomes hot and i must shut down the d1.
I can't understand how to set gpio in state low after the tone or melody, as is possibile with the pulse command, i need a capacitor or resistor or is possible via espeasy?
My current version is Release mega-20190116
Thanks to anyone who can help me.
Bye

Re: NodeMcu and buzzer

Posted: 22 Jan 2019, 09:27
by kimot
Send other command which sets gpio low or do it by rules with Timer.

Re: NodeMcu and buzzer

Posted: 22 Jan 2019, 15:49
by pier1981
hi Kimot, thanks , I had not really thought about it :)

Bye

Pier