Page 1 of 1

Power_Loss_Recovery on GT 2560?

Posted: Fri Mar 08, 2019 8:07 pm
by maxlinux2000
Hi all,
in marlin 1.1.9 we have the option power_loss_recovery (http://marlinfw.org/docs/gcode/M413.html).
There are two versions:
  • Software, which still does not work in 1.1.9 and has been delayed to stable 2.0.0, and saves only the last layer number to be able to continue after the power returns.
  • hardware, which detects the voltage drop on pin 44, and stores the last available position on the SD card.

Code: Select all

// #define POWER_LOSS_RECOVERY
   #if ENABLED (POWER_LOSS_RECOVERY)
     // # define POWER_LOSS_PIN 44 // Pin to detect power loss
     // # define POWER_LOSS_STATE HIGH // State of pin indicating power loss
   #endif
I've seen that in the arduino mega 2650 you can connect pin 44 with a 5V pin and everything works fine.
So I was looking in the schema of my GT 2560 rev.A where I can find pin 44 ... but I can not find it.
Can anybody help me?
Here the video for arduino+ramp1.4
https://www.youtube.com/watch?v=7C92yt1lnzA

regards
MaX

Re: Power_Loss_Recovery on GT 2560?

Posted: Sat Mar 09, 2019 3:58 pm
by _kaktus_
Hello.
:mrgreen:

Voila ...
.
pinout-ATMega2560_PIN44.jpg
pinout-ATMega2560_PIN44.jpg (78.23 KiB) Viewed 4604 times
.
It is worth to make sure that this pin is not already in use.

Re: Power_Loss_Recovery on GT 2560?

Posted: Sun Apr 14, 2019 6:01 am
by maxlinux2000
TNX for that! :)

I will try it in next update to my printer