Adafruit Metro 328 Pinout

Adafruit Metro 328 fully assembled, with ATmega328P-AU to 16 MHz and USB-UART CP2104 bridge.

Jump to pin index ↓

Main pinout

Adafruit Metro 328 fully assembled, with ATmega328P-AU to 16 MHz and USB-UART CP2104 bridge. It uses Optiboot and is programmed as Arduino One. The headers support shields of the One R3 format. See the details of the ICSP, the bridges and the power sockets in the board folder.

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show Alternative Functions

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

32 visible
PinMCU pinTypesNotes
I2CAnalogGPIOADC5 10 bit channel and E / S digital Arduino D19. SCL signal from bus I²C / TWI. ATmega328P-AU, 28 terminal, PC5 port.
I2CAnalogGPIOADC4 10 bit channel and E / S digital Arduino D18. SDA sign of bus I²C / TWI. ATmega328P-AU, 27 terminal, PC4 port.
AnalogExternal reference entry of the ADC. ATmega328P-AU, terminal 20.
GNDCommon ground. Contact of the IOH digital header.
SPIGPIOE/S digital del ATmega328P. SPI clock. ATmega328P-AU, 17 terminal, PB5 port.
SPIGPIOE/S digital del ATmega328P. Data SPI from peripheral to controller. ATmega328P-AU, 16 terminal, PB4 port.
SPIGPIOPWME/S digital del ATmega328P. Data SPI from controller to peripheral. A comparison output of Timer2; PWM. ATmega328P-AU, 15 terminal, PB3 port.
SPIGPIOPWME/S digital del ATmega328P. Selection of low-active SPI peripheral. Timer1 comparison B output; PWM. ATmega328P-AU, 14 terminal, PB2 port.
PWMGPIOE/S digital del ATmega328P. A comparison output of Timer1; PWM. ATmega328P-AU, 13 terminal, PB1 port.
GPIOE/S digital del ATmega328P. Timer1 input capture. System clock output with the ckout fuse configured. ATmega328P-AU, 12 terminal, PB0 port.
GPIOE/S digital del ATmega328P. Negative entry of analog comparator. ATmega328P-AU, 11 terminal, PD7 port.
PWMGPIOE/S digital del ATmega328P. A comparison output of Timer0; PWM. Positive entry of analogue comparator. ATmega328P-AU, 10 terminal, PD6 port.
PWMGPIOE/S digital del ATmega328P. Timer0 comparison B output; PWM. Timer1 external clock. ATmega328P-AU, 9 terminal, PD5 port.
GPIOE/S digital del ATmega328P. The synchronous USART clock. Timer0 external clock. ATmega328P-AU, 2 terminal, PD4 port.
PWMGPIOE/S digital del ATmega328P. Timer2 comparison B output; PWM. External interrupt 1. ATmega328P-AU, 1 terminal, PD3 port.
GPIOE/S digital del ATmega328P. External interrupt 0. ATmega328P-AU, 32 terminal, PD2 port.
UARTGPIOE/S digital del ATmega328P. USART transmission from ATmega328P. ATmega328P-AU, 31 terminal, PD1 port.
UARTGPIOE/S digital del ATmega328P. ATmega328P USART reception. ATmega328P-AU, 30 terminal, PD0 port.
InternalFirst contact, no connection in Rev C.
PowerVCCIO logical level reference for shields.
ResetReboot line. A low-level pulse restarts the ATmega328P. ATmega328P-AU, 29 terminal, PC6 port.
Power3.3 V output from U4; feeds the CP2104 and 3.3 V side of the 3V5 bridge.
Power5 V root supplied by USB or by the U1 regulator, according to the active source.
GNDCommon ground of the board. Contact 6 from POWER.
GNDCommon ground of the board. Contact 7 from POWER.
Power5 V and CC input node after protection and switch.
AnalogGPIOADC0 10 bit channel and E / S digital Arduino D14. ATmega328P-AU, 23 terminal, PC0 port.
AnalogGPIOADC1 10 bit channel and E / S digital Arduino D15. ATmega328P-AU, 24 terminal, PC1 port.
AnalogGPIOADC2 10 bit channel and E / S digital Arduino D16. ATmega328P-AU, 25 terminal, PC2 port.
AnalogGPIOADC3 10 bit channel and E / S digital Arduino D17. ATmega328P-AU, 26 terminal, PC3 port.
AnalogGPIOI2CADC4 10 bit channel and E / S digital Arduino D18. SDA sign of bus I²C / TWI. ATmega328P-AU, 27 terminal, PC4 port.
AnalogGPIOI2CADC5 10 bit channel and E / S digital Arduino D19. SCL signal from bus I²C / TWI. ATmega328P-AU, 28 terminal, PC5 port.

Specifications

Model and revision
Adafruit Metro 328 Fully Assembled · SKU 50 · Rev C (CP2104)
Microcontroller
ATmega328P-AU · AVR de 8 bits · TQFP-32 · resonador de 16 MHz
Memory
32 KiB Flash (512 B para Optiboot) · 2 KiB SRAM · 1 KiB EEPROM
Power supply
MicroUSB B to 5 V or 2.1 mm CC connector with positive center; Adafruit recomienda 7–9 V CC
E / S voltage
VCCIO is from 5 V factory and passes to 3.3 V if the 3V5 bridge is reconfigured. The 5V rail remains independent.
Entry and output
20 E / S in total: D0-D13 and A0-A5; 6 PWM and 6 AC channels of 10 bits in the headers
Buses
USART in D0/D1 shared with the CP2104; SPI in D10-D13 and ICSP (without SS); I²C in A4/A5 and its duplicates SDA / SCL
Programming
Optiboot by USB-UART or AVR programming using the 2 × 3 ICSP header
Indicators
ON verde · TX/RX amarillos (CP2104) · L rojo (D13/SCK)
Dimensiones publicadas
53 × 71 mm · High 13 mm including CC connector · 19 g

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
Metro 328 Rev CElectrical schematicAdafruitHeader networks, ICSP, settings and power supply.Datasheet
ATmega328P-AUMicrocontrollerMicrochipDS40002061B: TQFP-32, ADC, temporizadores e interfaces.Datasheet
CP2104Bridge USB–UARTSilicon LabsUSB 2.0 Full Speed, UART y DTR.Datasheet
NCP1117ST50T3G5 V linear regulatoronsemiU1; genera 5 V desde VIN.Datasheet
AP2112-3.33.3 V linear regulatorDiodes IncorporatedU4; genera 3,3 V desde 5 V.Datasheet
LMV358IDGKRAmplificador dobleTexas InstrumentsU5; DTR source selection and adaptation.Datasheet

Board notes

Open design Rev C
CP2104-variant Eagle and PCB.
OSHWA US000470 certification
Identification of SKU 50 as Rev C.
Foto cenital Rev C
Adafruit shares the take on the SKU file 2488 with the same Rev C assembly; the C and CP2104 are distinguished.
Photo of the song
Detail of the micro- USB B connector, switch and take of Adafruit CC.
Photo of the back
The gallery reference for usb welds and armor; the assignment of contacts was checked with the official Rev C. PCB.