Welcome! Log In Create A New Profile

Advanced

Marlin Play Sound or Buzz Upon Completion

Posted by Lodorenos 
Marlin Play Sound or Buzz Upon Completion
August 14, 2012 10:34AM
Hello,

Is there a way to configure RAMPS 1.4 with Marlin to play a sound or buzz when a print has completed?


--

Charles S.
Software Engineer
Prusa Mendel I2, RAMPS 1.4, Marlin 1.0 R2, Pronterface, Slic3r
VDX
Re: Marlin Play Sound or Buzz Upon Completion
August 14, 2012 10:43AM
... you should be able to add a G-code, that moves one or more axes around with varying speeds, so the steppers will play a 'music' you'll recognize grinning smiley


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Marlin Play Sound or Buzz Upon Completion
August 16, 2012 06:28AM
Or try to move the Z axis up way faster than it can actually do - this sounds very noisy on my machine smiling smiley

Maybe not very good for the motor health to do often, then.


Most of my technical comments should be correct, but is THIS one ?
Anyway, as a rule of thumb, always double check what people write.
Re: Marlin Play Sound or Buzz Upon Completion
August 16, 2012 06:47AM
Thanks for your replies, that would work to a degree. I guess having the voice of a russian lady saying "Operation Completed" is a bit beyond the scope of a normal RepRap. smoking smiley


--

Charles S.
Software Engineer
Prusa Mendel I2, RAMPS 1.4, Marlin 1.0 R2, Pronterface, Slic3r
VDX
Re: Marlin Play Sound or Buzz Upon Completion
August 16, 2012 06:57AM
... maybe you can find one of this 'parrot'-toys, that were common ten+ years ago - simply a chip with FIFO ram and an audio-amplifyer ... with recording a sound you can start the playback from your board when defining an IO pin accordingly ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Marlin Play Sound or Buzz Upon Completion
August 16, 2012 07:56AM
You can steal one from one of those musical/talking greeting cards...


Bob Morrison
Wörth am Rhein, Germany
"Luke, use the source!"
BLOG - PHOTOS - Thingiverse
VDX
Re: Marlin Play Sound or Buzz Upon Completion
August 16, 2012 08:06AM
but he wants:
Quote

"... having the voice of a russian lady saying "Operation Completed"
" winking smiley


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Marlin Play Sound or Buzz Upon Completion
August 16, 2012 08:32AM
And... He uses one of the talking cards where you record the message yourself and then find a woman with a russian accent to say "Operation Complete" or ... THIS, or THIS or THIS...


Bob Morrison
Wörth am Rhein, Germany
"Luke, use the source!"
BLOG - PHOTOS - Thingiverse
Re: Marlin Play Sound or Buzz Upon Completion
August 16, 2012 08:32AM
Just have to be cautious if your reprap starts asking for Sarah Connor...


Most of my technical comments should be correct, but is THIS one ?
Anyway, as a rule of thumb, always double check what people write.
Re: Marlin Play Sound or Buzz Upon Completion
August 16, 2012 08:36AM
I'll give some of the ideas above a shot over the weekend, thanks.

If it starts to tell me "I'm sorry Charlie, I'm afraid I can't print that.", it's going out the window.




--

Charles S.
Software Engineer
Prusa Mendel I2, RAMPS 1.4, Marlin 1.0 R2, Pronterface, Slic3r
Re: Marlin Play Sound or Buzz Upon Completion
August 16, 2012 08:36AM
If you really feel like making it happen :
AVR335: Digital Sound Recorder with AVR ® and DataFlash
[www.atmel.com]

Could probably be easily adapted to work with any reprap controller board with some hardware hacking (need a mike, a speaker and some memory for samples).


Most of my technical comments should be correct, but is THIS one ?
Anyway, as a rule of thumb, always double check what people write.
Re: Marlin Play Sound or Buzz Upon Completion
August 16, 2012 11:29AM
Lodorenos Wrote:
-------------------------------------------------------
> Thanks for your replies, that would work to a
> degree. I guess having the voice of a russian lady
> saying "Operation Completed" is a bit beyond the
> scope of a normal RepRap. smoking smiley

if you are only using one endstop, just mount a switch on the other end (pick X or Y) and send the gcode at the end to move there at the end of print.

For example, At the end of my prints, I move the bed to the maximum Y to make the printed part more accessible. A microswitch wired up to a buzzer, bell, recorder, etc. either powered off the reprap supply, or a battery, or whatever, could be contacted by the bed in that position to act as an audible alarm.

-Rob A>
Sorry, only registered users may post in this forum.

Click here to login