This commit is contained in:
Kyle Brown 2024-05-12 18:16:09 -07:00
parent 245ef01a56
commit 656003f8b1
4 changed files with 75 additions and 8 deletions

View file

@ -131,8 +131,8 @@ gcode:
G91
G1 Z{Z}
G90
G1 X{X} F{1000*60}
G1 Y{Y} F{1000*60}
G1 X{X} Y{Y} F{1000*60}
#G1 Y{Y} F{1000*60}
G91
[gcode_macro safe_retract]

View file

@ -1,4 +1,5 @@
# [include pico.cfg]
#[include tinytemp.cfg]
[include basic_macros.cfg]
[include timelapse.cfg]
[include kiauh_macros.cfg]
@ -53,13 +54,17 @@ serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_33FFD8055646303527842243-if00
heater_pin: PA3
sensor_type: NTC 100K MGB18-104F39050L32
sensor_pin: PF3
control: pid
pid_Kp: 34.144
pid_Ki: 0.650
pid_Kd: 448.141
control = pid
pid_kp = 49.702
pid_ki = 1.246
pid_kd = 495.773
#control: pid
#pid_Kp: 34.144
#pid_Ki: 0.650
#pid_Kd: 448.141
#max_power: 0.6
min_temp: 0
max_temp: 150
max_power: 0.6
pwm_cycle_time: 0.0166
[firmware_retraction]
@ -78,3 +83,4 @@ shaper_freq_x = 120.4
# To avoid too much smoothing with 'mzv', suggested max_accel <= 16600 mm/sec^2
shaper_type_y = mzv
shaper_freq_y = 75.0

View file

@ -79,7 +79,7 @@ gcode:
G90
G1 x300 y226 F{800*60}
# Belt is tight on the edge. Go slow to reach the endstop.
G1 x327.5 y226 F{30*60}
G1 x327 y227 F{30*60}
SET_GCODE_OFFSET Z=0.0 # Reset offset before homing Z
G28 Z0
G1 Z{Z}

61
tinytemp.cfg Normal file
View file

@ -0,0 +1,61 @@
# To flash
# [*] Enable extra low level configuration options
# Micro-controller Architecture (Raspberry Pi RP2040] --->
# Flash chip (Generic_03H with CLKDIV 4) --->
# Communiccation interface (USB) --->
# USB ids --->
# () GPIO pins to set at micro-controller startup
# Klipper config for TinyTemp
[mcu tinytemp]
serial: /dev/serial/by-id/usb-Klipper_rp2040_E6617C93E3186627-if00
restart_method: command
[board_pins tinytemp]
mcu: tinytemp
aliases:
T1=gpio29,
T2=gpio28,
T3=gpio27,
T4=gpio26,
LED=gpio16
[temperature_sensor thermistor1]
sensor_type: Generic 3950
sensor_pin: tinytemp:T1
pullup_resistor: 4730
#min_temp: 0
#max_temp: 200
[temperature_sensor thermistor2]
sensor_type: Generic 3950
sensor_pin: tinytemp:T2
pullup_resistor: 4660
#min_temp: 0
#max_temp: 200
[temperature_sensor thermistor3]
sensor_type: Generic 3950
sensor_pin: tinytemp:T3
pullup_resistor: 4680
#min_temp: 0
#max_temp: 200
[temperature_sensor thermistor4]
sensor_type: Generic 3950
sensor_pin: tinytemp:T4
pullup_resistor: 4670
#min_temp: 0
#max_temp: 200
[neopixel tinytemp]
pin: tinytemp:LED
color_order: RGB
initial_RED: 1.0
initial_GREEN: 0.0
initial_BLUE: 1.0
# Plenty of pins are free for random things.
# They are listed on the bottom of the board.