Wiring diagram
Revision 0.5, 1.0 and 1.01
Click on the image for a larger version
Description of Connections
Header | PCB label | Function |
---|---|---|
1 x 4-way barrier strip | POWER IN, GND, VIN | Two pins for main VIN and GND |
OUT_0, V_OUT_0_OUT, OUT_0_NEG | Two pins for positive and negative OUT_0 terminals. OUT_0 is intended to drive a bed heater or other high current resistive load. If you connect an inductive load to this output, you must use a suitably rated external flyback diode. The ground side of OUT_0 is switched by the mosfet and the positive side is protected by a 15A fuse. | |
2 x 2-pin JST VH connectors | OUT_1, OUT_2 | Intended for extruder heaters or similar medium/high current resistive loads. Maximum recommended current 6A each. These outputs are protected by flyback diodes. |
2 x 4-pin KK connectors | OUT_3, OUT_4 | Intended for PWM-controllable fans or other medium/low current loads, flyback diodes are built-in to these outputs. The connector fits a standard PC-type 4-pin PWM fan. Alternatively, a 2-pin fan may be connected between the V_OULC1+ pin (+ve) and the OUT_n_NEG pin (-ve). |
Note: OUT_3 and OUT_4 are protected by a flyback diode to V_FUSED. This does not provide protection if driving these outputs from a higher voltage than V_FUSED | ||
1 x 3-pin Jumper | OUT_3&4 Select V | The positive supply to the above connectors is the centre pin of the 3-pin jumper block. A jumper in the "left" position will power them from the fused VIN supply (max 2A each ). A jumper in the "right" position will power them from the onboard 12V regulator (subject to overall 12V supply current see note 1 below). |
2 x 2-pin KK connectors | OUT_5, OUT_6 | these are intended for PWM-controllable fans or other medium/low current loads, flyback diodes are built-in to these outputs. Note out_6 PWM pin is shared with LASER/VFD |
Note: OUT_5 and OUT_6 are protected by a flyback diode to V_FUSED. This does not provide protection if driving these outputs from a higher voltage than V_FUSED | ||
1 x 3-pin Jumper | OUT_5&6 Select V | The positive supply to the above connectors is the centre pin of the 3-pin jumper block. A jumper in the "left" position will power them from the fused VIN supply (max 2A each ). A jumper in the "right" position will power them from the onboard 12V regulator (subject to overall 12V supply current see note 1 below). |
5 x 4-pin KK connectors | DRIVER_0, DRIVER_1, DRIVER_2, DRIVER_3, DRIVER_4 | Stepper motor connections, See "Connecting Stepper Motors" section below. |
1 x 16-pin socket strip | EXTERNAL DRIVERS | Step, Direction, Enable, Diag and UART connections for DRIVER_5 and DRIVER_6, along with fused VIN, ground, 3.3V and 5V. Designed for a Mini 2+ expansion board to plug directly in. Step, direction and enable can also be used with other external drivers (3.3V signal level). |
1 x 2x5 IDC connector | PanelDue_SD | Connects the [PanelDue UPDATE LINK]() UART and shared SPI bus for external SD card. Powered from 5V supply (see note 2). Note shared with io0.in and io0.out pins on the IO_0 header. |
1 x 3-pin KK connectors | LASER/VFD | 5V buffered output shared with out6, along with 5V and ground supply (see note 2 below). Provides a 5V PWM signal to drive hobby servos, and PWM->analog controls for VFDs or Lasers. Note out6 PWM pin is shared with OUT_6 |
1 x 2-pin KK connectors | 12V | Always on 12V supply (see note 1 below) |
Network | Ethernet | 1 x RJ45 100BaseT Port. non MDIX connect to an Ethernet switch, hub or MDIX enabled laptop port. If connecting to a non MDIX enabled port use a crossover cable. Orange LED on Ethernet port indicates Ethernet enabled, green LED indicates network activity |
Wifi | U.FL/IPEX push on connector for external antenna. Note this connector is delicate, take care when plugging and unplugging. "LED ESP": green LED indicates Wifi connection status | |
Reset | Single push to reset the board. Double push to put the board into UF2 bootloader upload mode. See [Duet 3 Mini 5 + Firmware, Updating firmware via USB UPDATE LINK]() | |
1 x JST ZH 6-pin connectors | SWD | Connection for an SWD programming device such as an Atmel-ICE |
1 x 2-pin KK connectors | CAN | CAN-FD Bus connection for Duet 3 CAN-FD expansion boards. |
5 x 5-pin KK connectors | IO_0, IO_1, IO_2, IO_3, IO_4 | These are for endstop switches, Z probes, filament monitors and other low-voltage I/O functions. Each connector provides both 3.3V and 5V power. The inputs will tolerate up to 30V with 10K series resistors (but see below for bypass option). The outputs are 3.3V signals levels with 470R series resistors. IO_1,2,3 are PWM capable. |
2 x 2-pin Jumpers 10K->470R bypass | IO2.in, IO3.in | v1.01 and later only. Jumpers to allow the 10K resistors on IO2.in and IO3.in to be bypassed with 470R resistors. This is required to use IO2 or IO3 for I2C. |
2 x 3-pin KK connectors | IO_5, IO_6 | Input only IO connections that will tolerate up to 30V with 10K series resistors |
3 x 2-pin KK connectors | TEMP_0, TEMP_1, TEMP_2 | Connections for thermistor or PT1000 sensors. |
1 x 2x13 IDC connector | SBC | Connections to a Single Board Computer (SBC) such as a Raspberry Pi. |
1 x 2x5 IDC connector | TEMPDB | For connecting a [PT100 UPDATE LINK]() or [thermocouple UPDATE LINK]() interface board. Note boards cannot be stacked so only 1 board at a time is supported. |
1 x 3-pin Jumper | 5V_SELECT | Source of optional External 5V input, see note 2 below |
1 x 2-pin Jumper | Int_5V_Disable | Connect a jumper across this to disable the internal 5V regulator, see note 2 below |
2 x 2x5 IDCs | 12864_EXP1, 12864_EXP2 | Headers for connecting a 12864 display using a ST7567 controller, see "Connecting a 12864 display" below. |
1 x 3-pin KK connector | NP_LED | This is to connect and power NeoPixel LED strips (DotStar LED strips are not supported) . Connect the DO pin to Neopixel DI. External 5V must be supplied to the "EXT 5V" header to power the NeoPixel array, they cannot be powered from the onboard regulator. |
1 x 3-pin KK connector | EXT 5V | Input for External 5V supply, see Note 2 below. There is a buffered 5V "pson" pin which can be used to switch an external supply, note it is shared with io4.out |
Notes
- Total 12V load should not exceed 800mA
- 5V can be powered from multiple inputs (USB, External 5V input, SBC) as well as the internal 5V regulator. Total 5V load should not exceed 800mA when powered from the internal 5V regulator. See Powering the board, 5V Power options section on the Duet 3 Mini 5+ Hardware page for more information
LED indications
LEDs are provided to indicate the following:
Label | Colour | Function |
---|---|---|
ACT | Green | Indicates activity on the CAN-FD bus |
STATUS | Red | See description below |
V_FUSED | Blue | Indicates fused VIN supply present |
12V+ | Amber | Indicates indicates on-board 12V regulator operating |
5V+ | Red | Indicates indicates 5V supply present |
3.3V+ | Green | Indicates on-board 3.3V regulator operating |
ESP | Green | WiFi version only. Indicates WiFi activity; flashing for searching/connecting, on for connected. |
OUT_0 | Red | Next to the OUT 0 connector, indicates when on |
OUT_1 | Red | Next to the OUT 1 connector, indicates when on |
OUT_2 | Red | Next to the OUT 2 connector, indicates when on |
The red LED next to the Reset button is labelled "STATUS". On version 0.2 boards it is labelled DIAG. It indicates the state of the board, as follows.
LED | Meaning |
---|---|
Flashing steadily, about half a second off and half a second on | Normal operation, RepRapFirmware is running |
Flashing three times, then off for a while | Firmware CRC check failed |
Fading from bright to dim and then back again | USB bootloader activated |
Pin names
For more information on pin names, see Pin names.
RepRapFirmware 3 uses pin names for user-accessible pins, rather than pin numbers, to communicate with individual pins on the PCB. In RRF 3 no user-accessible pins are defined at startup by default. Pins can be defined for use by a number of gcode commands, eg M574, M558, M950.
The Duet 3 series uses the pin name format "expansion-board-address.pin-name" to identify pins on expansion board, where expansion-board-address is the numeric CAN address of the board. A pin name that does not start with a sequence of decimal digits followed by a period, or that starts with "0." refers to a pin on the Duet 3 Mini 5+.
Pin location | RRF3 Pin name | Notes |
---|---|---|
Heater outputs | ||
OUT_0 | out0 | High current output, bed heater |
OUT_1 | out1 | Medium current outputs, hot ends |
OUT_2 | out2 | |
Outputs (4-pin) | ||
OUT_3 | out3 | 4-wire fans with tacho |
out3.tach | ||
OUT_4 | out4 | |
out4.tach | ||
Outputs (2-pin) | ||
OUT_5 | out5 | |
OUT_6 | out6, laser, vfd | Pin shared with OUT 6 and LASER/VFD connectors |
Temperature inputs | ||
TEMP_0 | temp0 | |
TEMP_1 | temp1 | |
TEMP_2 | temp2 | |
Inputs/Output | ||
IO_0 | io0.in | Endstops, Z probes, filament monitors etc |
io0.out | ||
IO_1 | io1.in | |
io1.out | ||
IO_2 | io2.in | |
io2.out | ||
IO_3 | io3.in | |
io3.out | ||
IO_4 | io4.in | |
io4.out, pson | ||
IO_5 | io5.in | Input only |
IO_6 | io6.in | |
SPI CS | ||
TEMPDB | spi.cs0 | Thermocouple or PT100 daughterboard |
spi.cs1 | ||
spi.cs2 | ||
spi.cs3 | ||
Miscellaneous | ||
LASER/VFD | laser, vfd, out6 | Pin shared with OUT 6 and LASER/VFD connectors |
EXT 5V | pson, io4.out | For controlling an external PSU or SSR, shared with io4.out |
Errata
Revision 0.4
- There is insufficient room to fit the PanelDue 2x5 pin box connector unless a small part of the connector housing is removed, because the processor intrudes into its footprint. All version 0.4 boards have been fitted either with a box connector with some of the plastic removed, or with a 2x5 pin header instead. If a pin header is fitted, the PanelDue ribbon cable must be mated with it such that the spigot on the ribbon cable connector faces away from the stepper drivers. Pin 1 of the ribbon cable (usually indicated by a red stripe) must face towards the power input connector as shown here.
- A pullup resistor was missing. All version 0.4 boards have been modified to include this resistor on the underside of the board.
Revision 0.2
- The SCLK and MOSI signals on the PanelDue ribbon cable connector have 5V signal levels, however the PanelDue displays connect these signals directly to the SD card socket, therefore they should be 3.3V. Do not use a SD card in the SD card socket of PanelDue. Doing so may damage the card.
- The Reset pin on the Mini 12864 display connector is not connected. This means that unless the display has a pullup resistor on this pin, the display may remain in the reset state. To fix this you can connect a 10K resistor between the pin and +3.3V as shown here.
- The wiring between the WiFi module and main processor was incorrect. All prototype boards have been modified to fix this.
- The LED to indicate WiFi status is missing.
- Pin 17 on the SBC header is labelled SBC_5V in error it should read SBC_3.3V
One Comment
The explanation of how to wire a 2 wire fan for PWM control on OUT_3 or OUT_4 - could really use some more detail and clarification for those regular humans whos day job is NOT reading electrical engineering and circuit diagrams
Steve - Reply