Guides for product: Adafruit METRO 328 - Arduino Compatible - with Headers
This is the Adafruit METRO Arduino-Compatible - with headers. It's a fully assembled and tested microcontroller and physical computing board with through-hole headers attached. If you don't want a Metro with the headers attached for super-slimness, check out our Metro without Headers.
The METRO works great with the Arduino IDE, and runs the ATmega328P at 16MHz so it is shape and pin-compatible with Arduino UNO R3 shields and boards. You can use this with the Arduino IDE (both desktop and cloud version) by selecting 'Arduino UNO' in the Boards menu.
We sure love the ATmega328 here at Adafruit, and we use them a lot for our own projects. The processor has plenty of GPIO, Analog inputs, hardware UART SPI and I2C, timers and PWM galore - just enough for most simple projects. When we need to go small, we use a Metro Mini or a Trinket M0, but when size isn't as much of a concern, we reach for an Adafruit METRO.
METRO is the culmination of years of playing with AVRs: we wanted to make a development board that is easy to use and is hacker friendly. At the heart is an ATmega328P, with 32KB of flash and 2KB of RAM, running at 16 MHz. It comes with the Optiboot bootloader already installed, and is Arduino IDE compatible.
- Power the METRO with 7-9V polarity protected DC or the micro USB connector to any 5V USB source. The 2.1mm DC jack has an on/off switch next to it so you can turn off your setup easily. The METRO will automagically switch between USB and DC.
- METRO has 20 GPIO pins, 6 of which are Analog in as well, and 2 of which are reserved for the USB-serial converter. There's also 6 PWMs available on 3 timers (1 x 16-bit, 2 x 8-bit). There's a hardware SPI port, hardware I2C port and hardware UART to USB. Logic level is 5V but by cutting and soldering closed a jumper, you can easily convert it to 3.3V logic
- USB to Serial converter, there's a hardware USB to Serial converter that can be used by any computer to listen/send data to the METRO, and can also be used to launch and update code via the bootloader
- Four indicator LEDs, on the front edge of the PCB, for easy debugging. One green power LED, two RX/TX LEDs for the UART, and a red LED connected to pin PB5
- Easy reprogramming, comes pre-loaded with the Optiboot bootloader, which is supported by Arduino IDE, and avrdude and only uses 512 bytes - so you have lots of space for your code!
- Arduino IDE compatible, you can use this with the Arduino IDE (both desktop and cloud version) by selecting 'Arduino UNO' in the Boards menu.
- Works with all Adafruit shields!
We also include 4 rubber bumpers to keep it from slipping off your desk. Metro shown with our 12x capacitive touch shield attached just to demonstrate the headers, but that shield is not included!