Created
December 28, 2020 20:58
-
-
Save arturohernandez10/0a642a999ebe6a47ea5ea18937ab52a6 to your computer and use it in GitHub Desktop.
Ender 3 pro 8bit board
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file contains common pin mappings for the 2018 Creality | |
# Ender 3. To use this config, the firmware should be compiled for the | |
# AVR atmega1284p. | |
# Note, a number of Melzi boards are shipped with a bootloader that | |
# requires the following command to flash the board: | |
# avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex | |
# If the above command does not work and "make flash" does not work | |
# then one may need to flash a bootloader to the board - see the | |
# Klipper docs/Bootloaders.md file for more information. | |
# See docs/Config_Reference.md for a description of parameters. | |
# Pin mappings for BL_T port | |
[bltouch] | |
sensor_pin: ^PC4 | |
control_pin: PA4 | |
pin_move_time: 0.500 | |
pin_up_reports_not_triggered: True | |
pin_up_touch_mode_reports_triggered: False | |
x_offset: -48 | |
y_offset: -2 | |
z_offset: +1 | |
speed: 2 | |
[homing_override] | |
set_position_z:6 | |
axes: z | |
gcode: | |
G90 | |
G1 Z10 F6000 | |
G28 X Y | |
G1 X163 Y117 F6000 | |
G28 Z0 | |
G1 X163 Y117 Z10 | |
[gcode_macro G29] | |
gcode: | |
BED_MESH_CALIBRATE | |
[gcode_macro T0] | |
gcode: | |
M400 | |
[bed_mesh] | |
horizontal_move_z: 5 | |
mesh_min: 50,30 | |
mesh_max: 180,200 | |
probe_count: 3,3 | |
[stepper_x] | |
step_pin: PD7 | |
dir_pin: !PC5 | |
enable_pin: !PD6 | |
microsteps: 16 | |
rotation_distance: 40 | |
endstop_pin: ^PC2 | |
position_endstop: 0 | |
position_max: 235 | |
homing_speed: 50 | |
[stepper_y] | |
step_pin: PC6 | |
dir_pin: !PC7 | |
enable_pin: !PD6 | |
microsteps: 16 | |
rotation_distance: 40 | |
endstop_pin: ^PC3 | |
position_endstop: 0 | |
position_max: 235 | |
homing_speed: 50 | |
[stepper_z] | |
step_pin: PB3 | |
dir_pin: PB2 | |
enable_pin: !PA5 | |
microsteps: 16 | |
rotation_distance: 8 | |
#position_endstop: 0.0 | |
position_min: -9 | |
position_max: 250 | |
endstop_pin: probe:z_virtual_endstop | |
[extruder] | |
max_extrude_only_distance: 100.0 | |
full_steps_per_rotation: 400 | |
gear_ratio: 3:1 | |
step_pin: PB1 | |
dir_pin: !PB0 | |
enable_pin: !PD6 | |
microsteps: 16 | |
rotation_distance: 33.683 | |
nozzle_diameter: 0.400 | |
filament_diameter: 1.750 | |
heater_pin: PD5 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: PA7 | |
control: pid | |
# tuned for stock hardware with 200 degree Celsius target | |
pid_Kp: 21.527 | |
pid_Ki: 1.063 | |
pid_Kd: 108.982 | |
min_temp: 0 | |
max_temp: 250 | |
[heater_bed] | |
heater_pin: PD4 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: PA6 | |
control: pid | |
# tuned for stock hardware with 50 degree Celsius target | |
pid_Kp: 54.027 | |
pid_Ki: 0.770 | |
pid_Kd: 948.182 | |
min_temp: 0 | |
max_temp: 130 | |
[fan] | |
pin: PB4 | |
[mcu] | |
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0 | |
[printer] | |
kinematics: cartesian | |
max_velocity: 300 | |
max_accel: 3000 | |
max_z_velocity: 5 | |
max_z_accel: 100 | |
[display] | |
lcd_type: st7920 | |
cs_pin: PA3 | |
sclk_pin: PA1 | |
sid_pin: PC1 | |
encoder_pins: ^PD2, ^PD3 | |
click_pin: ^!PC0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment