This is a big build so there's a PCB to help keep the wiring nice and tidy. The PCB uses headers to easily plug in the breakouts and KB2040. The rotary encoder, terminal blocks, DC jack and JST connectors get soldered directly to the board. There are labels on the silkscreen to help identify the correct placement for everything. The Eagle files and Gerber files are available on GitHub if you want to order your own.
Fritzing
Of course, if you're feeling adventurous, you can forego the PCB and wire the breakouts and components directly.
Power
- DC Jack 12V Power to MPM3601 Vin (red wire)
- DC Jack GND to MPM3601 GND (black wire
- DC Jack 12V Power to TMC2209 1 terminal block + (red wire)
- DC Jack GND to TMC2209 1 terminal block - (black wire)
- DC Jack 12V Power to TMC2209 2 terminal block + (red wire)
- DC Jack GND to TMC2209 2 terminal block - (black wire)
- MPM3601 5V to KB2040 RAW (red wire)
- MPM3601 GND to KB2040 G (black wire)
Rotary Encoder
- Encoder button to KB2040 D2 (purple wire)
- Encoder GND to KB2040 G (black wire)
- Encoder pin A to KB2040 D7 (orange wire)
- Encoder pin B to KB2040 D6 (cyan wire)
TFT
- TFT Vin to KB2040 3V (red wire)
- TFT Gnd to KB2040 G (black wire)
- TFT SCK to KB2040 SCK (green wire)
- TFT MOSI to KB2040 MOSI (blue wire)
- TFT TCS to KB2040 D10 (white wire)
- TFT RST to KB2040 D9 (grey wire)
- TFT DC to KB2040 D8 (pink wire)
Limit Switches
- Limit switch GND to KB2040 G (black wire)
- Limit switch 1 output to KB2040 A2 (ochre wire)
- Limit switch 2 output to KB2040 A3 (brown wire)
TMC2209 Breakout 1
- KB2040 3V to TMC2209 1 VDD (red wire)
- KB2040 G to TMC2209 1 GND (black wire)
- KB2040 TX to 2.2K resistor (white wire)
- KB2040 RX to 2.2K resistor (green wire)
- TMC2209 1 UART to RX side of resistor (purple wire)
- TMC2209 1 1A to stepper motor coil 1 positive (green wire)
- TMC2209 1 1B to stepper motor coil 1 negative (yellow wire)
- TMC2209 1 2A to stepper motor coil 2 positive (red wire)
- TMC2209 1 2B to stepper motor coil 2 negative (black wire)
TMC2209 Breakout 2
- KB2040 3V to TMC2209 2 VDD (red wire)
- KB2040 G to TMC2209 2 GND (black wire)
- KB2040 D4 to 2.2K resistor (yellow wire)
- KB2040 D5 to 2.2K resistor (blue wire)
- TMC2209 2 UART to RX side of resistor (purple wire)
- TMC2209 2 1A to stepper motor coil 1 positive (green wire)
- TMC2209 2 1B to stepper motor coil 1 negative (yellow wire)
- TMC2209 2 2A to stepper motor coil 2 positive (red wire)
- TMC2209 2 2B to stepper motor coil 2 negative (black wire)
Page last edited May 13, 2025
Text editor powered by tinymce.