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

How to Use ATTiny85 Development Board: Examples, Pinouts, and Specs

Image of ATTiny85 Development Board
Cirkit Designer LogoDesign with ATTiny85 Development Board in Cirkit Designer

Introduction

The ATTiny85 Development Board, manufactured by ATMEL Corporation (Part ID: EGBO), is a compact microcontroller board based on the ATtiny85 chip. It is designed for easy prototyping and development of small-scale electronic projects. Despite its small size, the board offers a range of features, including digital and analog I/O pins, making it a versatile choice for low-power and space-constrained applications.

Explore Projects Built with ATTiny85 Development Board

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ATmega328P-Based Sensor Hub with OLED Display and LIDAR
Image of TILTPCB: A project utilizing ATTiny85 Development Board 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
ATtiny85 and OLED Display Based Interactive Game with Buzzer and LED
Image of FIRST CIRCUIT: A project utilizing ATTiny85 Development Board in a practical application
This circuit is a simple interactive game system powered by a 5V battery, featuring an ATtiny85 microcontroller, an OLED display, a buzzer, an LED, and multiple pushbuttons. The OLED displays a menu with options to start a game, which is controlled by the ATtiny85. The buzzer and LED provide audio-visual feedback, and the pushbuttons are used for user input to navigate the menu and play the game.
Cirkit Designer LogoOpen Project in Cirkit Designer
ATtiny-Controlled LED Blinker Circuit
Image of led: A project utilizing ATTiny85 Development Board in a practical application
This circuit consists of an ATtiny microcontroller that controls an LED through one of its GPIO pins (PB4). A resistor is connected in series with the LED to limit the current. The ATtiny is powered by a 3.3V battery, and the LED is designed to turn on when the ATtiny is powered up.
Cirkit Designer LogoOpen Project in Cirkit Designer
ATMEGA328 Battery-Powered LED Blinker with FTDI Programming
Image of Homemade Arduino using ATmega328: A project utilizing ATTiny85 Development Board in a practical application
This circuit is a basic microcontroller setup using an ATMEGA328, powered by a 5V battery, and includes an FTDI programmer for serial communication. It features a pushbutton for reset functionality and two LEDs controlled by the microcontroller, with one LED blinking at a 1-second interval as programmed.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with ATTiny85 Development Board

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 TILTPCB: A project utilizing ATTiny85 Development Board 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 FIRST CIRCUIT: A project utilizing ATTiny85 Development Board in a practical application
ATtiny85 and OLED Display Based Interactive Game with Buzzer and LED
This circuit is a simple interactive game system powered by a 5V battery, featuring an ATtiny85 microcontroller, an OLED display, a buzzer, an LED, and multiple pushbuttons. The OLED displays a menu with options to start a game, which is controlled by the ATtiny85. The buzzer and LED provide audio-visual feedback, and the pushbuttons are used for user input to navigate the menu and play the game.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of led: A project utilizing ATTiny85 Development Board in a practical application
ATtiny-Controlled LED Blinker Circuit
This circuit consists of an ATtiny microcontroller that controls an LED through one of its GPIO pins (PB4). A resistor is connected in series with the LED to limit the current. The ATtiny is powered by a 3.3V battery, and the LED is designed to turn on when the ATtiny is powered up.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Homemade Arduino using ATmega328: A project utilizing ATTiny85 Development Board in a practical application
ATMEGA328 Battery-Powered LED Blinker with FTDI Programming
This circuit is a basic microcontroller setup using an ATMEGA328, powered by a 5V battery, and includes an FTDI programmer for serial communication. It features a pushbutton for reset functionality and two LEDs controlled by the microcontroller, with one LED blinking at a 1-second interval as programmed.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Wearable electronics
  • IoT (Internet of Things) devices
  • Battery-powered projects
  • LED control and lighting systems
  • Sensor-based applications
  • Small robotics and automation systems

Technical Specifications

The ATTiny85 Development Board is built around the ATtiny85 microcontroller, offering a balance of performance and simplicity. Below are the key technical details:

Key Technical Details

  • Microcontroller: ATtiny85
  • Operating Voltage: 5V (via USB) or 2.7V–5.5V (external power)
  • Clock Speed: 8 MHz (default) or 16 MHz (with external clock)
  • Flash Memory: 8 KB (6 KB available for user programs)
  • SRAM: 512 bytes
  • EEPROM: 512 bytes
  • I/O Pins: 6 (configurable as digital or analog)
  • PWM Channels: 2
  • ADC Channels: 4 (10-bit resolution)
  • USB Interface: Micro-USB for programming and power
  • Power Consumption: Low-power operation supported
  • Dimensions: Approximately 25mm x 25mm

