Created
May 1, 2025 14:43
-
-
Save Lukelectro/3017535bf70e733e112ead5d27007852 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Leapfrog Creatr. It might not be complete. | |
# Version 29-04-2025. | |
# See docs/Config_Reference.md for a description of parameters. | |
[stepper_x] | |
step_pin: PA6 | |
dir_pin: !PK1 | |
enable_pin: !PA7 | |
microsteps: 16 | |
rotation_distance: 24 #16 teeth on puley, 3mm belt, but probablys 8 or 32 microsteps | |
endstop_pin: ^PL2 | |
#endstop_pin: ^PE4 | |
position_endstop: 0 | |
position_max: 250 | |
homing_speed: 50 | |
[stepper_y] | |
step_pin: PJ1 | |
dir_pin: !PJ0 | |
enable_pin: !PG2 | |
microsteps: 16 | |
rotation_distance: 24 | |
endstop_pin: ^PL1 | |
#endstop_pin: ^PJ0 | |
position_endstop: 0 | |
position_max: 275 | |
homing_speed: 50 | |
[stepper_z] | |
step_pin: PC6 | |
dir_pin: !PC5 | |
enable_pin: !PC7 | |
microsteps: 16 | |
rotation_distance: 2.5 | |
endstop_pin: ^PL0 # Note: I'm using a regular switch as Z-endstop. | |
# for the original sensor, maybe you need to invert this pin. | |
# endstop_pin: ^!PL0 | |
position_endstop: 3.095 | |
position_max: 170 | |
homing_retract_dist: 6.0 #increased due to travel byond endstop | |
[bed_screws] #actualy out of range of the bed, so set to positions just still within range | |
#either change this setting to allow for more space, or remove side panels to reach the bed screws. | |
screw1: 0, 0 | |
screw2: 250, 0 | |
screw3: 250, 270 | |
screw4: 0, 270 | |
[bed_mesh] | |
speed: 80 | |
horizontal_move_z: 8 | |
mesh_min: 10, 10 | |
mesh_max: 240, 260 | |
probe_count: 5, 5 | |
fade_start: 1 | |
fade_end: 10 | |
[extruder] | |
step_pin: PC3 | |
dir_pin: !PC2 | |
enable_pin: !PC4 | |
microsteps: 16 | |
rotation_distance: 4.03 #Hemera 397 steps per mm | |
nozzle_diameter: 0.400 | |
filament_diameter: 1.75 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: PK5 | |
heater_pin: PH6 | |
control: pid | |
pid_Kp=34.652 | |
pid_Ki=2.063 | |
pid_Kd=145.537 | |
min_temp: 0 | |
max_temp: 250 | |
#[extruder1] | |
#My printer uses a single extruder. These pins are untested! | |
#step_pin: PC0 | |
#dir_pin: !PG1 | |
#enable_pin: !PC1 | |
#heater_pin: PH5 | |
#sensor_pin: PK7 | |
#... | |
[heater_bed] | |
heater_pin: PB4 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: PK6 | |
control: watermark | |
min_temp: 0 | |
max_temp: 130 # That is way optimistic | |
[fan] | |
pin: PH4 | |
[mcu] | |
serial: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AH01EGOK-if00-port0 | |
#Your serial connection will be different! | |
[printer] | |
kinematics: cartesian | |
max_velocity: 300 | |
max_accel: 3000 | |
max_z_velocity: 5 | |
max_z_accel: 100 | |
#Max velocities and accelerations not yet determined! | |
# 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=<GND>, | |
# 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=<GND>, | |
# EXP2_2=PB1, EXP2_4=PB0, EXP2_6=PB2, EXP2_8=PG0, EXP2_10=<RST> | |
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi" | |
# Note, some boards wire: EXP2_8=<RST>, EXP2_10=PG0 | |
# See the sample-lcd.cfg file for definitions of common LCD displays. | |
#for moonraker, it needs virtual_sdcard, pause_resume, and display_status: | |
[virtual_sdcard] | |
path: ~/printer_data/gcodes | |
on_error_gcode: CANCEL_PRINT | |
[pause_resume] | |
[display_status] | |
#also, the mainsail default cfg had this line in it, so copy that too: | |
[include mainsail.cfg] | |
# Please let me know if this file helped you in any way! www.eLuke.nl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment