Welcome! Log In Create A New Profile

Advanced

// #Define Speaker does not disable buzzer

Posted by Trackerman 
// #Define Speaker does not disable buzzer
September 30, 2019 03:30PM
Has anyone else noticed that commenting out # Define speaker does not disable the buzzer?

I found this on an Ender 5 with stock board.
Present in both Marlin 1.1.9 and Bugfix 1.1.x
This issue played havoc with my BLtouch on pin 27 until I scoped it and saw the buzzer was still sending beeps on pin 27.

Now I'm looking for a better way to disable buzzer on pin 27.... any ideas?

Thanks
Ray
Re: // #Define Speaker does not disable buzzer
September 30, 2019 07:38PM
Your buzzer is still physically wired to pin 27, so doing anything on pin 27 will activate the buzzer. You cannot over ride this in firmware.

You have to use a different pin for your BLTouch or physically cut a track to the buzzer
Re: // #Define Speaker does not disable buzzer
September 30, 2019 10:42PM
No no no, let me explain.
The pin27 board cuts the buzzer out of circuit.

It's the firmware which still produces the tones signal.
I tried this with an un modified board.
The buzzer makes beep sounds with the line enabled and disabled...

The define_speaker function seems to have lost its control over the normal tones produced, like store eprom which emits a long beep etc.

Edited 1 time(s). Last edit at 09/30/2019 10:46PM by Trackerman.
Re: // #Define Speaker does not disable buzzer
October 01, 2019 09:51AM
I was thinking about doing this though it requires the removal of the buzzer and installation of a audio amp circuit and a speaker.
A buzzer is not a speaker and cannot operate as a speaker the buzzer only buzzes at its designed specifications and no other tones...


Computer Programmer / Electronics Technician
Re: // #Define Speaker does not disable buzzer
October 01, 2019 10:08AM
just #define BEEPER_PIN -1
Re: // #Define Speaker does not disable buzzer
October 01, 2019 10:12AM
Thanks, I'll try that.
Sorry, only registered users may post in this forum.

Click here to login