2018 February REVIEW
Arduino USB Tiny85 | Connecting & Programming Digispark
A POSTAGE STAMP COMPUTER
2017 NOVEMBER | by Gene Casanova
Senior Systems/Network/Internet Engineer
A USB Tiny85 Arduino embedded computer system, comes already programmed to function as an Arduino embedded computer system. An Arduino embedded computer system, is an embedded computer microcontroller (MPU) preloaded with a bootloader program, enabling the system to function as a USB device and be programmed by the Ardiuno IDE programming application on a Mac OS X, Linux, or Windows Computer system.
The USB Tiny85, is made using the open source design of the "Digispark" microcontroller systemboard. The Digispark systemboard runs the "micronucleus tiny85" bootloader, version 1.02; an open source project: https://github.com/micronucleus/micronucleus originally written by Bluebie: https://github.com/Bluebie.
The Digispark uses the Arduino IDE version 1.6.5+ (Arduino 1.6.5r2).
Digispark USB Systemboard
The Digispark is an Attiny85 based microcontroller systemboard similar to the Arduino line of systembaords. A large list of Digispark "shields" have been made to extend the functionalityof a Digispark system. The 'Arduino IDE' application is used to develop programs and to upload a program to a Digispark systemboard.
Support for the 'Arduino IDE' 1.0+ (Mac OS X/Linux/Win)
Powered by USB or External Source: 5v or 7-35v (12v or less recommended, automatic selection)
On-board 500ma 5V Regulator
Built-in USB interface
6 x I/O Pins; 2 pins are used for USB only; if a program actively communicates over USB, otherwise all 6 I/O pins are available to a program.
8k Flash Memory (about 6k open after bootloader loaded)
I2C and SPI (vis USI)
PWM on 3 pins (more possible with Software PWM)
ADC on 4 pins
1 Power LED
1 Status/Program-Testing LED
The high-performance, low-power Microchip 8-bit AVR RISC-based microcontroller combines 8KB ISP flash memory, 512B EEPROM, 512-Byte SRAM, 6 general purpose I/O lines, 32 general purpose working registers, one 8-bit timer/counter with compare modes, one 8-bit high speed timer/counter, USI, internal and external Interrupts, 4-channel 10-bit A/D converter, programmable watchdog timer with internal oscillator, three software selectable power saving modes, and debugWIRE for on-chip debugging. The device achieves a throughput of 20 MIPS at 20 MHz and operates between 2.7-5.5 volts.
By executing powerful instructions in a single clock cycle, the device achieves throughputs approaching 1 MIPS per MHz, balancing power consumption and processing speed.
ATtiny85 Developer - Programmer
CGI Computer Wares Open Source USB Tiny85 kits available; and professioal programming services for production product development.
Programming - Arduino IDE
A 'USB Tiny85 Arduino systemboard', can be programmed using the Arduino IDE version 1.8.x, after providing the data file "http://digistump.com/package_digistump_index.json" to the Arduino IDE Preference option "Addtional Boards Manager URLs:".
Create and use a seperate directory on a development computer running the Arduino IDE application; to store Arduino ATtiny85 sketches (source code) for Tiny85 source code. Tiny85 uses a different instruction set than the Arduino systems with larger model microcontroller processors.
Using Arduino 1.6.5r2 or earlier is highly recommended by the Digispark producer.
USB ATiny85 Systemboard Pinout
Private tutoring in Milwaukee WI may be available.
Contact to continue the conversation.
Use The Technology Wisely & Keep It Simple
Need More? Need Help? ........Software, Network, System & Data Center Builder & Developer | Development Services Available - Freelance Small Jobs; To Outsourced Long Term Service Provider Contract Labor Available.
CGI Computer Wares | EST 1979