Deprecation Warning: The Trinket bit-bang USB technique it uses doesn't work as well as it did in 2014, many modern computers won't work well. So while we still carry the Trinket so that people can maintain some older projects, we no longer recommend it.
Battery or external positive input. Adafruit states BAT+ is the Battery + Input pin for a battery, power adapter, solar panel, or other source, reverse-polarity protected.
USB 5V output, present only when Trinket is plugged into the Mini-B USB connector; can be used for USB power sensing or higher-current USB-powered loads.
Common ground for logic and power, connected to USB ground and the regulator.
Digital input/output; PWM output; I2C data; SPI data input.
Digital input/output; PWM output; SPI data output; connected to the onboard LED.
Up to 16V DC; for 3V Trinket use at least 3.5V input, for 5V Trinket 5.5V or higher suggested. · 5V from USB, Adafruit notes 500mA+ available from USB ports.
Confirm the data interface matches your host board.
Module pins: BAT+, USB+, 5V, GND, GPIO #0 / PB0, GPIO #1 / PB1, GPIO #2 / PB2 / A1, GPIO #3 / PB3 / A3. Schematik maps them to your board in the app.
SparkFun Qwiic Pro Micro BoogieBoard visual preview
9V to Barrel Jack Adapter visual preview
SparkFun 16x2 SerLCD - RGB Backlight (Qwiic) visual preview
MicroUSB Plug to 5.5/2.1mm DC Barrel Jack Adapter | Kiwi Electronics visual previewSort passive connector adapters from Qwiic boards, LCD modules and microSD card adapters before assuming anything with the right plug will substitute safely.
Connectors & cables · Connectors · 28 parts
RGB backlight positive LCD 16x2 visual preview
SparkFun 16x2 SerLCD - RGB Backlight (Qwiic) visual preview
I2C 20x4 Arduino LCD Display Module visual preview
Gravity: I2C 16x2 Arduino LCD with RGB Backlight Display V2.0 visual previewCharacter LCDs, SPI TFTs, e-paper modules and larger capacitive-touch TFT panels solve different display jobs. Treat display class, interface, controller, resolution, touch, refresh behaviour, storage, voltage and mounting as separate swap checks.
Displays · TFT & LCD displays · 35 parts
MQ-2 Gas Sensor visual preview
MQ-3 Gas Sensor visual preview
MQ-135 Gas Sensor visual preview
Grove - Air quality sensor visual previewChoose between MQ gas sensors, VOC/eCO2 indoor-air sensors, true CO2 modules and particulate sensors without treating every air-quality breakout as the same detector.
Sensors · Gas & air-quality sensors · 31 parts
Raspberry Pi Pico visual preview
Adafruit Feather nRF52840 Express visual preview
Pan-Tilt HAT kit visual previewESP32, Arduino Uno, Raspberry Pi Pico, and compatible add-on boards for running builds.
Boards · Microcontroller boards · 27 parts
Digital input/output; analogue input A1; I2C clock; SPI clock.
Digital input/output with caution; USB programming pin; analogue input A3; has a 1.5K pullup to 3.3V for USB communications.
Digital input/output with caution; USB programming pin; PWM output; analogue input A2.
Reset pin connected directly to the ATtiny85 reset pin and reset button; used to enter bootloader or reset the board, not a GPIO.
5V regulator output from onboard regulator. Adafruit says the regulator output pin is about 3.3V on a 3V Trinket and 5V on a 5V Trinket, up to 150mA.
| Pin | Position | Type | Function | Voltage |
|---|---|---|---|---|
| BAT+ | power | Battery or external positive input. Adafruit states BAT+ is the Battery + Input pin for a battery, power adapter, solar panel, or other source, reverse-polarity protected. | Up to 16V DC; for 3V Trinket use at least 3.5V input, for 5V Trinket 5.5V or higher suggested. | |
| USB+ | power | USB 5V output, present only when Trinket is plugged into the Mini-B USB connector; can be used for USB power sensing or higher-current USB-powered loads. | 5V from USB, Adafruit notes 500mA+ available from USB ports. | |
| GND | ground | Common ground for logic and power, connected to USB ground and the regulator. | 0V | |
| GPIO #0 / PB0 | gpio | Digital input/output; PWM output; I2C data; SPI data input. | 5V GPIO output level; Adafruit says it can be used with 3V inputs but may damage 3V-input-only devices. | |
| GPIO #1 / PB1 | gpio | Digital input/output; PWM output; SPI data output; connected to the onboard LED. | 5V GPIO output level; Adafruit says it can be used with 3V inputs but may damage 3V-input-only devices. | |
| GPIO #2 / PB2 / A1 | gpio | Digital input/output; analogue input A1; I2C clock; SPI clock. | 5V GPIO output level; Adafruit says it can be used with 3V inputs but may damage 3V-input-only devices. | |
| GPIO #3 / PB3 / A3 | gpio | Digital input/output with caution; USB programming pin; analogue input A3; has a 1.5K pullup to 3.3V for USB communications. | 5V GPIO output level; Adafruit says it can be used with 3V inputs but may damage 3V-input-only devices. | |
| GPIO #4 / PB4 / A2 | gpio | Digital input/output with caution; USB programming pin; PWM output; analogue input A2. | 5V GPIO output level; Adafruit says it can be used with 3V inputs but may damage 3V-input-only devices. | |
| RST | control | Reset pin connected directly to the ATtiny85 reset pin and reset button; used to enter bootloader or reset the board, not a GPIO. | ||
| 5V | power | 5V regulator output from onboard regulator. Adafruit says the regulator output pin is about 3.3V on a 3V Trinket and 5V on a 5V Trinket, up to 150mA. | 5V, up to 150mA |