Skip to Content

ATtiny85 Female MicroUSB, Dev. Board (Digispark Compatible) RobotDYN

The RobotDyn Digispark Black is a compact Arduino-compatible development board based on the ATtiny85 8-bit AVR microcontroller. Measuring approximately 18 x 21 x 2 mm, it is designed for small embedded applications where board size and a limited number of I/O connections are important.

The board features a Micro-USB connector and uses software-based USB communication through the V-USB implementation and an onboard bootloader. It does not contain a dedicated USB-to-serial converter or hardware USB peripheral. The board can be programmed using the Arduino IDE with compatible Digistump AVR board support.

Package Includes

  • 1 x RobotDyn Digispark ATtiny85 Development Board with Micro-USB
  • 1 x PLS-6 Contact Pin Header
  • 1 x PLS-3 Contact Pin Header
14.50 AED 14.50 AED (Tax included)

Terms and Conditions
30-day money-back guarantee
Shipping: 2-3 Business Days

 

Features

  • ATtiny85 8-bit AVR microcontroller.
  • Compact dimensions of approximately 18 x 21 x 2 mm.
  • 16.5 MHz operating frequency in the standard Digispark configuration.
  • 6 digital I/O pins, with some pins shared with USB and peripheral functions.
  • 4 analog input channels with 10-bit ADC resolution.
  • PWM output support, depending on pin configuration.
  • Micro-USB connector with software-based USB communication.
  • V-USB implementation for USB 1.1-compatible device functionality.
  • 8 KB Flash memory, 512 bytes SRAM, and 512 bytes EEPROM.
  • SPI and I2C-compatible communication interfaces.
  • Onboard 5V voltage regulator.
  • Power indicator and user LED.
  • Compatible with the Arduino IDE through Digistump AVR board support.

Principle of Operation

The ATtiny85 executes the program stored in its internal Flash memory. It reads signals from connected sensors and switches, processes the programmed instructions, and controls external devices through its GPIO pins.

ATtiny85 Microcontroller Pinout, Features, Specs & Datasheet

Unlike microcontrollers with built-in USB hardware, the ATtiny85 relies on software-based USB communication. The V-USB implementation uses selected GPIO pins and software timing to emulate USB communication. The bootloader allows compatible sketches to be uploaded through the Micro-USB connection.

Because USB communication uses microcontroller resources, some GPIO pins are shared with the USB interface. This should be considered when designing circuits or assigning pins to external modules.

Pinout

RobotDyn Digispark Black ATtiny85 pinout diagram

Interface Pin Assignment
GPIO P0, P1, P2, P3, P4, P5
SPI MOSI: P0, MISO: P1, SCK: P2
I2C SDA: P0, SCL: P2
ADC P2, P3, P4, P5
PWM P0, P1, P4, P5, subject to pin configuration
Power 5V, VIN, GND
  • Digital I/O: The ATtiny85 provides six GPIO pins, designated P0 to P5. These pins can be configured as digital inputs or outputs using pinMode(), digitalRead(), and digitalWrite(). Some pins are shared with USB, SPI, and other functions.
  • Analog Inputs: Four ADC channels are available through P2, P3, P4, and P5. The ADC has a 10-bit resolution for reading analog sensor signals.
  • GND: Ground connection for the board and external components.
  • 5V: Regulated 5V supply rail for compatible external circuits. The available output current depends on the onboard regulator and input supply conditions.
  • VIN: External DC power input connected to the onboard voltage regulator. Use the recommended input range for the actual board revision.
  • USB Connection: The Micro-USB connector provides power and software-based USB communication. The USB data interface uses GPIO resources rather than a dedicated USB-to-serial chip.
  • Onboard LED: The user LED is connected to P1 on the common Digispark design. It can be controlled through digital pin 1 in the Arduino IDE.
  • Power LED: Indicates that the board is receiving power.
  • AREF: The ATtiny85 does not provide a separate external AREF pin like larger Arduino boards. Its ADC reference options are configured according to the microcontroller's internal reference capabilities.

Wiring and Connection

The RobotDyn Digispark Black can be powered through its Micro-USB connector or through VIN using a suitable external DC supply.

ATtiny85 USB Development Board Mini Arduino – Xpart Electronic

  • USB power: Connect the board to a computer or compatible 5V USB power source using a Micro-USB cable.
  • External power: Connect the positive DC supply to VIN and the negative supply to GND. Follow the board's specified input voltage range.
  • Digital sensor: Connect the sensor output to an available GPIO pin and connect its ground to the board's GND.
  • Analog sensor: Connect the sensor output to an available ADC pin. Ensure that the signal voltage remains within the ATtiny85's permitted input range.
  • I2C devices: Connect SDA to P0 and SCL to P2 when using a compatible I2C library and pin configuration.
  • SPI devices: Connect MOSI to P0, MISO to P1, and SCK to P2 when using the SPI interface.

