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!
Using The Buzzer/Beeper on LCD Smart Controller
-
- Printmaster!
- Posts: 88
- Joined: Sun Mar 03, 2013 6:46 pm
- Location: Abilene, Texas
- Contact:
Using The Buzzer/Beeper on LCD Smart Controller
"So many windmills, so little time." - Don Quixote
Re: Using The Buzzer/Beeper on LCD Smart Controller
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....
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
-
- Printmaster!
- Posts: 88
- Joined: Sun Mar 03, 2013 6:46 pm
- Location: Abilene, Texas
- Contact:
Re: Using The Buzzer/Beeper on LCD Smart Controller
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
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
Re: Using The Buzzer/Beeper on LCD Smart Controller
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
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.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>".
- 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
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
Re: Using The Buzzer/Beeper on LCD Smart Controller
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!
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!
- Eaglezsoar
- ULTIMATE 3D JEDI
- Posts: 7159
- Joined: Sun Apr 01, 2012 5:26 pm
Re: Using The Buzzer/Beeper on LCD Smart Controller
Would you post a message on the forum when the firmware is updated so that we can download a copy?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!
Thanks!
Re: Using The Buzzer/Beeper on LCD Smart Controller
how do I apply this patch..... Win7 ultimate.