This document primarily introduces the toolhead motherboard in the Lancer Extrusion System.
The toolhead motherboard is the most critical electronic component in the Lancer extrusion system. It communicates with the Klipper motherboard via CANBus, and all other connections are integrated onto the RP2040 chip for processing.
The toolhead consists of two MCUs: one is the RP2040, and the other is the 8051. The 8051 is mainly responsible for collecting and analyzing data from the load cell sensor and outputting high and low-level signals. The RP2040 implements the CAN protocol and configures all Klipper-related control pins.
This document will provide detailed information about the hardware interfaces and the corresponding software configuration settings.
Specifications:
PCB Backside Interfaces:
Regarding the mainboard interfaces mentioned above, the following clarifications are provided:
The following table provides the RP2040 pin numbers for each interface.
Interface Description | Pin Number |
---|---|
Step motor dir | GPIO4 |
Step motor plus | GPIO5 |
Step motor enable | GPIO10 |
Step motor uart | GPIO6 |
Heater pin | GPIO0 |
Temperature sensor pin | GPIO26 |
Part Fan 0 | GPIO2 |
Part Fan 1 | GPIO11 |
Hotend Fan | GPIO1 |
Filament runout sensor | GPIO29 |
Loadcell overload pin | GPIO25 |
Loadcell reset pin | GPIO24 |
Filament Load Button | GPIO20 |
Filament Unload Button | GPIO27 |
Input Shaper ADXL34 CS pin | GPIO13 |
Input Shaper ADXL34 SCLK pin | GPIO14 |
Input Shaper ADXL34 MOSI pin | GPIO15 |
Input Shaper ADXL34 MISO pin | GPIO12 |
For detailed configuration references, please visit Peopoly's GitHub:
https://github.com/mypeopoly/magneto-x-klipper-config/blob/main/config/magneto_toolhead.cfg
Below is the hole position diagram of the LancerToolhead motherboard: