Skip to content

Commit

Permalink
Add initial support for LDO Picobilical
Browse files Browse the repository at this point in the history
  • Loading branch information
ndanyluk committed Mar 13, 2024
1 parent 136faca commit 5af3c31
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 0 deletions.
21 changes: 21 additions & 0 deletions config/mcu_definitions/toolhead/LDO_Picobilical_vA1.3.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Board pins configuration for the LDO Motors Picobilical Frame PCB vA1.3
# This is the board that ships with the LDO V0.2-S1 and V0.1-S1 kits
# to use pair with an umbilical and toolhead PCB (which is a pass-through)

[board_pins toolhead_manufacturer]
mcu: toolhead
aliases:
MCU_XES=gpio0 ,

MCU_HE0=gpio4 ,

MCU_TH0=gpio29 ,
MCU_CT=gpio28 ,

MCU_PCF=gpio2 , MCU_HEF=gpio3 ,

MCU_BEEPER=gpio5 ,

MCU_NEOPIXEL_1=gpio1 , MCU_NEOPIXEL_2=gpio7 ,

MCU_FS=gpio6 , MCU_SU=gpio18 ,
65 changes: 65 additions & 0 deletions user_templates/mcu_defaults/toolhead/LDO_Picobilical_vA1.3.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
#-------------------------------------------------#
#### LDO Picobilical Frame PCB A1.3 definition ####
#-------------------------------------------------#

[mcu toolhead]
##--------------------------------------------------------------------
serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path
restart_method: command
##--------------------------------------------------------------------

# If you want to override the wiring of the LDO Picobilical, keep in mind that this
# board is defined using the "toolhead" name. So you should use "pin: toolhead:PIN_NAME"
# in your own overrides.cfg files.

[include config/mcu_definitions/toolhead/LDO_Picobilical_vA1.3.cfg] # Do not remove this line
[board_pins picobilical_mcu]
mcu: toolhead
aliases:
X_STOP=MCU_XES ,

RUNOUT_SENSOR=MCU_FS ,

E_HEATER=MCU_HE0 , E_TEMPERATURE=MCU_TH0 ,

PART_FAN=MCU_PCF , E_FAN=MCU_HEF ,

PB_PCB_TEMP=MCU_CT ,

# If you want to use both of the independent neopixel ports,
# LIGHT_NEOPIXEL is on the left when installed in a V0 and
# LIGHT_NEOPIXEL_2 is on the right. This can be useful for
# "Rainbow on a Matchstick" strips on opposite sides of the printer
LIGHT_NEOPIXEL=MCU_NEOPIXEL_1 , LIGHT_NEOPIXEL_2=MCU_NEOPIXEL_2

#----------------------------------------#
# LDO Picobilical vA1.3 pins remapping #
#----------------------------------------#

# These pins overrides are automatically added when you select a
# toolhead MCU during the installation process. They should provide a
# good base to work with. Feel free to adapt to your board if needed!

[extruder]
heater_pin: toolhead:E_HEATER
sensor_pin: toolhead:E_TEMPERATURE
pullup_resistor: 2200

[fan]
pin: toolhead:PART_FAN

[heater_fan hotend_fan]
pin: toolhead:E_FAN

## Uncomment the following line if not using sensorless homing
## and having the X endstop plugged to the toolhead MCU
# [stepper_x]
# endstop_pin: ^toolhead:X_STOP

[temperature_sensor picobilical_temp]
sensor_type: CMFB103F3950FANT
sensor_pin: toolhead:PB_PCB_TEMP
pullup_resistor: 2200
min_temp: 0
max_temp: 100

0 comments on commit 5af3c31

Please sign in to comment.