Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
reprap:anet:et4:setup-and-flash-klipper [2022/03/11 02:44] – created vidschofelix | reprap:anet:et4:setup-and-flash-klipper [2022/03/11 23:58] (current) – add scres for SCREWS_TILT_CALCULATE vidschofelix | ||
---|---|---|---|
Line 14: | Line 14: | ||
* in machine -> config files add printer.cfg and open it | * in machine -> config files add printer.cfg and open it | ||
* paste: | * paste: | ||
- | *<code> | + | *<file bash printer.cfg> |
- | # This file contains common pin mappings for the Anet ET4X printer. | + | # This file contains common pin mappings for the Anet ET4 printer for klipper. |
- | # To use this config, the firmware should be compiled | + | |
- | # STM32F407. When running "make menuconfig", | + | |
- | # configuration setup", | + | |
- | # communication" | + | |
- | + | ||
- | # The "make flash" command does not work on the Anet ET4. The regular | + | |
- | # bootloaders cannot be used; the USB port is not connected to the MCU | + | |
- | # directly, but is connected using a CH341 USB-to-serial adapter. The | + | |
- | # BOOTx pins are not easily accessible. | + | |
- | + | ||
- | # Instead, the board can be programmed using the SWD interface available | + | |
- | # on the J2 header of the board. The pins are unlabeled, but the first | + | |
- | # three pins starting from the MCU towards the SD card slot are | + | |
- | # GND, SWCLK and SWDIO. | + | |
[stepper_x] | [stepper_x] | ||
Line 62: | Line 48: | ||
microsteps: 16 | microsteps: 16 | ||
endstop_pin: | endstop_pin: | ||
- | position_endstop: | + | position_endstop: |
position_max: | position_max: | ||
homing_speed: | homing_speed: | ||
Line 107: | Line 93: | ||
baud: 115200 | baud: 115200 | ||
serial: / | serial: / | ||
+ | restart_method: | ||
[printer] | [printer] | ||
Line 124: | Line 111: | ||
# already prepared for one | # already prepared for one | ||
- | # [probe] | + | [probe] |
- | # pin: PC2 # LV_DET | + | pin: !PC3 # LV_DET |
+ | z_offset: 0.2 | ||
######################################## | ######################################## | ||
Line 146: | Line 134: | ||
[display_status] | [display_status] | ||
+ | |||
+ | [screws_tilt_adjust] | ||
+ | screw1: 10, 10 | ||
+ | screw1_name: | ||
+ | screw2: 10, 210 | ||
+ | screw2_name: | ||
+ | screw3: 210, 210 | ||
+ | screw3_name: | ||
+ | screw4: 210, 10 | ||
+ | screw4_name: | ||
+ | horizontal_move_z: | ||
+ | speed: 50. | ||
+ | screw_thread: | ||
[gcode_macro CANCEL_PRINT] | [gcode_macro CANCEL_PRINT] | ||
Line 193: | Line 194: | ||
RESTORE_GCODE_STATE NAME=PAUSE_state | RESTORE_GCODE_STATE NAME=PAUSE_state | ||
BASE_RESUME | BASE_RESUME | ||
- | </code> | + | </file> |
- | (taken from [[https:// | + | (based on [[https:// |
* save & close | * save & close | ||