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

Add support for external piezo buzzers via M300 #968

Open
chrishamm opened this issue Mar 15, 2024 · 1 comment
Open

Add support for external piezo buzzers via M300 #968

chrishamm opened this issue Mar 15, 2024 · 1 comment
Labels
enhancement Additional functionality, performance or other feature request

Comments

@chrishamm
Copy link
Collaborator

M300 can already send beeps to 12864 buzzers or PanelDue if connected, but configuring a custom external piezo buzzer isn't possible yet. I believe we had this idea ages ago as well.

Maybe M300 could be changed to drive a configured servo/GPIO PWM pin for a given time.

@chrishamm chrishamm added the enhancement Additional functionality, performance or other feature request label Mar 15, 2024
@Billtopia
Copy link

I love this idea as I would then be able to put a louder speaker on to my printer. You could have it use a pin set in the object model. state.beep.pin? and set it directly ( unless the state object is read only ) or to better align with the g-code everywhere idea... a m300 c"PinName" by itself to set the pin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Additional functionality, performance or other feature request
Projects
None yet
Development

No branches or pull requests

2 participants