Mechanica Hardware – Printrboard pin overview

reprap icon

Printrboard pin overview

Informatie (ENG):

Hardware

The Printrboard electronic set was designed by members of the Printrbot team in order to eliminate the production and functionality shortcomings of older RepRap electronics sets. Printrboard improves upon the previous production-grade electronics set (Gen6) by adding heatbed and SD card support, reverting to 1/16 microstepping Allegro stepper drivers, and improving connectivity reliability and reducing cost by elimination of the FTDI UART chip. Printrboard also has expansion headers supporting I2C, SPI, UART, and ADC pins. All extra I/O ports of the AT90USB have been broken out to headers for prototyping and expansion.

Printrboard is a derivative of Teensylu, an AT90USB1286 development board originally based on Sanguinololu. The Atmel AT90USB1286 MCU has on-chip USB, removing the need for the FTDI UART (USB-to-serial) IC. On-chip USB means dramatically faster firmware upload times and communication. The AT90USB connects at any baud rate regardless of firmware configuration, and operates virtually free of serial communication errors/pauses.


Pin overview

Bron: labitat.dk

Physical I/O port mapping:

pin name internal configuration physical pin Arduino pin fastio.h pin analog pin Printrboard rev. B,C,D&E Printrboard rev. F
PA0 AD0 51 ​28 0 X-STEP X-STEP
PA1 AD1 50 29 1 X-DIR X-DIR
PA2 AD2 49 30 2 Y-STEP Y-STEP
PA3 AD3 48 31 3 Y-DIR Y-DIR
PA4 AD4 47 32 4 Z-STEP Z-STEP
PA5 AD5 46 33 5 Z-DIR Z-DIR
PA6 AD6 45 34 6 E-STEP E-STEP
PA7 AD7 44 35 7 E-DIR E-DIR
PB0 SS/PCINT0 10 20 8 Y-STOP SD:CS
PB1 PCINT1/SCLK 11 21 9 ICSP:SCLK ICSP:SCLK
PB2 PDI/PCINT2/MOSI 12 22 10 ICSP:MOSI ICSP:MOSI
PB3 PDO/PCINT3/MISO 13 23 11 ICSP:MISO ICSP:MISO
PB4 PCINT4/OC.2A 14 24 12 n/c(see note 1) Y-STOP
PB5 PCINT5/OC.1A 15 25 13 n/c(see note 1) EXP1:PB5
PB6 PCINT6/OC.1B 16 26 14 SD:CS EXP1:PB6
PB7 PCINT7/OC.0A/OC.1C 17 27 15 SD:CD SD:CD
PC0 A8 35 10 16 EXP2:PC0 EXP2:PC0
PC1 A9 36 11 17 EXP2:PC1 EXP2:PC1
PC2 A10 37 12 18 EXP2:PC2 EXP2:PC2
PC3 A11/T.3 38 13 19 E-ENABLE E-ENABLE
PC4 A12/OC.3C 39 14 20 HOTBED HOTBED
PC5 A13/OC.3B 40 15 21 HOTEND HOTEND
PC6 A14/OC.3A 41 16 22 PWM-FAN PWM-FAN
PC7 A15/IC.3/CLKO 42 17 23 Z-ENABLE Z-ENABLE
PD0 OC0B/SCL/INT0 25 0 24 EXP1:SCL I2C:SCL
PD1 OC2B/SDA/INT1 26 1 25 EXP1:SDA I2C:SDA
PD2 RXD1/INT2 27 2 26 EXP1:RX1 EXP1:RX1
PD3 TXD1/INT3 28 3 27 EXP1:TX1 EXP1:TX1
PD4 ICP1 29 4 28 EXP2:PD4 EXP2:PD4
PD5 XCK1 30 5 29 EXP2:PD5 EXP2:PD5
PD6 T1 31 6 30 EXP2:PD6 EXP2:PD6
PD7 T0 32 7 31 EXP2:PD7 EXP2:PD7
PE0 WR 33 8 32 EXP2:PE0 EXP2:PE0
PE1 RD 34 9 33 EXP2:PE1 EXP2:PE1
PE2 ALE/HWB 43 46 34 Hardware boot jumper Hardware boot jumper
PE3 IUID 9 47 35 X-STOP X-STOP
PE4 INT4/TOSC1 18 36 36 Z-STOP Z-STOP
PE5 INT.5/TOSC2 19 37 37 E-STOP EXP1:PE5
PE6 INT.6/AIN.0 1 18 38 Y-ENABLE Y-ENABLE
PE7 INT.7/AIN.1/UVcon 2 19 39 X-ENABLE X-ENABLE
PF0 ADC0 61 38 40 A0 B-THERM B-THERM
PF1 ADC1 60 39 41 A1 E-THERM E-THERM
PF2 ADC2 59 40 42 A2 EXP1:A2 EXP1:A2
PF3 ADC3 58 41 43 A3 EXP1:A3 EXP1:A3
PF4 ADC4/TCK 57 42 44 A4 EXP1:TCK EXP1:TCK
PF5 ADC5/TMS 56 43 45 A5 EXP1:TMS EXP1:TMS
PF6 ADC6/TDO 55 44 46 A6 EXP1:TDO EXP1:TDO
PF7 ADC7/TDI 54 45 47 A7 EXP1:TDI EXP1:TDI

The fields marked with green background color indicates the values to be used with some versions of Marlin on a rev.E board
Note 1: In revisions A thru E the ports PB4 and PB5 marked n/c were not connected to anything though unused pins were in fact present on EXP2, this was changed in revision F. See Printrboard amendments where this topic has been previously discussed.

Expansion ports

The expansion ports viewed from above.
Orientation: GND and +5V pins points away from the AT90USB1286 and the 4P ATX.

GND +5V
n/c n/c
PD4 PD5
PD6 PD7
n/c PE0
PE1 PC0(A8)
PC1(A9) PC2(A10)
EXP2
EXP1
GND +5V
PF7(A7/TDI) n/c
PF6(A6/TDO) RST
PF5(A5/TMS) PD3(TX1)
PF4(A4/TCK) PD2(RX1)
PF3(A3) PD1
PF2(A2) PD0
Top