Electronics

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

AED 14.50

1

Description

The RobotDYN Digispark black is an ATtiny85-based microcontroller development board similar to the Arduino, although it is less priced, smaller, and significantly less powerful. The RobotDYN Digispark development board's USB connectivity is dependent on a bootloader embedded into the device, the board is famous for its small size of 18×21×2 mm

Package Includes:

  • 1× Digispark ATtiny85 development board (micro-USB)
  • 1× PLS-6 contact pins
  • 1× PLS-3 contact pins

Features:

  • Microcontroller AVR ATtiny85 (8bit)

  • Color Black
  • Model: Digispark ATtiny85 development board (micro-USB)
  • Microcontroller: ATtiny85
  • Clock frequency: up to 20 MHz
  • Interface: Micro-USB
  • Flash memory: 8 KB
  • SRAM memory: 512 B
  • EEPROM memory: 512 B
  • Input/output contacts: 6
  • Contacts with PWM: 2
  • ADC contacts: 4
  • Hardware interfaces:
    • 1× SPI
    • 1× I2C
  • Power LED and Status LED

  • 5v Regulators

Description:

The RobotDYN Digispark black is an ATtiny85-based microcontroller development board similar to the Arduino, although it is less priced, smaller, and significantly less powerful. The RobotDYN Digispark development board's USB connectivity is dependent on a bootloader embedded into the device. The bootloader takes up 2KB of flash memory, leaving us with 6KB for programming. To program in C, utilizing the well-known Arduino IDE.the board is famous for its small size of 18×21×2 mm The ATtiny85 does not include a hardware USB module. However, owing to the specialized library called V-USB, virtually any AVR microcontroller with at least 2 kB of Flash memory and 128 bytes of RAM can emulate the USB1.1 protocol. Using this RobotDYN Digispark board, you may create USB-connected devices such as a keyboard, mouse, joystick, virtual COM port,

Principle of Work:

RobotDYN Digispark is Free hardware, anything whose blueprints and specs are available for anybody to copy. This means that Arduino IDEs are the framework so that any other individual or business can design their own boards, each of which can be unique yet function well when built upon the same framework. Free software is a computer program whose source code is available to anybody, allowing them to use and alter it as they see fit. In order to allow anyone to create apps for boards and Arduino IDE with a variety of utilities, Arduino IDEs the Arduino IDE (Integrated Development Environment) platform. which you can use to program and upload your code (sketch) and do this using an embedded software USB Functionality using the V-BUS library with the help of an embedded bootloader, the uses libraries that can be downloaded online and gives you the ability to program a significant number of sensors and module without even knowing how they really work.

Pinout of the Module:

 

Interfaces PIN
GPIO P0, P1, P2, P3, P4, P5 – (6 GPIO)
SPI MOSI (P0), MISO (P1), SCK (P2)
PWM P0, P1, 3p,P4 – (4 PWM)
ADC A1, A3 ,A4,A5– (4 ADC)
I2C SDA (P0), SCL (P2)

Digital I/O

RobotDYN Digispark has 6 digital input/output pins (of which 4 can be used as PWM outputs). These pins can be configured as digital input pins to read the logic value (0 or 1). Or used as a digital output pin to drive different modules like LED, relay, etc.

Using pinMode(), digitalWrite(), and digitalRead() functions.

Analog Pins

The Onboard has 4 analog inputs

GND

Ground pins

AREF

The reference voltage (0-5V) for analog inputs. Used with analogReference(). Configures the reference voltage used for analog input (i.e. the value used as the top of the input range).

SDA

IIC communication pin

SCL

IIC communication pin

USB Connection

The board has a USB interface with software USB functionality based on the V-BUS library which emulates the USB Port even though there is no Serial converter on the board. For connecting to the PC, you need to install the driver

OnBoard LED

There is a built-in LED driven by digital pin 1. When the pin is HIGH value, the LED is on, when the pin is LOW, it's off.

Voltage Regulator

Convert an external input DC7-12V voltage into DC 5V, then switch DC 5V to the processor and other components.

Power Pin 5V

ProvArduino IDEs 5V output voltage

Vin

You can supply an external power input DC7-12V through this pin to the board.

Power LED Indicator

Powering the LED on means that your circuit board is correctly powered on. If LED is off, the connection is wrong.

Applications:

  • Industrial machinery controlling systems
  • Solar applications
  • IOT based applications
  • Power supply and charger-based applications
  • Weather sensor systems
  • Wireless communication applications
  • Security based applications
  • Medical & health equipment
  • Automobile related applications

