a5:programmable-power-supply-control

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
a5:programmable-power-supply-control [2018/07/05 18:15] – Corrections on Icon Naming aeketa5:programmable-power-supply-control [2020/12/25 02:13] (current) – external edit 127.0.0.1
Line 4: Line 4:
 The changes shown here require knowledge in the field of Arduino, Marlin firmware and electrical engineering and can overwhelm normal users. Also, I would like to point out possible dangers that exist in certain interventions. All adjustments have been checked for function.  The changes shown here require knowledge in the field of Arduino, Marlin firmware and electrical engineering and can overwhelm normal users. Also, I would like to point out possible dangers that exist in certain interventions. All adjustments have been checked for function. 
  
-**Difficulty: Professional** (No more warnings. Professionals know when to unplug the mains)+**Difficulty: __Professional or Electrician__** (No more warnings. Professionals know when to unplug the mains)
  
 **What is this about?** \\  **What is this about?** \\ 
Line 63: Line 63:
 ==== Customize the Marlin firmware ==== ==== Customize the Marlin firmware ====
  
-In the Arduino IDE open the **A5 Custom Community Firmware** (see article here in WIKI).\\+In the Arduino IDE open the **A5 Custom Community Firmware** (see [[a5:firmware|article here]] in WIKI).\\
 __ __
 The following adjustments are made in the "**Configuration.h**" file:__ The following adjustments are made in the "**Configuration.h**" file:__
Line 145: Line 145:
  
 I had developed a complex special housing for the momentary switch and the solid state relay, in which the circuit should find its place. This would look like this: I had developed a complex special housing for the momentary switch and the solid state relay, in which the circuit should find its place. This would look like this:
 +
 {{:a5:aetek:ssr_pow_01.jpg}} {{:a5:aetek:ssr_pow_01.jpg}}
 +
 Electrically everything worked wonderfully. Unfortunately I noticed a problem after assembling the A5. The measurement of the available space above the momentary switch upper edge was wrong. The Y-gantry does not have enough room to move because the housing of the momentary switch was too high.\\ Electrically everything worked wonderfully. Unfortunately I noticed a problem after assembling the A5. The measurement of the available space above the momentary switch upper edge was wrong. The Y-gantry does not have enough room to move because the housing of the momentary switch was too high.\\
 \\ \\
Line 181: Line 183:
 AETEK Firmware:\\ AETEK Firmware:\\
 {{:a5:aetek:20180702-03_aetek_jgaurora_a5_custom_lcd_firmware_v3.02.zip}} \\  {{:a5:aetek:20180702-03_aetek_jgaurora_a5_custom_lcd_firmware_v3.02.zip}} \\ 
-\\+{{:a5:aetek:20180714-02_aetek_jgaurora_a5_custom_lcd_firmware_v3.02.zip}} Fix Filament Out Detection\\
  
 After the successful update of the MKS display firmware it should now look like this:\\ After the successful update of the MKS display firmware it should now look like this:\\
Line 215: Line 217:
 \\ \\
 \\ \\
- 
  
 === Operation via software (GCODES) === === Operation via software (GCODES) ===
  
 +GCODES can be sent directly to the A5 via USB, e.g. [[:pronterface|Pronterface]]. \\
 +There is also the option to send stored GCODES from a storage device, such as USB stick or SD card. \\
 +Which GCODES are of interest for this project?\\
 +<sub>Source: http://marlinfw.org</sub>\\
  
 +__**M81 - Power Off**__ \\
 +Turn off the main power supply. This also shut down the electronics.\\
 +//Usage: M81//  \\
 +Attention! This command immediately turns off the A5 without waiting for the hot end to cool down.\\
  
 +__**M85 - Inactivity Shutdown**__ \\
 +Use this command to set a maximum period of time for the machine to be inactive (without moves). If the machine is idle for longer than the set period, the firmware will shut everything down and halt the machine.\\
 +//Usage: M85 S<seconds>\\  
 +Example: Turn off the A5 after 30 minutes without moving axles\\
 +M85 S1800    // \\
  
 +__**M109 - Wait for Hotend Temperature **__ \\
 +This command sets the hot end temperature and **waits** for the target temperature to be reached before proceeding. If the temperature is set with R then M109 will also wait for the temperature to go down.\\
 +//Usage: M109 R<temp>// \\
 +Example: Wait for a Hot End temperature of 45°C\\
 +//M109 R45// \\
 +\\
 +\\
 +__**Application proposals**__\\
 +Every modern slicer program, such as Simplyfy 3D, Cura, Slic3R, etc., has the ability to define a START and END GCODE block. Among other options you can also enter commands for the control of the power supply. \\
  
  
 +\\
 +Example: Simplyfy 3D\\
 +<code>
 +;STARTING GCODE START --- Simplyfy 3D ----------------------------------------------
 +M85 S2700 ;Power OFF Machine if no movement for 45 minutes.
 +M140 S[bed1_temperature];Set Bed Temperature + Continue
 +M109 S120 ;Prepare Hotend for Homing Z. Set Hotend Temp 120C + WAIT
 +G28         ;Home X Y Z Axis\\
 +G1 Z100 F5000         ;Lift Z to clean the Nozzle
 +M190 S[bed1_temperature];Set Bed Temperature + Wait
 +G1 Z10 F5000 ;Z down to 10mm
 +M109 S190 ;Set Hotend Temperature + Wait
 +G92 E0         ;Reset Extruder 
 +M109 S180 B250 F1 ;Autotemp on 180...250C  
 +;STARTING GCODE END ---------------------------------------------------------------- 
 +</code>
 +Power OFF Machine if no movement for 45 minutes: Normally, this case will not occur because the axes are constantly in motion during printing. If the user stops the printer but forgets to turn it off, the A5 will turn itself off after 45 minutes to save energy.\\
  
 +\\
 +<code>
 +;ENDING GCODE START -----------------------------------------------------------------
 +G92 E0         ;Reset Extruder
 +G1 X0 Y300 Z320 E-3 F4000 ;Quick move Nozzle away while retracting 3mm Filament
 +M104 S0         ;Turn hotend off
 +M140 S0 ;Turn heatbed off
 +M109 R45 ;Cooldown and wait to reach 45C
 +M84         ;Disable steppers 
 +M81         ;Power off
 +;ENDING GCODE END -------------------------------------------------------------------
 +</code>
 +At the end of the printing process, the 3D printer waits until the hot end has cooled to 45°C and then shuts itself off.\\
  
 +\\
  
 +----
  
-More content is coming soon...\\ +\\ 
- +//Status: 5. July 2018: Documentation complete//
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
-//Status: 5. July 2018: Documentation in progress//+
a5/programmable-power-supply-control.1530778533.txt.gz · Last modified: 2020/12/25 02:13 (external edit)