Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Adafruit Pro Trinket 3.3V 12MHz: Examples, Pinouts, and Specs

Image of Adafruit Pro Trinket 3.3V 12MHz
Cirkit Designer LogoDesign with Adafruit Pro Trinket 3.3V 12MHz in Cirkit Designer

Introduction

The Adafruit Pro Trinket 3.3V 12MHz is a compact, Arduino-compatible microcontroller board designed for small-scale projects and wearable technology. It is built around the ATmega328P microcontroller and operates at a frequency of 12MHz. With 3.3V logic levels, it is ideal for interfacing with a wide range of sensors and modules that require lower voltage levels. The Pro Trinket can be powered through USB or an external power supply, making it versatile for various applications.

Common applications include:

  • Wearable electronics
  • Portable instruments
  • Prototyping IoT devices
  • Educational projects

Explore Projects Built with Adafruit Pro Trinket 3.3V 12MHz

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered Smart Sensor Hub with Adafruit QT Py RP2040
Image of wearable final: A project utilizing Adafruit Pro Trinket 3.3V 12MHz in a practical application
This circuit features an Adafruit QT Py RP2040 microcontroller interfaced with an APDS9960 proximity sensor, an MPU6050 accelerometer and gyroscope, and an OLED display via I2C communication. It also includes a buzzer controlled by the microcontroller and is powered by a 3.7V LiPo battery with a toggle switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Gas Sensor and Servo Control with Adafruit Trinket M0
Image of Canary: A project utilizing Adafruit Pro Trinket 3.3V 12MHz in a practical application
This circuit is a sensor-based system that uses an Adafruit Trinket M0 microcontroller to read data from a MiCS-5524 gas sensor and control a Tower Pro SG90 servo motor. Additionally, it includes an Adafruit Audio FX Mini Sound Board connected to a STEMMA speaker for audio output, all powered by a 4xAA battery pack.
Cirkit Designer LogoOpen Project in Cirkit Designer
ATmega328P-Based Sensor Hub with OLED Display and LIDAR
Image of TILTPCB: A project utilizing Adafruit Pro Trinket 3.3V 12MHz in a practical application
This circuit features an Mtiny Uno ATmega328P microcontroller as its central processing unit, interfacing with a variety of sensors and peripherals. It includes a 0.96" OLED display and an MPU6050 accelerometer/gyroscope for user interface and motion sensing, respectively. The circuit also integrates a TF LUNA LIDAR for distance measurement, a DHT11 sensor for temperature and humidity readings, and uses a 9V battery with a 7805 voltage regulator for power management. Communication with a computer for programming and data exchange is facilitated by an Adafruit FTDI Friend module.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano-Based OLED Clock with RTC and LiPo Battery Charging
Image of RTC for Keyboard: A project utilizing Adafruit Pro Trinket 3.3V 12MHz in a practical application
This circuit features an Arduino Nano connected to an OLED display and a DS3231 real-time clock (RTC) module for displaying the current time. The Arduino Nano is powered through a toggle switch connected to its VIN pin, with power supplied by a TP4056 charging module that charges and manages two 3.7V LiPo batteries connected in parallel. The OLED and RTC module communicate with the Arduino via I2C, with shared SDA and SCL lines connected to the A4 and A5 pins of the Arduino, respectively.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Adafruit Pro Trinket 3.3V 12MHz

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of wearable final: A project utilizing Adafruit Pro Trinket 3.3V 12MHz in a practical application
Battery-Powered Smart Sensor Hub with Adafruit QT Py RP2040
This circuit features an Adafruit QT Py RP2040 microcontroller interfaced with an APDS9960 proximity sensor, an MPU6050 accelerometer and gyroscope, and an OLED display via I2C communication. It also includes a buzzer controlled by the microcontroller and is powered by a 3.7V LiPo battery with a toggle switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Canary: A project utilizing Adafruit Pro Trinket 3.3V 12MHz in a practical application
Battery-Powered Gas Sensor and Servo Control with Adafruit Trinket M0
This circuit is a sensor-based system that uses an Adafruit Trinket M0 microcontroller to read data from a MiCS-5524 gas sensor and control a Tower Pro SG90 servo motor. Additionally, it includes an Adafruit Audio FX Mini Sound Board connected to a STEMMA speaker for audio output, all powered by a 4xAA battery pack.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of TILTPCB: A project utilizing Adafruit Pro Trinket 3.3V 12MHz in a practical application
ATmega328P-Based Sensor Hub with OLED Display and LIDAR
This circuit features an Mtiny Uno ATmega328P microcontroller as its central processing unit, interfacing with a variety of sensors and peripherals. It includes a 0.96" OLED display and an MPU6050 accelerometer/gyroscope for user interface and motion sensing, respectively. The circuit also integrates a TF LUNA LIDAR for distance measurement, a DHT11 sensor for temperature and humidity readings, and uses a 9V battery with a 7805 voltage regulator for power management. Communication with a computer for programming and data exchange is facilitated by an Adafruit FTDI Friend module.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of RTC for Keyboard: A project utilizing Adafruit Pro Trinket 3.3V 12MHz in a practical application
Arduino Nano-Based OLED Clock with RTC and LiPo Battery Charging
This circuit features an Arduino Nano connected to an OLED display and a DS3231 real-time clock (RTC) module for displaying the current time. The Arduino Nano is powered through a toggle switch connected to its VIN pin, with power supplied by a TP4056 charging module that charges and manages two 3.7V LiPo batteries connected in parallel. The OLED and RTC module communicate with the Arduino via I2C, with shared SDA and SCL lines connected to the A4 and A5 pins of the Arduino, respectively.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