Circuit:

We will not need any circuit, in this testing code, we will rely on the built-in LED on the 1 pin.

Connecting with First Time

1. Open Arduino IDE

If you haven’t done so already, download Arduino IDE from the software page. 

2. Connect the board to your computer

Adding Additional Boards Manager URLs

  • From the top menu of the Arduino IDE application, select File → Preferences to open the Preferences dialog box.
  • Paste the following in the Additional Boards Manager URLs: box of the Preferences dialog box. If you have multiple URLs then separate them with commas.
http://digistump.com/package_digistump_index.json
  • Click the OK button.

 Installing RobotDYN Digispark Board Support Package

  • In the Arduino IDE, navigate to Tools → Board → Boards Manager… to open the Boards Manager window.
  • Type RobotDYN Digispark into the search field at the top of the Boards Manager dialog box window.
  • After filtering, Digistump AVR Boards is displayed in the Boards Manager then click on the Install button of the Digistump item in the dialog box, as shown in the image below.
  • After clicking the Install button, the package will start installing.
  • When the installation completes, click the Close button.

Install the RobotDYN Digispark Windows 10 Drivers

  • Download the RobotDYN Digispark Digistump Drivers for Windows.
  • Extract the Digistump.Drivers.zip which we just downloaded.
  • Double-click either DPinst64.exe on a 64-bit Windows computer or DPinst.exe on a 32-bit Windows computer to install the RobotDYN Digispark drivers.
  • Click on the install button when prompted.
  • If a dialog box pops up that displays Windows can’t verify the publisher of this driver software, click the Install this driver software anyway button.

3. Select Board

The RobotDYN Digispark works a bit differently than some Arduino-compatible products. The RobotDYN Digispark programs with a different procedure.

First, from the Tools menu select Board→RobotDYN Digispark (Default – 16.5Mhz)

(The Tools→Programmer & Tools→Port selection does not matter)

4. Upload a sketch

  • Now write some code or open a RobotDYN Digispark example. Then click on the upload button (do not connect the Digspark attiny85 to your PC)
  • Hit the upload button. The bottom status box will now ask you to plug in your RobotDYN Digispark – at this point, you need to plug it in, or if already plugged then unplug and replug it.
  • You’ll see the upload progress and then it will immediately run your code on RobotDYN Digispark.

If you unplug the RobotDYN Digispark and plug it back in or attach it to another power source there will be a delay of 5 seconds before the code you programmed will run. This 5-second delay is the RobotDYN Digispark checking to see if you are trying to program it.

Code:

void setup() {
 pinMode(1, OUTPUT); // On board LED terhubung dengan port 1 attiny85
}
void loop() {
 digitalWrite(1, HIGH);
 delay(200);
 digitalWrite(1, LOW);
 delay(200);
}

Technical Details:

  • Microcontroller: ATtiny 85
  • Microcontroller Clock Speed 16.5MHz
  • Operating Voltage +5V
  • The maximum output current of the 5V foam: is 800 mA
  • Input Voltage(recommended) +7~+12V
  • Output Voltage +5V
  • Digital I/O Pins 6
  • Rated Current per Pin 20mA/Pin
  • High-performance design
  • Low power consumption in operating mode on 1.8 volts current consumption is only 300uA & on power down mode current consumption is only 0.1uA on 1.8V.
  • Minimum & maximum temperature -40 degree centigrade to 105-degree centigrade
  • Input supply voltage:
    • Via USB: 5V
    • Via Vin pin: 6-12V
  • The voltage of logical levels: 5
  • Dimensions: 18×21×2 mm
  • Weight: 3g

Resources:

Comparisons:

Despite being generally weaker than the Uno board, the RobotDYN Digispark board can be used as a USB device. The ATtiny85 does not include a hardware USB module. However, owing to the specialized library called V-USB, virtually any AVR microcontroller with at least 2 kB of Flash memory and 128 bytes of RAM can emulate the USB1.1 protocol. Using this RobotDYN Digispark board, you may create USB-connected devices such as a keyboard, mouse, joystick, virtual COM port, and so on. Furthermore, the RobotDYN Digispark includes an LDO regulator that provides power to the board when a voltage of 7 to 12 V is provided to the VIN pin. As you can see, this LDO takes up a significant amount of board space. The Arduino compatibility of RobotDYN Digispark is another factor in its popularity. so if you have a small project which doesn't need lots of pins you can use this board but still we can not recommend this board for beginners.