Open fly74 opened 6 months ago
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
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.
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... 🤔 👼
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>```
Hardware differences:
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?
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.
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)