From b1dcd35b7a8919d99db5dc72fc0cf0fba4140352 Mon Sep 17 00:00:00 2001 From: Rui Carmo Date: Fri, 19 Aug 2022 18:57:18 +0100 Subject: [PATCH] config: Add BQ Hephestos printer (#5676) This is a working config with full LCD and stepper settings (only thing missing is the kill switch, which did not appear to work) Signed-off-by: Rui Carmo --- config/printer-bq-hephestos-2014.cfg | 107 +++++++++++++++++++++++++++ test/klippy/printers.test | 1 + 2 files changed, 108 insertions(+) create mode 100644 config/printer-bq-hephestos-2014.cfg diff --git a/config/printer-bq-hephestos-2014.cfg b/config/printer-bq-hephestos-2014.cfg new file mode 100644 index 00000000..ce1c4298 --- /dev/null +++ b/config/printer-bq-hephestos-2014.cfg @@ -0,0 +1,107 @@ +# This file contains pin mappings for the BQ Prusa i3 Hephestos from 2014 +# (https://www.reprap.org/wiki/Prusa_i3_Hephestos) +# It was sold in kit form, and uses a RAMPS board with HD44780 display without +# heated bed or any modern amenities. + +# To use this config, the firmware should be compiled for the AVR atmega2560. + +# See docs/Config_Reference.md for a description of parameters. + +[display] +lcd_type: hd44780 +rs_pin: PH1 +e_pin: PH0 +d4_pin: PA1 +d5_pin: PA3 +d6_pin: PA5 +d7_pin: PA7 +encoder_pins: ^PC4, ^PC6 +click_pin: ^!PC2 +kill_pin: ^!PG0 + +[stepper_x] +step_pin: PF0 +dir_pin: !PF1 +enable_pin: !PD7 +microsteps: 16 +rotation_distance: 40 +endstop_pin: ^!PE5 +position_endstop: 0 +position_max: 215 +homing_speed: 50 + +[stepper_y] +step_pin: PF6 +dir_pin: PF7 +enable_pin: !PF2 +microsteps: 16 +rotation_distance: 40 +endstop_pin: ^!PJ1 +position_endstop: 0 +position_max: 210 +homing_speed: 50 + +[stepper_z] +step_pin: PL3 +dir_pin: !PL1 +enable_pin: !PK0 +microsteps: 16 +rotation_distance: 0.8 +endstop_pin: ^!PD3 +position_endstop: 0 +position_max: 200 +homing_speed: 3 + +[extruder] +step_pin: PA4 +dir_pin: PA6 +enable_pin: !PA2 +microsteps: 16 +# measured extruding 100mm of filament with stock Hephestos extruder +rotation_distance: 31.825 +nozzle_diameter: 0.400 +filament_diameter: 1.750 +heater_pin: PB4 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: PK5 +min_temp: 0 +max_temp: 250 +control: pid +pid_kp: 19.462 +pid_ki: 0.713 +pid_kd: 132.830 + + +# 5 points for manual bed leveling that still leave room for accessing the stock screws +[bed_screws] +screw1: 40, 40 +screw2: 180, 40 +screw3: 180, 160 +screw4: 40, 160 +screw5: 110, 100 + +[fan] +pin: PH6 + +[printer] +kinematics: cartesian +max_velocity: 300 +max_accel: 3000 +# Must limit Z velocity, since RAMPS does not have enough timer resolution +max_z_velocity: 3 +max_z_accel: 100 + +[mcu] +serial: /dev/ttyUSB0 + +# Common EXP1 / EXP2 (display) pins +[board_pins] +aliases: + # Common EXP1 header found on many "all-in-one" ramps clones + EXP1_1=PC0, EXP1_3=PH0, EXP1_5=PA1, EXP1_7=PA5, EXP1_9=, + EXP1_2=PC2, EXP1_4=PH1, EXP1_6=PA3, EXP1_8=PA7, EXP1_10=<5V>, + # EXP2 header + EXP2_1=PB3, EXP2_3=PC6, EXP2_5=PC4, EXP2_7=PL0, EXP2_9=, + EXP2_2=PB1, EXP2_4=PB0, EXP2_6=PB2, EXP2_8=PG0, EXP2_10= + # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi" + # Note, some boards wire: EXP2_8=, EXP2_10=PG0 diff --git a/test/klippy/printers.test b/test/klippy/printers.test index 647aeb74..e5ab8fc1 100644 --- a/test/klippy/printers.test +++ b/test/klippy/printers.test @@ -29,6 +29,7 @@ CONFIG ../../config/printer-anycubic-4maxpro-2.0-2021.cfg CONFIG ../../config/printer-anycubic-i3-mega-2017.cfg CONFIG ../../config/printer-anycubic-kossel-2016.cfg CONFIG ../../config/printer-anycubic-kossel-plus-2017.cfg +CONFIG ../../config/printer-bq-hephestos-2014.cfg CONFIG ../../config/printer-creality-cr10-v3-2020.cfg CONFIG ../../config/printer-creality-cr10s-2017.cfg CONFIG ../../config/printer-creality-cr20-2018.cfg