Important: GPIO pins used for USB communication may not be available for other functions while USB is active. Do not connect motors, relay coils, or other high-current loads directly to the microcontroller pins. Use suitable driver circuits.

Applications

  • Compact embedded control systems.
  • USB HID projects such as keyboards, mice, and custom input devices using compatible firmware.
  • LED controllers and lighting projects.
  • Small sensor monitoring systems.
  • Battery-powered electronic devices.
  • Simple automation and switching systems.
  • Solar monitoring and control projects.
  • Compact robotics and interactive electronics.
  • Prototyping and educational microcontroller projects.

Getting Started with Arduino IDE

  1. Install Arduino IDE: Download the software from the official Arduino website.
  2. Add the Digistump board package: Open Arduino IDE Preferences and add the following URL to Additional Boards Manager URLs:
    Program Digispark Attiny85 with Arduino IDE - IoT Projects Ideas
https://raw.githubusercontent.com/digistump/arduino-boards-index/master/package_digistump_index.json
  1. Install board support: Open Tools > Board > Boards Manager, search for Digistump AVR Boards, and install the package if available.
  2. Install the Windows driver: If required, download the driver from the DigistumpArduino releases page and follow the installation instructions.
  3. Select the board: Choose Tools > Board > Digispark (Default - 16.5 MHz), or the matching entry provided by the installed board package.
  4. Upload a sketch: Click Upload before connecting the board. When the IDE prompts you to connect the Digispark, plug it into the computer. If already connected, disconnect and reconnect it.

The Digispark upload procedure differs from conventional Arduino boards. A serial port normally does not need to be selected manually. The bootloader detects the programming request when the board is connected and then transfers the compiled sketch.

After power-up, the bootloader typically waits briefly for a programming request before starting the uploaded application.

Code

This example flashes the onboard LED connected to P1.

const int LED_PIN = 1;

void setup() {
  pinMode(LED_PIN, OUTPUT);
}

void loop() {
  digitalWrite(LED_PIN, HIGH);
  delay(200);

  digitalWrite(LED_PIN, LOW);
  delay(200);
}

Specifications

  • Product: RobotDyn Digispark Black
  • Model: Digispark ATtiny85 Development Board
  • Board Color: Black
  • Microcontroller: ATtiny85
  • Architecture: 8-bit AVR
  • Clock Frequency: 16.5 MHz in the standard Digispark configuration
  • Operating Voltage: 5V
  • USB Connector: Micro-USB
  • USB Communication: Software-based USB using V-USB
  • Flash Memory: 8 KB (bootloader occupies part of the available memory; approximately 6 KB may remain for sketches with a 2 KB bootloader)
  • SRAM: 512 bytes
  • EEPROM: 512 bytes
  • Digital I/O Pins: 6
  • Analog Input Channels: 4
  • ADC Resolution: 10-bit
  • PWM: Supported on selected GPIO pins; actual availability depends on the board configuration
  • Communication Interfaces: SPI and I2C-compatible interfaces
  • External Input Voltage: The supplied listing specifies 6–12V through VIN; verify the regulator rating before applying the maximum input voltage
  • Dimensions: Approximately 18 x 21 x 2 mm
  • Weight: Approximately 3 g

Resources

RobotDyn Digispark vs. Arduino Uno

Specification RobotDyn Digispark Black Arduino Uno R3
Microcontroller ATtiny85 ATmega328P
Architecture 8-bit AVR 8-bit AVR
Clock Speed 16.5 MHz 16 MHz
Operating Voltage 5V 5V
Flash Memory 8 KB 32 KB
SRAM 512 bytes 2 KB
EEPROM 512 bytes 1 KB
Digital I/O 6 14
Analog Inputs 4 6
USB Interface Software USB using V-USB Dedicated USB-to-serial interface
Board Dimensions Approximately 18 x 21 mm Approximately 68.6 x 53.4 mm

 

The RobotDyn Digispark Black is intended for compact projects that need a small microcontroller and a limited number of I/O connections. Its software-based USB implementation allows compatible USB device projects, but it uses GPIO resources and has more limitations than the dedicated USB-to-serial interface on the Arduino Uno. The Uno is a better choice for larger programs, projects requiring more memory and I/O pins, and general-purpose development.