-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathebb-sb-rp2040-canbus.cfg
85 lines (71 loc) · 2 KB
/
ebb-sb-rp2040-canbus.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# This file contains common pin mappings for the BIGTREETECH EBBCan
# Canbus board. To use this config, the firmware should be compiled for the
# RP2040 with "USB" or "CAN bus (on gpio4/gpio5)".
# The "EBB Can" micro-controller will be used to control the components on the nozzle.
# See docs/Config_Reference.md for a description of parameters.
[mcu EBBCan]
#serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
canbus_uuid: 6407034f63c1
[adxl345]
cs_pin: EBBCan:gpio1
spi_software_sclk_pin: EBBCan:gpio2
spi_software_mosi_pin: EBBCan:gpio0
spi_software_miso_pin: EBBCan:gpio3
axes_map: z,-y,x
[resonance_tester]
probe_points: 150, 150, 20
accel_chip: adxl345
[extruder]
step_pin: EBBCan:gpio18
dir_pin: EBBCan:gpio19
enable_pin: !EBBCan:gpio17
microsteps: 32
full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree
rotation_distance: 22.452161589 ;22.6789511 ;33.500
gear_ratio: 50:10
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: EBBCan:gpio7
sensor_type: ATC Semitec 104NT-4-R025H42G
sensor_pin: EBBCan:gpio27
;control: pid
;pid_Kp: 21.527
;pid_Ki: 1.063
;pid_Kd: 108.982
min_temp: 0
max_temp: 300
min_extrude_temp: 170
max_extrude_cross_section: 5
pressure_advance: 0.04
max_extrude_only_distance: 150.0
# sensor_type: MAX31865
# sensor_pin: EBBCan:gpio9
# spi_software_sclk_pin: EBBCan:gpio10
# spi_software_mosi_pin: EBBCan:gpio8
# spi_software_miso_pin: EBBCan:gpio11
# rtd_nominal_r: 100
# rtd_reference_r: 430
# rtd_num_of_wires: 2
[tmc2209 extruder]
uart_pin: EBBCan:gpio20
run_current: 0.650
stealthchop_threshold: 999999
[fan]
## Print Cooling Fan
pin: EBBCan:gpio13
[heater_fan hotend_fan]
pin: EBBCan:gpio14
heater: extruder
heater_temp: 50.0
;[fan_generic 4W_FAN0]
;pin: EBBCan:gpio15
;tachometer_pin: EBBCan:gpio12
#tachometer_ppr: 1
#[neopixel hotend_rgb] - moved to stealthburner_leds.cfg
#pin: EBBCan:gpio16
;[bltouch]
;sensor_pin: ^EBBCan:gpio21
;control_pin: EBBCan:gpio22
## NPN and PNP proximity switch types can be set by jumper
#[probe]
#pin: ^EBBCan:gpio6