Jump to content

UM2+: read status, temp etc. via USB

Recommended Posts

Posted · UM2+: read status, temp etc. via USB



We have an UM2+ which we have just installed in out hackspace and are anticipating heavy use - it's great. What would be even better would be the ability to monitor usage, and report the temperature, remaining time etc. via a web-page over the internet. This would allow members to tell when the printer was being used currently, and how much time was remaining on a print, before coming down to use it. Over time, the statistics collected would also allow them to judge when was the best time to come down to maximise their chances of being able to use it.


To be clear - we do not want to *control* the printer via USB, only to monitor it.


We are very capable at electronics and perfectly able to design a small electronic device to plug into the USB port and communicate with the internet. What we need is advice on whether it is possible to get the printer to report these status variables via USB whilst printing from the SD card. 


All tips and advice welcomed


Thanks :)

  • Link to post
    Share on other sites

    Posted · UM2+: read status, temp etc. via USB

    Yes, that is possible, though it is somewhat limited. You can monitor temperatures, but I don't know if you can also monitor how far along a print is.


    However - as the creator of the OctoPrintPlugin - I will add that printing over the network from an OctoPrint instance is far superior to printing from SD-cards on a sneakernet.

  • Link to post
    Share on other sites

    Posted · UM2+: read status, temp etc. via USB

    Have a look at the Octoprint API documentation:

    You can retrieve info about the running job (if submitted from Octoprint)


    I think you can even print jobs from the SD from Octoprint.

    You can do all the things Octoprint does regarding the printer status yourself, if you want. It is simply processing serial output that comes from the printer via USB or uses G-code commands to query the status.

    But Octoprint does all this already and much more and gives you a REST API for that, which is easier than to deal with the G-code commands and all the serial communication stuff.

  • Link to post
    Share on other sites

    Posted · UM2+: read status, temp etc. via USB

    Thanks both - am feeling the love for Octoprint. We're familiar with Octoprint as we used it with our RepRap setup, and agree that it is a great piece of software. 


    In our particular circumstances there are some benefits to restricting printing and control of the printer to the SD card - for instance, making sure the user is present to start the job so that they can ensure that they know what filament they are using, and that they have good first layer adhesion and are not going to print a huge birds nest. I think it will generally reduce the scope for error and therefore also the need for (volunteer) maintenance effort.


    I'll take a look at the Octoprint documentation to see what I can glean about the serial interface, do some tests, and post back here if we have any success.



  • Link to post
    Share on other sites

    Posted · UM2+: read status, temp etc. via USB

    As @ahoeben said, for prints from sdcard your possibilities are limited. There's gcode M105 for the temperatures and M27 gives you the current (byte) position of the printed file.

    I see no other available information that would be useful for your use case. At least you could use it to make your own statistics and predictions.

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
      • Ultimaker Cura 5.6 stable released
        Cura now supports Method series printers!
        A year after the merger of Ultimaker and MakerBotQQ, we have unlocked the ability for users of our Method series printers to slice files using UltiMaker Cura. As of this release, users can find profiles for our Method and Method XL printers, as well as material profiles for ABS-R, ABS-CF, and RapidRinse. Meaning it’s now possible to use either Cura or the existing cloud-slicing software CloudPrint when printing with these printers or materials
        • 4 replies
    • Create New...