Lately I looked for a way to automatically stop my printer after a finished job. OctoPrint has a nice events handling but a bit too dumb for this task: what if I want to print several files one after the other? Should I let my printer shut down and start it again? Not sure that the power supply appreciates that on a long term so it was definitely not an option for me.
I had implemented Jeffeb3’s excellent tutorial on relay controlling a 3D printer, so the biggest task was already done: I was able to drive my printer and its lighting via the OctoPrint menu. You must therefore be in the first place at the same point.
Then comes the automation: everything is in a script that will be executed by OctoPrint after each print. This script uses OctoCmd to retrieve the printer’s status: is it idle? If so, the printer is turned off. It’s as simple as that. 🙂
download the files on: https://www.thingiverse.com/thing:2478522
Every Thursday is #3dthursday here at Adafruit! The DIY 3D printing community has passion and dedication for making solid objects from digital models. Recently, we have noticed electronics projects integrated with 3D printed enclosures, brackets, and sculptures, so each Thursday we celebrate and highlight these bold pioneers!
Have you considered building a 3D project around an Arduino or other microcontroller? How about printing a bracket to mount your Raspberry Pi to the back of your HD monitor? And don’t forget the countless LED projects that are possible when you are modeling your projects in 3D!
The Adafruit Learning System has dozens of great tools to get you well on your way to creating incredible works of engineering, interactive art, and design with your 3D printer! If you’ve made a cool project that combines 3D printing and electronics, be sure to let us know, and we’ll feature it here!