mightwerk Resources for creators and innovators outs 697B1380-9797-4B8D-A50A-61944C26074F Introduction... 1 4-pin Expansion Header out... 2 6-pin ICSP Header out... 3 Map from to... 4 Map from ATmega328 to... 5 Map from to... 6 Map from to ATmega328... 8 Introduction The features an Atmel megaavr 8-bit microcontroller. To develop software and hardware for the, you must know the relationship between microcontroller pins and pins. This relationship can be represented by one or more pin maps. maps can be represented by tables or diagrams. Disclaimer This information comes without warranty of any kind. Its authors cannot accept and expressly disclaim all liability arising out of, or in connection with, this document and its information. The information in this document was compiled from data sheets, schematics, and casual observation. Any reliance you place on this information is strictly at your own risk. Technical Note 1 of 8
outs October 8, 2011 4-pin Expansion Header out The has a 4-pin header to facilitate hacking the onboard FTDI FT232RL USB to UART integrated circuit. The 4-pin expansion header is designated X3 on the silkscreen and in schematics. Some boards lack a header at X3. A 4-pin male header can be soldered to the board at this location. According to publicly available schematics, pins of header X3 do not connect to pins of the microcontroller. 4 3 2 1!!!!!!!!!!! RI DCD DSR CTS X3 (X3) RS232RL Name Number 1 CTS# Clear to send (active low) 11 2 DSR# Data set ready (active low) 9 3 DCD# Data carrier detect (active low) 10 4 RI# Ring indicator (active low) 6 Technical Note 2 of 8
outs October 8, 2011 6-pin ICSP Header out The has a 6-pin header to facilitate in-circuit serial programming (ICSP). This is sometimes called in-system programming (ISP). Damage may result if you do ICSP while other circuits are connected. Caution Obey the instructions that came with the ICSP programmer. Disconnect power from the before ICSP. Disconnect circuits from the Arduino Diecimila before ICSP. Damage may result if you do ICSP while circuits are connected to the. MISO 1 2 VCC SCK!!!!! RESET 3 4 5 6 MOSI GND ICSP ICSP Header Power Header Header (J3) Number Name 1 5 Digital 12 18 PB4, PCINT4, MISO Serial data out 2 3 7 VCC Digital supply voltage 20 AVCC ADC supply voltage 3 6 Digital 13 19 PB5, PCINT5, SCK Serial clock 4 4 Digital 11 17 PB3, PCINT3, OC2A, MOSI Serial data in 5 1 PC6, PCINT14, RESET Reset input (active low) 6 4 8 GND Digital ground 7 Ground 5 22 AGND Analog ground Technical Note 3 of 8
outs October 8, 2011 Map from to Number Name(s) 1 PC6 PCINT14 RESET Reset 2 PD0 PCINT16 RXD Digital 0 (RX) 3 PD1 PCINT17 TXD Digital 1 (TX) 4 PD2 PCINT18 INT0 Digital 2 5 PD3 PCINT19 OC2B INT1 Digital 3 (PWM) 6 PD4 PCINT20 XCK T0 Digital 4 7 VCC VCC 8 GND GND 9 PB6 PCINT6 XTAL1 TOSC1 Crystal 10 PB7 PCINT7 XTAL2 TOSC2 Crystal 11 PD5 PCINT21 OC0B T1 Digital 5 (PWM) 12 PD6 PCINT22 OC0A AIN0 Digital 6 (PWM) 13 PD7 PCINT23 AIN1 Digital 7 14 PB0 PCINT0 ICP1 CLKO Digital 8 15 PB1 PCINT1 OC1A Digital 9 (PWM) 16 PB2 PCINT2 OC1B SS Digital 10 (PWM) 17 PB3 PCINT3 OC2A MOSI Digital 11 (PWM) 18 PB4 PCINT4 MISO Digital 12 19 PB5 PCINT5 SCK Digital 13 20 AVCC VCC 21 AREF Analog Reference 22 AGND GND 23 PC0 PCINT8 ADC0 Analog Input 0 24 PC1 PCINT9 ADC1 Analog Input 1 25 PC2 PCINT10 ADC2 Analog Input 2 26 PC3 PCINT11 ADC3 Analog Input 3 27 PC4 PCINT12 ADC4 SDA Analog Input 4 28 PC5 PCINT13 ADC5 SCL Analog Input 5 Technical Note 4 of 8
outs October 8, 2011 Map from ATmega328 to Refer to the pin map. The pin map for the ATmega328 is the same as the pin map for the. The two microcontrollers have the same pinout in the plastic dual inline package (PDIP). Technical Note 5 of 8
outs October 8, 2011 Map from to The pin map from the to the is described by four tables. Each table corresponds to a header near the perimeter of the Arduino Diecimila printed circuit board. Power Header Name(s) 1 Reset 1 RESET PC6 PCINT14 2 3.3V 3 5V 7 VCC 20 AVCC 4 8 GND Ground 5 22 AGND 6 V input Analog In Header (J2) Name(s) 1 Analog Input 0 23 PC0 PCINT8 ADC0 2 Analog Input 1 24 PC1 PCINT9 ADC1 3 Analog Input 2 25 PC2 PCINT10 ADC2 4 Analog Input 3 26 PC3 PCINT11 ADC3 5 Analog Input 4 27 PC4 PCINT12 ADC4 SDA 6 Analog Input 5 28 PC5 PCINT13 ADC5 SCL Technical Note 6 of 8
outs October 8, 2011 Digital Header (J1) Name(s) 1 Digital 0 (RX) 2 PD0 PCINT16 RXD 2 Digital 1 (TX) 3 PD1 PCINT17 TXD 3 Digital 2 4 PD2 PCINT18 INT0 4 Digital 3 (PWM) 5 PD3 PCINT19 OC2B INT1 5 Digital 4 6 PD4 PCINT20 XCK T0 6 Digital 5 (PWM) 11 PD5 PCINT21 OC0B T1 7 Digital 6 (PWM) 12 PD6 PCINT22 OC0A AIN0 8 Digitial 7 13 PD7 PCINT23 AIN1 Digital Header (J3) Name(s) 1 Digital 8 14 PB0 PCINT0 ICP1 CLKO 2 Digital 9 (PWM) 15 PB1 PCINT1 OC1A 3 Digital 10 (PWM) 16 PB2 PCINT2 OC1B SS 4 Digital 11 (PWM) 17 PB3 PCINT3 OC2A MOSI 5 Digital 12 18 PB4 PCINT4 MISO 6 Digital 13 19 PB5 PCINT5 SCK 7 Ground 8 GND 22 AGND 8 Analog Reference Voltage 21 AREF Technical Note 7 of 8
outs October 8, 2011 Map from to ATmega328 Refer to the pin map to the. The pin map to the ATmega328 is the same as the pin map to the. The two microcontrollers have the same pinout in the plastic dual inline package (PDIP). Technical Note 8 of 8