Skip to the content
2 layersSingle, the printed circuit board in 3D

3D Printer controller board using STM32 NUCLEO-F446 kit TMC2130/2660/2209 drivers

Copper layers
2
Thickness
1.6 mm
Parts
62
Nets
60
Pads
218
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 5 (file 20171130)
Created
26 Mar 2018
Updated
3 May 2020

Overview

Single is an open-source printed circuit board by ghent360, from the ghent360/PrntrBoard repository on GitHub. It is a 2-layer board with 62 parts on 60 nets.

It is built around the SI2318CDS, BAT54S and DTC124E, with the PSMN7R0-30YL among its other parts. Its parts include 20 resistors, 12 capacitors, 7 diodes, 7 connectors and 4 transistors. It belongs with the STM32 boards of this library.

Main components

4

README

README.md

Prntr Board V1

Deprecated

This project has run it's course. Most of the features are complete and there is little I can improve further. I have switched my focus to the V2 design.


PrntrBoard is a 3D printer controller board designed to work with STM32 NUCLEO dev kits. The current version (V1) supports NUCLEO-64 series kits. The design is being developed on F446-RE kit, but other models could work as well. IMO the STM32F446 NUCLEO-64 kit offers very good performance (180MHz CPU) for the price ($15).

Picture of Rev2 Kicad Rendering Some features of the board:

  • 5x Trinamic super quiet drivers (TMC2130, TMC2660 or TMC2209)
  • Marlin 2.0 firmware
  • (2+2) controllable fans and 2x "always on" fan connectors
  • 3x min and max endstops for the x, y and z axis
  • 2x end stops for fillament end detection
  • SPI or I2C display connector for ST7735 or SSD1306 screen + one button and rotary encoder
  • Dual thermocouple connectors (for MAX31866, MAX31855 or MAX6675 boards)
  • Input voltage (Vin): 12-24V
  • selectable fan voltage (5V or Vin)

Because the NUCLEO-64 has limited number of IO pins, some compromises had to be made:

  • No sd-card (sd-card is added using new NUCLEO-64 compatible board)
  • The thermocouple connectors share pins with the E0 and E1 cool fan controls. You'll have to decide to use one or the other via jumpers on the board. Most printers I've seen come with "always on" extruder fans, the choice seemed like a worthy sacrifice.

Generic shortcuts I don't plan to improve:

  • 5V power supply is external. These are available from various resellers and fairly cheap - less than $1. No need to waste board layout space and component count. (this has beed addresses with the new NUCLEO-64 compatible daugherboard)
  • Heated bed MOSFET - large heated beds consume a lot of power and it is challenging to provision the design for > 20A current (there is simply not enough copper space on the board to support this current). External heated bed MOSFETs are very affordable < $10 and support 20A-40A with no issues. If you have large heated bed - use external MOSFET or SSR.

Details

I use the daily build of KiCad (soon to be released V6) - let me know if you have trouble opening the files.

The current PCB desing is using 4 layer board, 6/6 mil track width/clearance, 12 mil min via hole size and 20 mil via diameter.

There are tree active branches:

  • tmc2130 - the board design for TMC2130 drivers
  • tmc2130-redesign - redesign of the TMC2130 branch with the nucleo board flipped
  • tmc2660 - the board design for TMC2660 drivers
  • tmc2209 - the board design for TMC2209 drivers

TMC2130 and TMC2660 PCB designs use the QFP version of the driver ICs, because they can handle a bit more power. The TMC2209 is available only in QFN package.

Status

TMC2130 version is table and been running for over a year. TMC2660 is being tested at the moment. Prototypes of the TMC2209 are being made.

old status: I've been running a prototype of this board for a few months now and I'm very happy with the board stability. I'm trying to figure out how to make these at scale.

I have made prototypes of the TMC2130 board design (rev0) - the board has a few bugs, that are corrected in the rev1 version. Rev0 did not have LCD screen, it was added in Rev1. I'm trying to work-out the thermal design issues. Rev1 board have been ordered and the dev branch is now switched to Rev2. The thermocouple connectors are added Rev2. Rev2 borads have been ordered. The current working board is rev3. Added 2 more pins to the LCD connector for the rotary encoder input. I also re-connected the E1 and E0 CS pins, so the LCD pins can be connected to the hardware I2C pins. This way one can use SPI or I2C screens.

This branch is a redesign of the TMC2130 board. The main difference is that the NUCLEO board is flipped in a more natural position. In addition I'm now using a dedicated ground plane, larger heatsink areas for the mosfets. I'm much happier with the thermal layout of this branch.

The NUCLEO-64 board was limiting the design in many ways. I have a replacement board using STM32F407VE. This is 100 pin part. The new daughter board is the same form factor as the NUCLEO-64. It adds SPI EEPROM as well as native USB interface and micro SD-Card socket. The new board also has enough space for 24V to 5V buck converter, so power supply can beintegrated.

Tested circuits:

  • Heater control
  • Thermistor input
  • Fan control
  • Motor driver control
  • Z probe
  • End stops
  • Thermocuple interface (tested MAX31855 with Smoothieware)
  • LCD interface (tested REPRAP discount full graphics controller - the panel has issues sharing the SPI port with the TMC drivers. Could be solved with adapter board with extra AND gate)

Circuits that need verification:

  • Stall guard alert from the motor driver

Software

The software for the board is a clone of Marlin at bugfix-2.0.x branch of my repository. It is quite usable. I keep it relatively in sync with the Marlin branch. Note: there are other branches of Marlin, only the bugfix-2.0.x supports the STM32 microcontroller.

Marlin is using Adruino IDE or Platform IO. I personally had issues with Platform IO not supporting the STM32F4 board, so I use Arduino version 1.8.5. To compile the firmware code you would need to install the STM32 Arduino port.

I'm also porting Smoothieware V1 to the board. So far I got the heater control and the stepper drivers working. My smoothie port is available here. Please not the Smoothie port is not ready yet (there is an issue with the ADC). I have done only minimal tests so far.

Visit my blog for status updates on the development of the board.

Parts

62
QtyValueFootprintReferences
1110kLocal:R_0603_1608MetricR1, R2, R5, R6, R7, R9, R18, R21, R23, R27, R29
51N4148Diode_SMD:D_SOD-323_HandSolderingD2, D7, D8, D11, D12
4100nFLocal:C_0603_1608MetricC2, C5, C6, C7
310KLocal:R_0603_1608MetricR10, R11, R12
31uFLocal:C_0603_1608MetricC8, C9, C13
3Conn_01x03_MaleConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ7, J9, J11
21kLocal:R_0603_1608MetricR22, R28
220pFLocal:C_0603_1608MetricC3, C4
2Conn_01x05_MaleConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalSWD1, TC0
2FiducialLocal:Fiducial_1mm_Dia_2.54mm_Outer_CopperTopFID1, FID2
2MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2
2SI2318CDSPackage_TO_SOT_SMD:SOT-23Q5, Q7
10Local:R_0603_1608MetricR3
110nFLocal:C_0603_1608MetricC10
110uFLocal:C_0603_1608MetricC1
110uF 50VLocal:C_1206_3216MetricC11
11R5Local:R_0603_1608MetricR8
120A 50VLocal:TerminalBlock_Phoenix_PT-1,5-2-3.5-H_1x02_P3.50mm_HorizontalJ1
1390Local:R_0603_1608MetricR4
14k7 1%Local:R_0603_1608MetricR17
16A 50VLocal:TerminalBlock_Phoenix_PT-1,5-2-3.5-H_1x02_P3.50mm_HorizontalJ3
18MHzCrystal:Crystal_SMD_HC49-SDY1
1AudioJack4_GroundPJ320D:Jack_3.5mm_PJ320D_HorizontalJ2
1BAT54SPackage_TO_SOT_SMD:SOT-23D5
1BOOTConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJP1
1Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ5
1Conn_02x06_Odd_EvenConnector_IDC:IDC-Header_2x06_P2.54mm_VerticalLCD1
1DCBuckDCBuck:Buck2217U2
1DTC124EPackage_TO_SOT_SMD:SOT-23Q1
1PSMN7R0-30YLPackage_TO_SOT_SMD:LFPAK56Q2
1REDDiode_SMD:D_0603_1608MetricD1
1STM32F030C8TxPackage_QFP:LQFP-48_7x7mm_P0.5mmU1
1SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mmJP2