Pin Configuration and Descriptions

The ATTiny85 Development Board has a simple pinout, as shown in the table below:

Pin Name Description
1 PB5 (RESET) Reset pin (active low). Can also be used as a digital I/O pin.
2 PB3 (ADC3) Digital I/O or Analog Input (ADC Channel 3).
3 PB4 (ADC2) Digital I/O or Analog Input (ADC Channel 2).
4 GND Ground connection.
5 PB0 (ADC0) Digital I/O, Analog Input (ADC Channel 0), or PWM output.
6 PB1 (ADC1) Digital I/O, Analog Input (ADC Channel 1), or PWM output.
7 PB2 (SCK) Digital I/O, SPI Clock (SCK), or Analog Input (ADC Channel 4).
8 VCC Power supply input (2.7V–5.5V).

Usage Instructions

The ATTiny85 Development Board is easy to use and can be programmed via the Arduino IDE. Below are the steps to get started and important considerations for using the board effectively.

How to Use the Component in a Circuit

  1. Powering the Board:

    • Connect the board to a computer or USB power source using a Micro-USB cable.
    • Alternatively, supply 2.7V–5.5V to the VCC and GND pins for external power.
  2. Programming the Board:

    • Install the ATTiny85 board package in the Arduino IDE:
      • Open the Arduino IDE and go to File > Preferences.
      • Add the following URL to the "Additional Board Manager URLs" field:
        https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
      • Go to Tools > Board > Boards Manager, search for "ATTiny85," and install the package.
    • Select the ATTiny85 board under Tools > Board.
    • Choose the appropriate clock speed (e.g., 8 MHz) under Tools > Processor.
    • Connect the board to your computer and upload your sketch.
  3. Connecting Peripherals:

    • Use the I/O pins to connect sensors, LEDs, or other components.
    • Configure the pins as digital or analog inputs/outputs in your code.

Important Considerations and Best Practices

  • Power Supply: Ensure the input voltage does not exceed 5.5V to avoid damaging the board.
  • Pin Limitations: The board has only 6 I/O pins, so plan your circuit accordingly.
  • Low-Power Mode: Use the ATtiny85's sleep modes to reduce power consumption in battery-powered projects.
  • External Clock: For applications requiring higher clock speeds, connect an external crystal oscillator.

Example Code for Arduino IDE

Below is an example code to blink an LED connected to PB0 (Pin 5):

// Blink an LED connected to PB0 (Pin 5) on the ATTiny85 Development Board

#define LED_PIN 0  // Define PB0 as the LED pin

void setup() {
  pinMode(LED_PIN, OUTPUT);  // Set PB0 as an output pin
}

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

Troubleshooting and FAQs

Common Issues and Solutions

  1. The board is not detected by the Arduino IDE:

    • Ensure the correct board and processor are selected under Tools > Board and Tools > Processor.
    • Check the USB connection and try a different cable or port.
  2. Sketch upload fails:

    • Verify that the correct COM port is selected under Tools > Port.
    • Ensure the board is powered and properly connected to the computer.
  3. The board does not power on:

    • Check the power supply voltage (2.7V–5.5V).
    • Inspect the USB cable and power source for faults.
  4. Pins are not functioning as expected:

    • Double-check the pin configuration in your code.
    • Ensure no conflicting peripherals are connected to the same pin.

FAQs

Q: Can I use the ATTiny85 Development Board with external sensors?
A: Yes, the board supports both digital and analog sensors. Use the ADC pins for analog sensors and configure the pins in your code accordingly.

Q: How do I reduce power consumption?
A: Use the ATtiny85's sleep modes and disable unused peripherals in your code to minimize power usage.

Q: Can I use the board without the Arduino IDE?
A: Yes, the board can be programmed using other tools like AVR-GCC or Atmel Studio, but additional setup may be required.

Q: What is the maximum current the I/O pins can handle?
A: Each I/O pin can source or sink up to 40mA, but it is recommended to limit the current to 20mA for safe operation.

This concludes the documentation for the ATTiny85 Development Board. For further assistance, refer to the ATMEL Corporation datasheet or community forums.