Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTTL Buzzer #5048

Open
fly74 opened this issue May 6, 2024 · 7 comments
Open

RTTL Buzzer #5048

fly74 opened this issue May 6, 2024 · 7 comments
Labels
Status: Needs Info Needs more info before action can be taken

Comments

@fly74
Copy link

fly74 commented May 6, 2024

Hi Devs,

I have 2 ESP8266 and a wired rttl buzzer on each. One of them send a permanent beep after boot, the other correct only play rttl rythms.
Any idea what could be the difference?

Buzzer is wired to D3 (GPIO-0)

@TD-er
Copy link
Member

TD-er commented May 6, 2024

Is this some active buzzer, which generates a beep of a specific freq. when the pin is high?
Or is it one that only acts on changes of the pin state?

GPIO-0 is pulled high as it needs to be high during boot or otherwise the ESP will enter flash mode.
So you could set the bootstate in the Hardware tab to "low" for GPIO-0.

If it is a buzzer which only acts on changes of the pin state, then I honestly have no idea what might be wrong here

@TD-er TD-er added the Status: Needs Info Needs more info before action can be taken label May 6, 2024
@fly74
Copy link
Author

fly74 commented May 6, 2024

If it is set to low, it boot without beep, but after playing rttl sequence it beeps endless. The other does ESP not. Same release. It looks like GPIO-0 keeps high after playing rttl.

@tonhuisman
Copy link
Contributor

I have seen buzzers do this, on different GPIO pins. But this should be solved when using the new RTTTL library, introduced a couple of months ago.
What exact builds are you running on these ESPs? As some builds have the new RTTTL library excluded for size reasons.

NB: This would have been a great question for the forum... 🤔 👼

@fly74
Copy link
Author

fly74 commented May 6, 2024

Both use:

<html>
<body>
<!--StartFragment-->
Firmware
--
Build:⋄ | 20240414 - Mega
System Libraries:⋄ | ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support
Git Build:⋄ | mega-20240414
Plugin Count:⋄ | 47 ["Normal","No Debug Log"]
Build Origin: | GitHub Actions
Build Time:⋄ | Apr 14 2024 13:45:00
Binary Filename:⋄ | ESP_Easy_mega_20240414_normal_ESP8266_4M1M
Build Platform:⋄ | Linux-6.5.0-1017-azure-x86_64-with-glibc2.35
Git HEAD:⋄ | HEAD_b4e7d51

<!--EndFragment-->
</body>
</html>```

@fly74
Copy link
Author

fly74 commented May 6, 2024

Hardware differences:

Screenshot 2024-05-06 145658

@fly74
Copy link
Author

fly74 commented May 6, 2024

I have seen buzzers do this, on different GPIO pins. But this should be solved when using the new RTTTL library, introduced a couple of months ago. What exact builds are you running on these ESPs? As some builds have the new RTTTL library excluded for size reasons.

NB: This would have been a great question for the forum... 🤔 👼

@tonhuisman Have you a "normal" build with the new library?

@thomastech
Copy link
Contributor

thomastech commented Jul 30, 2024

If it is set to low, it boot without beep, but after playing rttl sequence it beeps endless. The other does ESP not. Same release. It looks like GPIO-0 keeps high after playing rttl.

Of course this could be a library issue, but it could also be that an "active" buzzer (with built in oscillator) is being used. Keep in mind that the RTTL Buzzer plugin expects a passive speaker/piezo (without osc) device with a driver circuit.

That is to say, the active type will continue to produce a tone on a steady logic level. Their trigger states vary, some beep on logic high level, some on logic low level.

I suggest you post photos of the buzzer module(s) your are using. Or provide links to their online catalog page. This will allow someone to confirm you have the required type of buzzer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Info Needs more info before action can be taken
Projects
None yet
Development

No branches or pull requests

4 participants