-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcanbus.cfg
88 lines (79 loc) · 2.24 KB
/
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
86
87
# This file contains common pin mappings for the BIGTREETECH EBBCan
# Canbus board. To use this config, the firmware should be compiled for the
# STM32G0B1 with "8 MHz crystal" and "USB (on PA11/PA12)" or "CAN bus (on PB0/PB1)".
# 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.
[board_pins EBB2209_G0B1_v1.0]
mcu: can0
aliases:
aliases_step:
EXT_EN=PD2,EXT_STEP=PD0,EXT_DIR=PD1,EXT_UART=PA15
aliases_limitsw: # these are preferred for endstops (including klicky)
LIMIT_1=PB7,LIMIT_2=PB5,LIMIT_3=PB6
aliases_bltouch: # these are the dupont connectors for bltouch
PROBE_1=PB9,PROBE_2=PB8
aliases_fans:
FAN0=PA1,FAN1=PA0
aliases_thermistors: #PA2 is the onboard thermistor
TH0=PA3,PT100_CS=PA4,PT100_SCLK=PA5,PT100_MISO=PA6,PT100_MOSI=PA7,TH1=PA2
aliases_heaters:
HE0=PB13
aliases_rgb:
RGBLED=PD3
aliases_adxl:
ADXL_CS=PB12,ADXL_SCLK=PB10,ADXL_MISO=PB2,ADXL_MOSI=PB11
aliases_i2c:
AUX0=PB3,AUX1=PB4
## can0
# [temperature_sensor CANBOARD]
# sensor_type: temperature_mcu
# sensor_mcu: can0
## HOT END FAN
# [heater_fan hotend_fan]
# pin: can0:FAN0
# max_power: 1.0
# kick_start_time: 0.5
# heater: extruder
# heater_temp: 50.0
## PART COOLING
# [fan]
# pin: can0:FAN1
# kick_start_time: 0.25
# cycle_time: 0.15
# off_below: 0.10
# [extruder]
# step_pin: can0:EXT_STEP
# dir_pin: !can0:EXT_DIR
# enable_pin: !can0:EXT_EN
# #rotation_distance: 22.67895 #for 5mm Shaft Driven Bondtech gearsets
# rotation_distance: 26.72306036
# gear_ratio: 50:8 #for sherpa mini 8t motor
# microsteps: 16
# full_steps_per_rotation: 200 #1.8deg Motor
# max_extrude_only_distance: 1400.0
# max_extrude_only_velocity: 75.0
# max_extrude_only_accel: 1500
# nozzle_diameter: 0.400
# filament_diameter: 1.750
# heater_pin: can0:HE0
# sensor_pin: can0:TH0
# sensor_type: PT1000
# pullup_resistor: 2200 # 2200 is used for the PT1000
# control: pid
# pid_Kp: 22.2
# pid_Ki: 1.08
# pid_Kd: 114
# min_temp: -50
# max_temp: 350
# [tmc2209 extruder]
# uart_pin: EBBCan:PA15
# run_current: 0.650
# stealthchop_threshold: 999999
## RGB
# [neopixel my_neopixel]
# pin: can0:RGBLED
# chain_count: 12
#color_order: GRB
#initial_RED: 0.0
#initial_GREEN: 0.0
#initial_BLUE: 0.0