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

new [BUG] with Christmas Edition 2024 ---> RTTTL doesn't full play #5212

Open
dyter69 opened this issue Jan 4, 2025 · 7 comments · May be fixed by #5213
Open

new [BUG] with Christmas Edition 2024 ---> RTTTL doesn't full play #5212

dyter69 opened this issue Jan 4, 2025 · 7 comments · May be fixed by #5213

Comments

@dyter69
Copy link

dyter69 commented Jan 4, 2025

Command rtttl:

  • Work with ESP_Easy_mega_20240822_collection_B_ESP32_IRExt_4M316k

  • Not work with ESP_Easy_mega_20241222_collection_B_ESP32_IRExt_4M316k

(I play with 5V buzzer on GPIO15 pin)

@tonhuisman
Copy link
Contributor

I'll check if this command was excluded from the build or has stopped working for another reason.

@tonhuisman
Copy link
Contributor

tonhuisman commented Jan 4, 2025

@dyter69
I've found the culprit, AFAICS, and applied a fix. This Actions run is building the PR, can you please test once the build is complete?

You can download the Bin-ESP32-collection_B_ESP32_IRExt_4M316k-20250104_PR_5213_12612976911 (.zip) file, extract the .bin file (not the .factory.bin) and upload using the Update Firmware button on the Tools page.

@dyter69
Copy link
Author

dyter69 commented Jan 4, 2025

Thanks for reply, I tested but same problem, I hear only the fist note of music, sometime second note and third !

I use many devices on my ESP32:

Edit | 1 | ✔ | Light/Lux - BH1750 | Light | I2C 0x23 | ❶ (888) | SDA: GPIO-14SCL: GPIO-27 | Lux:0.23
Edit | 2 | ✔ | Switch input - Switch | Relais |   |   | GPIO-32 | State:1
Edit | 3 | ✔ | Environment - DHT11/12/22 SONOFF2301/7021/MS01 | DHT |   |   | GPIO-33 | Temperature:23.0Humidity:47
Edit | 4 | ✔ | Output - NeoPixel (Basic) | Leds |   |   | GPIO-13 |  
Edit | 5 | ✔ | Gases - CO2 MH-Z19 | Co2 | HW Serial0 |   | RX: GPIO-23TX: GPIO-19 | PPM:1025Temperature:21U:5120
Edit | 6 | ✔ | Analog input - internal | Battery |   |   | ADC1 ch7GPIO-35 | Volts:4.05
Edit | 7 | ✔ | Switch input - Switch | Button |   |   | GPIO-12 | State:0
Edit | 8 | ✔ | Communication - IR Transmit | IR_Transmit |   |   | GPIO-25 |  
Edit | 9 | ✔ | Communication - IR Receive (TSOP4838) | IR_Receive |   |   | GPIO-26 | IR:0
Edit | 10 | ✔ | Display - OLED SSD1306/SH1106 Framed | Display | I2C 0x3C |   | SDA: GPIO-14SCL: GPIO-27Btn: - | Geiger: 35 ppm Co2: 1025 ppm
Edit | 11 | ✔ | Generic - Pulse counter | Geiger |   |   | GPIO-36 | Count:35
Edit | 12 | ✔ | Switch input - Switch | VCC |   |   | GPIO-2 | State:1
Edit | 13 | ❌ | Analog input - internal | Mic |   |   | ADC1 ch3GPIO-39 | Analog:

@tonhuisman
Copy link
Contributor

Ah, that it actually started playing wasn't clear from the OP, I got the impression the command wasn't included in the build 🤔

It this case it may be something to do with the framework being updated to IDF 5.1.x/5.3.x. More investigation is needed.

@dyter69
Copy link
Author

dyter69 commented Jan 4, 2025

the command work ! but something stop the sound after one second I think

@tonhuisman
Copy link
Contributor

A few options:

  • Can you switch to another GPIO pin, if only for testing? (even though GPIO 15 isn't a special GPIO)
  • Do you have a rule that turns off the GPIO to stop the sound? (was sometimes needed for the old implementation, but shouldn't be needed any longer), playing the sound is now handled async, no longer blocking, and should fully stop/be quiet once completed.

@dyter69
Copy link
Author

dyter69 commented Jan 5, 2025

Sorry but I have switched to 20230304 because I have lot of lost wifi connections since the 20240414. And I found if the GPIO2 trigged to 1 will cause boot problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants