# Adafruit GEMMA v2

> Tiny 27mm round sewable wearable microcontroller with ATtiny85 at 8 MHz, 3 GPIO, Micro USB programming, 3.3V power, and reverse-polarity protection — ideal for small LED and NeoPixel wearable projects.

## Quick Facts

- **Brand:** Adafruit
- **Board Type:** dev-board
- **Price:** ~$9.95
- **Product Readiness:** developer
- **CPU:** ATtiny85 @ 8 MHz
- **CPU Architecture:** AVR
- **CPU Cores:** 1
- **RAM:** 512 bytes
- **Flash:** 8 KB
- **Power:** 3.3V via Micro USB or battery (up to 16V)
- **Operating Voltage:** 3.3V
- **Dimensions:** 27.98 mm diameter × 7.14 mm
- **Weight:** 3.29g

## Open Source

- **Firmware:** Yes
- **Schematics:** Yes
- **PCB Layout:** Yes

## Compatible Firmware

arduino

## Use Cases

- wearable
- e-textiles
- led-projects
- maker

## Components

- **ATtiny85** (mcu): 8-bit AVR microcontroller at 8 MHz with 8KB flash, 512B SRAM, 512B EEPROM and 5 I/O pins — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fww1.microchip.com%2Fdownloads%2Fen%2FDeviceDoc%2FATtiny25-45-85-Datasheet-DS40002187A.pdf&ref=openhardware.directory&product=adafruit-gemma-v2&source=md-export)

## Protocols

- **I2C**: SDA: D0, SCL: D2
- **SPI**
- **USB**

## GPIO Map

| Pin | Name | Type | Functions |
|-----|------|------|-----------|
| D0 | I2C SDA, PWM, Analog Input (ATtiny85 PB0) | I2C | digital-input, digital-output, pwm, analog-input |
| D1 | Digital I/O, PWM, Onboard LED (ATtiny85 PB1) | — | digital-input, digital-output, pwm |
| D2 | I2C SCL, Analog Input (ATtiny85 PB2) | I2C | digital-input, digital-output, analog-input |
| D3 | USB Data- (bit-bang, ATtiny85 PB3) | — | digital-input, digital-output |
| D4 | USB Data+ (bit-bang), Analog Input (ATtiny85 PB4) | — | digital-input, digital-output, analog-input |

## Available Software

- **[Arduino IDE]()** (open-source)

## Description

## Overview

The Adafruit GEMMA v2 is a miniature sewable wearable microcontroller measuring just 27.98mm in diameter. Built around the Atmel ATtiny85, it provides a minimal yet functional platform for small LED, NeoPixel, and sensor-driven wearable projects. Version 2 updated the USB port from Mini-B to Micro-B and added an on/off switch for battery convenience.

The ATtiny85 runs at 8 MHz from its internal oscillator with 8KB of flash (approximately 5.25KB available for user code after the bootloader), 512 bytes of SRAM, and 512 bytes of EEPROM. Three GPIO pins are available for user code, with the remaining two reserved for USB bit-bang communication. All three user pins support PWM and analog input.

Power is managed by an ultra-low dropout 3.3V regulator rated for 150mA, accepting inputs up to 16V. Automatic power switching between USB and battery ensures seamless operation. A 9mA operating current draw extends battery life in portable applications. The board includes reverse-polarity protection, thermal protection, and a current-limit fuse on the USB port.

The GEMMA is Arduino IDE compatible through Adafruit's board support package. However, Adafruit notes that the bit-bang USB technique has compatibility issues with modern computers and recommends the GEMMA M0 for new designs requiring reliable USB programming.

## Where to Buy

- [Adafruit](https://openhardware.directory/r?to=https%3A%2F%2Fwww.adafruit.com%2Fproduct%2F1222&ref=openhardware.directory&product=adafruit-gemma-v2&source=md-export) — 9.95

## Resources

- [product](https://openhardware.directory/r?to=https%3A%2F%2Fwww.adafruit.com%2Fproduct%2F1222&ref=openhardware.directory&product=adafruit-gemma-v2&source=md-export)
- [wiki](https://openhardware.directory/r?to=https%3A%2F%2Flearn.adafruit.com%2Fintroducing-gemma%2Fintroduction&ref=openhardware.directory&product=adafruit-gemma-v2&source=md-export)

## Tags

`wearable`, `sewable`, `attiny85`, `neopixel`, `tiny`, `adafruit`, `gemma`

## Images

![Adafruit GEMMA v2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/adafruit-gemma-v2/1435eac123e4.jpg)
![Adafruit GEMMA v2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/adafruit-gemma-v2/e8bf70cb699d.jpg)

---
[View full device page](https://openhardware.directory/devices/adafruit-gemma-v2)