ATMega pinout

From ZeroPhone
Revision as of 23:55, 10 January 2019 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Legend
3.3V Power
3.5V-5V power
GND
Keypad matrix pins
User-exposed pins
Auxiliary functions
Pi Zero-connected pins
Internal use
Pin Number ATMega pin Arduino pin Function Used for Firmware support
1 PD3 3 COL5 Keypad scanning Yes
2 PD4 4 COL4 Keypad scanning Yes
3 GND GND GND GND
4 VCC VCC VCC VCC
5 GND GND GND GND
6 VCC VCC VCC VCC
7 PB6 XTAL1 16MHz crystal connection
8 PB7 XTAL2 16MHz crystal connection
9 PD5 5 ATMEGA_GPIO User-exposed (opt-in) No
10 PD6 6 COL3 Keypad scanning Yes
11 PD7 7 COL2 Keypad scanning Yes
12 PB0 8 COL1 Keypad scanning Yes
13 PB1 9 KEYPAD_BL Keypad backlight No
14 PB2 10 DISPLAY_BL Display backlight (i.e. TFT) No
15 PB3 11 VIBRO_PWM Vibromotor control No
16 PB4 12 ROW1 Keypad scanning Yes
17 PB5 13 ROW2 Keypad scanning Yes
18 VCC VCC VCC VCC
19 ADC6 A6 ADC6 User-exposed ADC No
20 AREF AREF AREF
21 GND GND GND GND
22 ADC7 A7 ADC7 Measuring VSYS No
23 PC0 A0 ROW3 Keypad scanning Yes
24 PC1 A1 ROW4 Keypad scanning Yes
25 PC2 A2 ROW5 Keypad scanning Yes
26 PC3 A3 KEYPAD_INT Pi Zero communication Yes
27 PC4 A4 SDA Pi Zero communication Yes
28 PC5 A5 SCL Pi Zero communication Yes
29 PC6 RST Keypad scanning
30 PD0 0 ATMEGA_RXD User-exposed; programming No
31 PD1 1 ATMEGA_TXD User-exposed; programming No
32 PD2 2 COL6 Keypad scanning Yes