Adafruit Trinket 5V Pinout

Adafruit Trinket 5V pinout. Compact development board with a ATtiny85 AVR, five 5 V logic GPIO and MicroUSB programming.

Jump to pin index ↓

Main pinout

Compact development board with a ATtiny85 AVR, five 5 V logic GPIO and MicroUSB programming. PB3 and PB4 share the data lines used by the bootloader.

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 functions and networks

Pin index

Pin index

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

10 visible
PinMCU pinTypesNotes
PowerExternal power input. It goes to VIN and EN of MIC5225 5 V.
GNDCommon ground of logic and food.
GPIOE/S digital de 5 V en PB4. Supports ADC2 and PWM, and shares D+ USB.
GPIOE/S digital de 5 V en PB3. Admite ADC3 y comparte USB D−.
ResetRestart input active-low. Share network with the Rst push.
PowerAccess to VBUS, the nominal 5 V from the MicroUSB port.
GPIO5 V digital E / S in PB0, with PWM, I²C data and USI data input.
GPIO5 V digital E / S in PB1, with PWM, USI data output and integrated red LED.
GPIO5 V digital E / S in PB2, ADC1 input and USI bus clock.
PowerExit from the 5 V network of the board.

Specifications

Photo revision
D · Micro-USB · Pinguin screen printing (2024)
Microcontroller
Atmel ATtiny85-MU · AVR de 8 bits · QFN-20
Internal clock
8 MHz or 16 MHz selected by software in the 5 V version
Memory
8 KB flash (aprox. 5.25 KB for the program with the factory bootloader) · 512 B SRAM · 512 B EEPROM
Entry and output
5 GPIO de 5 V · 10 bit ADC in D2, D3 and D4 · PWM documented in D0, D1 and D4
Power supply
MicroUSB 5 V nominal or BT up to 16 V CC. Adafruit recommends 5.5 V or more in BAT to regulate 5 V.
Output 5V
Up to 150 mA from the LDO with BAT. From USB, it is below VBUS by falling D2.
Form factor
31 × 15.5 × 5 mm according to the Adafruit tab · paso lateral de 2,54 mm

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
ATtiny85DatasheetMicrochip / AtmelMap of QFN-20, peripherals and port functions B.Datasheet
MIC5225DatasheetMicrochip5.0 V Regulator of the D. revision.Datasheet
20329Plano del Micro-USB B4UCONOrientation and numbering of the five contacts.Datasheet
Trinket 5VEAGLE MicroUSB SchemesAdafruitSpecific connections of this version.Datasheet
Trinket 5VPCB EAGLE d revisionAdafruitRear JST, MicroUSB and header position.Datasheet
Trinket 5VDiagrama oficial de pinesAdafruitAllocations of the two side rows.Datasheet
Trinket 5VPin GuideAdafruitFood, Arduino numbering and shared pines.Datasheet

Board notes

Micro-USB B
1 VBUS, 2 D−, 3 D+, 4 ID without connection, 5 GND. The D− passes to PB3 by R1 and the D+ to PB4 by R2.
JST-PH footprint
View from the back with the USB up: negative to the left and positive to the right. The clamping points go to ground.
BAT feed
The polarity protection instruction of the generic guide differs from the MicroUSB schematic. In the d revision, BAT reaches VIN and EN directly. The board has no charger.
Programming
The software USB bootloader can have problems with modern equipment, according to Adafruit. The AVR ISP uses the lines of the Pines 0, 1, 2 and RST plus power and ground.
Analogue conversion
D2 corresponde a ADC1, D3 a ADC3 y D4 a ADC2. The PWM simulates an analogue output per work cycle.
Orificios
The four mounting holes have no signal assigned to the CAD. The gold disc of the front is an optical fiduciary.