More from ghent360/PrntrBoard

5
  • 4 layers99 × 99 mmPrntrBoardV1, the printed circuit board in 3D

    PrntrBoardV1

    ghent360/PrntrBoard

    3D Printer controller board using STM32 NUCLEO-F446 kit TMC2130/2660/2209 drivers

    238 parts24
  • 2 layers73.4 × 47.1 mmEExtruder, the printed circuit board in 3D

    EExtruder

    ghent360/PrntrBoard

    3D Printer controller board using STM32 NUCLEO-F446 kit TMC2130/2660/2209 drivers

    97 parts24
  • 2 layers70 × 81 mmNucleo-64-407, the printed circuit board in 3D

    Nucleo-64-407

    ghent360/PrntrBoard

    3D Printer controller board using STM32 NUCLEO-F446 kit TMC2130/2660/2209 drivers

    68 parts24
  • 2 layers53 × 33 mmIOBoard, the printed circuit board in 3D

    IOBoard

    ghent360/PrntrBoard

    3D Printer controller board using STM32 NUCLEO-F446 kit TMC2130/2660/2209 drivers

    12 parts24
  • 2 layers23.5 × 13.5 mmZProbe, the printed circuit board in 3D

    ZProbe

    ghent360/PrntrBoard

    3D Printer controller board using STM32 NUCLEO-F446 kit TMC2130/2660/2209 drivers

    10 parts24

Similar boards

  • 2 layers148.7 × 104.3 mmPrntrBoardV2, the printed circuit board in 3D

    PrntrBoardV2

    kitspace-test-repos/kicad6-file-collection

    288 partsMIT
  • 2 layers97.6 × 68.7 mmInternship Project, the printed circuit board in 3D

    Internship Project

    GaleaIoanStefan/Ebm-Papst_internship

    PCB design for a equipment that measures contact heat transfer rates

    40 parts
  • 4 layers114.3 × 86.4 mmLinear window controller, the printed circuit board in 3D

    Linear window controller

    eflukx/Linear-motor-window-controller

    Linear quad/octa motor slide Window controller, featuring absolute position feedback control, motor current monitoring using a ESP32-S3 hi performance controller

    201 parts
  • 2 layers52 × 33 mmDrone ESC Bridge, the printed circuit board in 3D

    Drone ESC Bridge

    jerinabr/Drone_ESC_Bridge

    PCB that allows the NVIDIA Jetson to communicate with the 4-in-1 ESC for the drone

    24 parts
  • 2 layers58.2 × 38.1 mmUsb sniffer, the printed circuit board in 3D

    Usb sniffer

    ataradov/usb-sniffer

    Low-cost LS/FS/HS USB sniffer with Wireshark interface

    87 parts1.3kBSD-3-Clause
  • 4 layers94.4 × 72.8 mmRP2040 base, the printed circuit board in 3D

    RP2040 base

    Twisted-Fields/rp2040-motor-controller

    A dual channel brushless motor controller based on the RP2040 microcontroller, designed in Kicad.

    325 parts419
  • 4 layers72.4 × 95.3 mmDingoPDM, the printed circuit board in 3D

    DingoPDM

    corygrant/dingoPDM

    Hardware - dingoPDM is an open source, affordable automotive PDM (Power Distribution Module). Pre-assembled and tested units are available or the design can be used to build a DIY version.

    156 parts128MIT
  • 2 layers100 × 99.8 mmUnderdog, the printed circuit board in 3D

    Underdog

    turboedge/SpeedyBoards

    EMS boards powered by Speeduino

    396 parts110GPL-2.0

Questions

What parts does the Single use?

62 parts, built around the SI2318CDS, BAT54S, DTC124E and PSMN7R0-30YL. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Single KiCad files?

From the ghent360/PrntrBoard repository on GitHub, at the commit this page was made from: the board is EExtruder/Single.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Single design in my own project?

Its repository states no licence, so its author keeps all rights: ask ghent360 before reusing the design.