Power_Loss_Recovery on GT 2560?

Post Reply
maxlinux2000
Posts: 2
Joined: Fri Mar 08, 2019 7:22 pm

Power_Loss_Recovery on GT 2560?

Post by maxlinux2000 » Fri Mar 08, 2019 8:07 pm

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

User avatar
_kaktus_
Site Admin
Posts: 1260
Joined: Fri Dec 15, 2017 10:06 pm
Location: PL
Contact:

Re: Power_Loss_Recovery on GT 2560?

Post by _kaktus_ » Sat Mar 09, 2019 3:58 pm

Hello.
:mrgreen:

Voila ...
.
pinout-ATMega2560_PIN44.jpg
pinout-ATMega2560_PIN44.jpg (78.23 KiB) Viewed 4592 times
.
It is worth to make sure that this pin is not already in use.
On the forum I help to use the rod, I don't give fish.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.

maxlinux2000
Posts: 2
Joined: Fri Mar 08, 2019 7:22 pm

Re: Power_Loss_Recovery on GT 2560?

Post by maxlinux2000 » Sun Apr 14, 2019 6:01 am

TNX for that! :)

I will try it in next update to my printer

Post Reply