This commit is contained in:
2022-12-08 20:40:06 +01:00
parent 4ab57813e2
commit ebcd2733d1
2 changed files with 87 additions and 58 deletions

View File

@@ -6,6 +6,11 @@
[include mainsail.cfg] [include mainsail.cfg]
[mcu EBBCan]
canbus_uuid: 82edf63bd1a9
[include toolhead.cfg]
[stepper_x] [stepper_x]
step_pin: PC6 step_pin: PC6
dir_pin: !PA14 dir_pin: !PA14
@@ -39,29 +44,10 @@ position_endstop: 207.890
position_max: 232 position_max: 232
position_min: -10 position_min: -10
homing_speed: 40 homing_speed: 40
#second_homing_speed: 3
#homing_retract_dist: 3
# [extruder]
# step_pin: PB3
# dir_pin: PB4
# enable_pin: !PD5
# microsteps: 16
# rotation_distance: 22.9
# nozzle_diameter: 0.400
# filament_diameter: 1.750
# heater_pin: PC8
# sensor_type: Generic 3950
# sensor_pin: PA0
# control: pid
# pid_Kp: 20.837
# pid_Ki: 1.037
# pid_Kd: 104.708
# min_temp: 0
# max_temp: 275
#[filament_switch_sensor extruder_filament_sensor] [filament_switch_sensor extruder_filament_sensor]
#switch_pin: ^!PC15 switch_pin: ^!PC15
# [heater_bed] # [heater_bed]
# heater_pin: PD8 # heater_pin: PD8

43
toolhead.cfg Normal file
View File

@@ -0,0 +1,43 @@
# 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.
# [mcu EBBCan]
# canbus_uuid: 82edf63bd1a9
[adxl345]
cs_pin: EBBCan: PB12
spi_software_sclk_pin: EBBCan: PB10
spi_software_mosi_pin: EBBCan: PB11
spi_software_miso_pin: EBBCan: PB2
axes_map: x,y,z
[fan]
pin: EBBCan: PA0
[heater_fan hotend_fan]
pin: EBBCan: PA1
heater: extruder
heater_temp: 50.0
[bltouch]
sensor_pin: ^EBBCan:PB8
control_pin: EBBCan:PB9
z_offset: 1.230
# [tmc2209 extruder]
# uart_pin: EBBCan: PA15
# run_current: 0.650
# stealthchop_threshold: 999999
#[neopixel hotend_rgb]
#pin: EBBCan:PD3
#[filament_switch_sensor switch_sensor]
#switch_pin: EBBCan:PB4
#[filament_motion_sensor motion_sensor]
#switch_pin: ^EBBCan:PB3