Speaker/Beeper/Buzzer support in Marlin ?

Post Reply
Softfoot
Posts: 21
Joined: Tue Oct 01, 2019 6:42 pm

Speaker/Beeper/Buzzer support in Marlin ?

Post by Softfoot » Sun Nov 17, 2019 8:55 am

Hi, Having great fun with my Pro C acrylic :-)

Now have auto bed leveling working well with Marlin 1.1.8

A couple questions --- I dont hear anything from the buzzer/speaker --- I can see it's mounted but I've never heard anything from it.

Now, I am partially deaf and higher frequencies are lost on me - so it may be just a case of lowering the frequency - is there somewhere where the frequency is defined ??

Is there a convenient test of the buzzer I can do (an Mcode perhaps) ??

I note that "SPEAKER" is undefined in the config. file --- so I assume it's treated as a buzzer ??
( //#define SPEAKER)

TIA
Dave

User avatar
vert
Site Admin
Posts: 974
Joined: Wed Nov 21, 2018 3:50 pm
Location: Marlin Dev
Contact:

Re: Speaker/Beeper/Buzzer support in Marlin ?

Post by vert » Sun Nov 17, 2019 9:05 am

Softfoot wrote:
Sun Nov 17, 2019 8:55 am
Hi, Having great fun with my Pro C acrylic :-)

Now have auto bed leveling working well with Marlin 1.1.8

A couple questions --- I dont hear anything from the buzzer/speaker --- I can see it's mounted but I've never heard anything from it.

Now, I am partially deaf and higher frequencies are lost on me - so it may be just a case of lowering the frequency - is there somewhere where the frequency is defined ??

Is there a convenient test of the buzzer I can do (an Mcode perhaps) ??

I note that "SPEAKER" is undefined in the config. file --- so I assume it's treated as a buzzer ??
( //#define SPEAKER)

TIA
Dave

Code: Select all

#define SPEAKER // enables speaker control

// Note: Test audio output with the G-Code:
//  M300 S<frequency Hz> P<duration ms>
// setting these to 0 will effectively mute the beeper
#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 50
#define LCD_FEEDBACK_FREQUENCY_HZ 10
i would note the beeper is rarely used other then like thermal runaway and a few other instances that demand your attention.

Softfoot
Posts: 21
Joined: Tue Oct 01, 2019 6:42 pm

Re: Speaker/Beeper/Buzzer support in Marlin ?

Post by Softfoot » Mon Nov 18, 2019 7:15 am

Many thanks
Dave

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests