Page 1 of 1
Using The Buzzer/Beeper on LCD Smart Controller
Posted: Sat Dec 07, 2013 5:45 pm
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!
Re: Using The Buzzer/Beeper on LCD Smart Controller
Posted: Sat Dec 07, 2013 9:12 pm
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....
Re: Using The Buzzer/Beeper on LCD Smart Controller
Posted: Sun Dec 08, 2013 9:46 am
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
Re: Using The Buzzer/Beeper on LCD Smart Controller
Posted: Sun Dec 08, 2013 7:00 pm
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>".
Re: Using The Buzzer/Beeper on LCD Smart Controller
Posted: Mon Dec 09, 2013 12:46 pm
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.
Re: Using The Buzzer/Beeper on LCD Smart Controller
Posted: Mon Dec 09, 2013 6:11 pm
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!
Re: Using The Buzzer/Beeper on LCD Smart Controller
Posted: Mon Dec 09, 2013 7:15 pm
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!
Re: Using The Buzzer/Beeper on LCD Smart Controller
Posted: Sun Nov 29, 2015 12:17 pm
by Outsider
how do I apply this patch..... Win7 ultimate.