RogerBW's Blog

3d printer notification system 05 December 2016

How can I tell when the 3D printer has finished a job, without going down to the cave where it lives and checking it?

I'm using an Ultimaker 2+, which does not have a direct Internet connection. I regard this as a selling point - it means that the only digital interaction it has with the outside world is when I stick the SD card in the front and tell it to print something, so I don't have to worry about a compromised IP stack. But that also means I can't log into the thing and see how it's going.

OK, it does have a USB socket, so I could just plug in a machine running octoprint. And I probably will eventually. But this was the quick and dirty approach.

First, I wanted a proper camera looking over the print bed, and (one 3D-printed plastic clip later) that's what I have. The other end of its USB cable goes into a computer that sits next to the machine. This is mostly so that I can see if the print process has gone wrong, for example a layer that's not sticking to the previous one and instead is turning into "clown hair"; that happened a few times when I was getting the hang of the printer.

So I have video of the thing; actually it takes one shot per minute, on a cron job, since that's fast enough for my purposes. Could I do some sort of image analysis to find out when a print is complete? Or... hang on a minute, when the print bed drops at the end of the process, the camera can see out of the front opening of the machine, which I've covered with cardboard in the current slightly chilly weather. So I can actually control what the camera sees at that point.

Just throw the captured images at the zbar library, and when analysis of the latest image reports the right QR-code, the print is complete!

At that point the cron job sends a notification via SIP TEXT to my VoIP handset, as well as popping up a message via Jabber on whatever desktop or laptop I'm using at the time. Yes, yes, the octoprint thing will happen eventually, but this is pleasingly Heath Robinson.


  1. Posted by Chris Suslowicz at 10:50am on 06 December 2016

    That has to be the most overly-complicated replacement for a microswitch and bell (or a contactless equivalent) I've ever heard of.

    OK, you have the progress camera but a simple electrical switch would do it without all the image processing. :-)>

    Chris.

  2. Posted by RogerBW at 11:34am on 06 December 2016

    (Bows) Thank you, sir.

    If I had a microswitch I'd have to hook it up to something to tell the computers when it had closed… at which point I might as well use the built-in Z-stop microswitch, and we're back to "a raspberry pi connected to the USB port".

Comments on this post are now closed. If you have particular grounds for adding a late comment, comment on a more recent post quoting the URL of this one.

Search
Archive
Tags 1920s 1930s 1940s 1950s 1960s 1970s 1980s 1990s 2000s 2010s 3d printing action advent of code aeronautics aikakirja anecdote animation anime army astronomy audio audio tech base commerce battletech beer boardgaming book of the week bookmonth chain of command children chris chronicle church of no redeeming virtues cold war comedy computing contemporary cornish smuggler cosmic encounter coup covid-19 crime crystal cthulhu eternal cycling dead of winter doctor who documentary drama driving drone ecchi economics en garde espionage essen 2015 essen 2016 essen 2017 essen 2018 essen 2019 essen 2022 essen 2023 existential risk falklands war fandom fanfic fantasy feminism film firefly first world war flash point flight simulation food garmin drive gazebo genesys geocaching geodata gin gkp gurps gurps 101 gus harpoon historical history horror hugo 2014 hugo 2015 hugo 2016 hugo 2017 hugo 2018 hugo 2019 hugo 2020 hugo 2021 hugo 2022 hugo 2023 hugo 2024 hugo-nebula reread in brief avoid instrumented life javascript julian simpson julie enfield kickstarter kotlin learn to play leaving earth linux liquor lovecraftiana lua mecha men with beards mpd museum music mystery naval noir non-fiction one for the brow opera parody paul temple perl perl weekly challenge photography podcast politics postscript powers prediction privacy project woolsack pyracantha python quantum rail raku ranting raspberry pi reading reading boardgames social real life restaurant reviews romance rpg a day rpgs ruby rust scala science fiction scythe second world war security shipwreck simutrans smartphone south atlantic war squaddies stationery steampunk stuarts suburbia superheroes suspense television the resistance the weekly challenge thirsty meeples thriller tin soldier torg toys trailers travel type 26 type 31 type 45 vietnam war war wargaming weather wives and sweethearts writing about writing x-wing young adult
Special All book reviews, All film reviews
Produced by aikakirja v0.1