NodeMcu and buzzer

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
pier1981
New user
Posts: 3
Joined: 21 Jan 2019, 17:20

NodeMcu and buzzer

#1 Post by pier1981 » 21 Jan 2019, 17:34

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

kimot
Normal user
Posts: 190
Joined: 12 Oct 2017, 20:46

Re: NodeMcu and buzzer

#2 Post by kimot » 22 Jan 2019, 09:27

Send other command which sets gpio low or do it by rules with Timer.

pier1981
New user
Posts: 3
Joined: 21 Jan 2019, 17:20

Re: NodeMcu and buzzer

#3 Post by pier1981 » 22 Jan 2019, 15:49

hi Kimot, thanks , I had not really thought about it :)

Bye

Pier

Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests