• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
Anet A8 Auto Shutdown the easiest way 3D Printer File Image 1
Anet A8 Auto Shutdown the easiest way 3D Printer File Image 2
Anet A8 Auto Shutdown the easiest way 3D Printer File Thumbnail 1
Anet A8 Auto Shutdown the easiest way 3D Printer File Thumbnail 2

Anet A8 Auto Shutdown the easiest way

lompyka avatarlompyka

May 31, 2019

thingiverse-icon
DescriptionCommentsTags

Description

The easiest way to equip your printer with the auto power off capability.
You don't need to print anything for this solution, at least one 3D fiile needed to publish this, thats why the mutyur.stl is in the project.

Ingredients:

  • a two pole switch (if you don't have until now)
  • a Relay with 5 VDC coil and with 2 pole 5A 250 VAC Normaly Open contacts,
    I used the Omron G6B-2214P type,
  • a diode (flywheel diode to protect your board from the relay)
  • ~50 cm twin cable
  • cable lug (same which is on the X limit switch by default if you don't want to solder it)

Preparation:

  • First of all you have to measure which is the 0V wire on the limit switch with a multimeter.
    You can measure it between the power connector 0V (-) point of your main board and the limit swich cables. The printer must be powered on ad the X limit switch in open state.
    The 0V wire must be on the common point of the limit switch, the other is on the NO point like on the picture.
  • Solder the cables and the diode (polarity correctly) to the relay,
  • isolate the relay legs to avoid a short circuit (Insulating tape or shrinkable tube),
  • plug the cables from the power supply to the limit switch.
    The 0V wire to the limit switch's NC point and the 5VDC wire to the J3 connector 5V (Vcc) pin like on the picture,
  • connect the cables and the switch as shown. The preparation is done.

The necessary End G-code:
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+10 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more
G90 ;absolute positioning
G1 X-30 F5000 ;X close to endstop, YOU HAVE TO CHECK IT ON YOUR PRINTER!!!
G1 Y200 F2000 ; prepare for part removal
G1 X-33 F1000 ;X to endstop -> Shutdown, YOU HAVE TO CHECK IT ON YOUR PRINTER!!!
M107 ; turn off fan
M84 ;steppers off

The "G1 X-30" and the "G1 X-33" starting lines are especially for my printer, you have to check your printer by stepping the X axis in 1mm steps. Check where the limit switch is switching, replace the -33 with that value, and +3 to 5mm to the -30 where the printhead just not touching the limit switch.

Usage:
Power on your printer by the switch. Make bed leveling (if need). Start your print and wait until it heating and homeing, after the Start G-code is done and when the print is during normaly you can switch off the switch, the relay will provide the 230 VAC to the powersupply. When the print is done the End G-code is coming and the X limit switch is breaks the relay and the printer is shutting down.

License:

Creative Commons - Attribution

Related Models

The #NanoLongRange preview image

The #NanoLongRange

Dave_C_FPV profile image

Dave_C_FPV

16,286

JST Connectors for 3D Printer Mainboards preview image

JST Connectors for 3D Printer Mainboards

faultedlogic profile image

faultedlogic

1,068

Anet A8 LCD12864 with tags (to stand) preview image

Anet A8 LCD12864 with tags (to stand)

IdleBit profile image

IdleBit

0

Universal Auto-Rewind Spool Holder preview image

Universal Auto-Rewind Spool Holder

VincentGroenhuis profile image

VincentGroenhuis

15,096

GT2 Timing Belt Holder/Clip preview image

GT2 Timing Belt Holder/Clip

Area51 profile image

Area51

132

Anet A8 Front Frame Brace with LED Stripe Cut outs preview image

Anet A8 Front Frame Brace with LED Stripe Cut outs

TechnikTim profile image

TechnikTim

3

Filler - The Customizable Filament Holder that fills your printer! preview image

Filler - The Customizable Filament Holder that fills your printer!

HugoHuge profile image

HugoHuge

13,645

T-nut M3 drop-in rotating V-Slot preview image

T-nut M3 drop-in rotating V-Slot

DaVinci2000 profile image

DaVinci2000

563