Key Technical Details

  • Microcontroller: ATmega328P
  • Operating Voltage: 3.3V
  • Clock Speed: 12MHz
  • Digital I/O Pins: 18 (of which 5 provide PWM output)
  • Analog Input Pins: 2
  • Flash Memory: 32 KB (ATmega328P) of which 2 KB used by bootloader
  • SRAM: 2 KB (ATmega328P)
  • EEPROM: 1 KB (ATmega328P)
  • Communication: SPI, I2C, UART
  • USB Connection: Micro-USB for programming

Pin Configuration

Pin Number Function Description
1 GND Ground
2 VBAT Battery +, up to 16V DC
3 BUS USB +5V to 3.3V regulator input
4 3V 3.3V output (150mA limit)
5-12 Digital I/O Digital pins 0-7
13-16 Analog Input Analog pins A0-A3
17-20 Digital I/O Digital pins 8-11 (SPI and I2C interface)

Usage Instructions

Integrating with a Circuit

  1. Powering the Pro Trinket:

    • Connect the USB cable to the micro-USB port for programming and power.
    • Alternatively, supply power through the VBAT pin for battery operation.
  2. Programming:

    • Install the Adafruit Pro Trinket board files in the Arduino IDE.
    • Select the correct board and port before uploading the sketch.
  3. Connecting Peripherals:

    • Use the digital and analog pins to connect sensors, actuators, and other modules.
    • Ensure that connected devices are compatible with 3.3V logic levels.

Best Practices

  • Avoid supplying voltage higher than 3.3V to the I/O pins to prevent damage.
  • When using external power, ensure it does not exceed the recommended voltage.
  • Disconnect the battery or external power when programming via USB.

Example Code for Arduino UNO

// Blink example for Adafruit Pro Trinket 3.3V
// Connect an LED to pin 13 and GND

void setup() {
  pinMode(13, OUTPUT); // Initialize digital pin 13 as an output
}

void loop() {
  digitalWrite(13, HIGH);   // Turn the LED on
  delay(1000);              // Wait for a second
  digitalWrite(13, LOW);    // Turn the LED off
  delay(1000);              // Wait for a second
}

Troubleshooting and FAQs

Common Issues

  • Pro Trinket not recognized by computer:

    • Ensure the USB cable is properly connected and the computer's USB port is functioning.
    • Try using a different USB cable or port.
  • Sketch upload fails:

    • Check that the correct board and port are selected in the Arduino IDE.
    • Press the reset button on the Pro Trinket right before uploading the sketch.
  • Incorrect voltages at I/O pins:

    • Verify that the power supply is within the specified range and the board is not being overpowered.

FAQs

Q: Can I use the Adafruit Pro Trinket 3.3V with 5V sensors? A: It is not recommended as the logic levels are different. Use a level shifter to safely interface with 5V sensors.

Q: How do I recharge the battery connected to the Pro Trinket? A: The Pro Trinket does not have onboard battery charging. You will need to use an external charger.

Q: Is the Pro Trinket 3.3V compatible with all Arduino libraries? A: Most libraries that work with the ATmega328P should be compatible, but some may need modifications for 3.3V logic levels.

For further assistance, consult the Adafruit support forums or the extensive online community resources.