Jump to content

That same feeling, when the electricity in the socket suddenly ended...


ivan-lipunov

Recommended Posts

Posted · That same feeling, when the electricity in the socket suddenly ended...

In the area where I live quite often there are cases of sudden cut-off. For a variety of reasons. And Yes, the printer is connected to a source of emergency power. But the problem is that his stock lasts an hour and a half of work. At the time, as printing can last several times longer.

In this connection there is the following idea.

Create a file on the sd-card, approximately the following format: printer status (0 - print was not started/she has successfully completed, or 1 - printing was in process), the name of the file with g-code, the last known command to the printer from the code. In the process of starting the print file is updated (0 changes to 1, is the file name), in the printing process the commands sent to the printer is written to the file. If there is a power outage, after restarting the printer menu, select print from the last khown condition. After printing the file is reset to default state.

Accordingly, there is minimal error in the finished model and the saved nerves/material/time/money.

It is feasible to implement, or there are objective limitations because of the nature of the Arduino platform?

  • Link to post
    Share on other sites

    Posted · That same feeling, when the electricity in the socket suddenly ended...

    Writing to an SD card is dangerous, especially when there is a chance of random power surges. If you're writing to an SD card and the power drops, there is a chance that you ruin the entire card.

  • Link to post
    Share on other sites

    Posted · That same feeling, when the electricity in the socket suddenly ended...

    It is feasible to implement, or there are objective limitations because of the nature of the Arduino platform?

     

    Actually - there are such limitations too. The Marlin firmware on Arduino can open only one file at a time for a reason. Each file access needs a separate buffer and memory is pretty scarce already (is this the right word...?).

    And keep in mind that you would have to backup (and restore) all axis positions, the current print settings and the file position too.

    In addtion: if you're using the heated buildplate the print is ruined anyway, if it cools down on a power fail.

    At least some thoughts about a resurrection system are existing, here is an example. But this also implies that the printed object does not loses the adhesion to the buildplate.

    My conclusion:

    Probably saving the printer status is feasible this way, but the whole effort is useless if you're not able to keep the buildplate hot...

  • Link to post
    Share on other sites

    Posted · That same feeling, when the electricity in the socket suddenly ended...

    Thus, under the current design of the motherboard has limitations, such as the buffer size/lack of multithreading and the absence of an external source of power (battery pack). Theoretically, in the absence of electricity,by the signal of external source (via USB) printer can pause printing, leaving only the heated bed. But can't even imagine the amount of change in the firmware required for this.

  • 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

      • UltiMaker Cura 5.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...