# This file contains common pin mappings for Melzi v2.0 boards. 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 the example.cfg file for a description of available parameters. [stepper_x] step_pin: PD7 dir_pin: PC5 enable_pin: !PD6 step_distance: .0125 endstop_pin: ^!PC2 position_endstop: 0 position_max: 220 homing_speed: 50 homing_retract_dist: 10 homing_retract_speed: 25 second_homing_speed: 10 [stepper_y] step_pin: PC6 dir_pin: PC7 enable_pin: !PD6 step_distance: .0125 endstop_pin: ^!PC3 position_endstop: 0 position_max: 220 homing_speed: 50 homing_retract_dist: 10 homing_retract_speed: 25 second_homing_speed: 10 [stepper_z] step_pin: PB3 dir_pin: !PB2 enable_pin: !PA5 step_distance: .0025 endstop_pin: ^!PC4 position_endstop: 0.5 position_max: 250 homing_speed: 15 homing_retract_dist: 5 homing_retract_speed: 10 second_homing_speed: 5 [extruder] step_pin: PB1 dir_pin: PB0 enable_pin: !PD6 step_distance: .002 nozzle_diameter: 0.400 filament_diameter: 1.750 max_extrude_only_distance: 100 max_extrude_only_velocity: 40 pressure_advance: 0.0 pressure_advance_smooth_time: 0.04 heater_pin: PD5 min_temp: 0 min_extrude_temp: 180 max_temp: 280 sensor_type: EPCOS 100K B57560G104F sensor_pin: PA7 smooth_time: 2.0 control: pid pid_Kp: 22.2 pid_Ki: 1.08 pid_Kd: 114 pid_integral_max: 1.0 [heater_bed] heater_pin: PD2 sensor_type: EPCOS 100K B57560G104F sensor_pin: PA6 control: watermark min_temp: 0 max_temp: 130 max_delta: 2.0 [fan] pin: PB4 [mcu] serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 baud: 115200 restart_method: arduino [printer] kinematics: cartesian max_velocity: 300 max_accel: 5000 max_z_velocity: 15 max_z_accel: 1500 max_accel_to_decel: 2000 square_corner_velocity: 5.0 [safe_z_home] home_xy_position: 0,0 speed: 50 z_hop: 10 z_hop_speed: 25 move_to_previous: False [virtual_sdcard] path: ~/.octoprint/uploads [force_move] enable_force_move: True [pause_resume] recover_velocity: 50 [firmware_retraction] retract_length: 1.0 retract_speed: 40 unretract_extra_length: 0.0 unretract_speed: 30 [include /configs/*.cfg]