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

[Bug]: RAK18001 buzzer very quiet - solution included #3244

Closed
tropho23 opened this issue Feb 18, 2024 · 2 comments
Closed

[Bug]: RAK18001 buzzer very quiet - solution included #3244

tropho23 opened this issue Feb 18, 2024 · 2 comments
Labels
bug Something isn't working Stale

Comments

@tropho23
Copy link
Contributor

Category

Other

Hardware

Rak4631

Firmware Version

Any

Description

I found out why the RAK18001 buzzer is so anemic and quiet!
It's actually not...it's because we use the Arduino 'tone' command and not PWM.

This explains a few things:

  1. Why it's so quiet
  2. Why it gets really hot (burns your finger) when operating for more than ~1 second
  3. Why it makes the RAK5005 die with the GPS module (or likely any other) installed

For #1, it's just the nature of the buzzer; it's a PWM buzzer and using the 'tone' command is not how to make it work well
For #2, same as above due to how PWM works versus constant voltage
For #3, same as #2 but the very high current draw causes a brownout condition on the RAK5005 that was resolved due to power circuit redesign for the RAK5005 and RAK19003

I have not tested this but a user on the RAK community forums has:
https://forum.rakwireless.com/t/buzzer-rak18001-weak-audio-output/10014

The submitter provided sample code to use the buzzer in PWM mode vs. 'tone' command and found the RAK18001 is plenty loud, doesn't get crazy hot while operating, and does not cause RAK5005 failure when other sensor modules are installed.

Relevant log output

No response

@tropho23 tropho23 added the bug Something isn't working label Feb 18, 2024
@noon92
Copy link
Contributor

noon92 commented Apr 18, 2024

Tropho, was this solved by the PWM toggle in settings? For me the sound is very quiet, but it's not heating up.

@tropho23
Copy link
Contributor Author

tropho23 commented Apr 19, 2024 via email

@github-actions github-actions bot added the Stale label Oct 30, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

2 participants