Using The Buzzer/Beeper on LCD Smart Controller

All things related to the Rostock MAX 3D Printer, the worlds FIRST Delta kit!
Post Reply
Bill Havins
Printmaster!
Posts: 88
Joined: Sun Mar 03, 2013 6:46 pm
Location: Abilene, Texas
Contact:

Using The Buzzer/Beeper on LCD Smart Controller

Post by Bill Havins »

I am trying to insert a "postfix" in my gcode files developed using KISSlicer. I have been using the "typical" codes (G28, M104, etc.) but would like to have the piezo buzzer on my LCD Smart Controller play a series of tones to indicate the print is finished.

M300 S<frequency> P<duration in milliseconds> appears to be the standard reprap method of sending such a command. But, it doesn't seem to work with the LCD Smart Controller. I'm guessing this will take a bit of coding in Arduino if I want to make it work.

Any thoughts?

Thanks!
"So many windmills, so little time." - Don Quixote
int2str
Printmaster!
Posts: 193
Joined: Tue Nov 19, 2013 8:38 pm

Re: Using The Buzzer/Beeper on LCD Smart Controller

Post by int2str »

The command is already handled in the Repetier firmware.
However, the buzzer is connected to a non-standard Arduino pin, that's why it doesn't work.

I've create a patch (attached) that will make the command work.

I'll have to figure out how to "officially" submit patches....
Attachments
m300_patch.zip
(3.09 KiB) Downloaded 394 times
Bill Havins
Printmaster!
Posts: 88
Joined: Sun Mar 03, 2013 6:46 pm
Location: Abilene, Texas
Contact:

Re: Using The Buzzer/Beeper on LCD Smart Controller

Post by Bill Havins »

int2str,

Thanks for developing the "M300 patch." Would you please write up a preferred method for adding the code to the Rostock MAX firmware?

Thanks again!

Bill
"So many windmills, so little time." - Don Quixote
int2str
Printmaster!
Posts: 193
Joined: Tue Nov 19, 2013 8:38 pm

Re: Using The Buzzer/Beeper on LCD Smart Controller

Post by int2str »

Assuming you have a local copy of the Rostock firmware that you acquired using "git clone". Then you can simply unzip the file I've provided and then "apply" the resulting ".patch" file using "git am <patchfile>".
User avatar
Lochemage
Printmaster!
Posts: 115
Joined: Fri Oct 25, 2013 4:36 am
Location: Marina, CA

Re: Using The Buzzer/Beeper on LCD Smart Controller

Post by Lochemage »

int2str wrote:Assuming you have a local copy of the Rostock firmware that you acquired using "git clone". Then you can simply unzip the file I've provided and then "apply" the resulting ".patch" file using "git am <patchfile>".
Just a note, it doesn't matter if you are running Repetier from a github repository. As long as you have git installed, it will understand what a patch file is, and you can update a patch into any folder, even if it is a version of Repetier that you just downloaded and unzipped.
- Lochemage

My super cool build stories: Rostock MAX, GUS Simpson

"Give a man a compliment and he'll be all, 'Yeah, I've been working out.' Teach a man to fish for a compliment and he'll be all, 'I feel SO fat.'" - Bob FM
johnoly99
Printmaster!
Posts: 709
Joined: Mon Mar 26, 2012 1:07 pm
Location: Goshen, IN

Re: Using The Buzzer/Beeper on LCD Smart Controller

Post by johnoly99 »

in2str,

Shoot me over the modified files, and a quick changelog description of what you did etc... OR submit a Pull request to the github.com/seemecnc/RostockMAX repo and i'll add it into there as well as the Orion FW. Once I have it in there, I can push it to roland (repetier) and have him post it in the mainline firmware for everyone

Thanks!
User avatar
Eaglezsoar
ULTIMATE 3D JEDI
Posts: 7159
Joined: Sun Apr 01, 2012 5:26 pm

Re: Using The Buzzer/Beeper on LCD Smart Controller

Post by Eaglezsoar »

johnoly99 wrote:in2str,

Shoot me over the modified files, and a quick changelog description of what you did etc... OR submit a Pull request to the github.com/seemecnc/RostockMAX repo and i'll add it into there as well as the Orion FW. Once I have it in there, I can push it to roland (repetier) and have him post it in the mainline firmware for everyone

Thanks!
Would you post a message on the forum when the firmware is updated so that we can download a copy?
Thanks!
User avatar
Outsider
Printmaster!
Posts: 74
Joined: Wed Nov 11, 2015 6:09 pm

Re: Using The Buzzer/Beeper on LCD Smart Controller

Post by Outsider »

how do I apply this patch..... Win7 ultimate.
Post Reply

Return to “Rostock MAX”