Skip to content

TinyCore boards / attiny 1 series Core, Arduino IDE Core, targets ATtiny 417 / 814 / 816 / 817 / 1614 / 1616 / 1617 / 3217 and similar MCUs

License

Notifications You must be signed in to change notification settings

xukangmin/TinyCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Arduino Core Support for Attiny 1 Series MCU

Links

Feature

Specifications .
Flash (program memory) 32/16 KB
RAM 2 KB
EEPROM 256 bytes
Bootloader No
GPIO Pins 18
ADC Channels 10
PWM Channels 3
Peripheral USART, SPI, I2C, Touch
Clock 20 MHz
Power Consumption min 2.9μA, max 10mA

Arduino Support

Function .
UART ✔️
GPIO ✔️
ADC ✔️
SPI ✔️
I²C ✔️
DAC ✔️
Servo ✔️
EEPROM ✔️
NeoPixel ✔️
Touch ✔️
E-ink
Motor

Installation

  • Install the current upstream Arduino IDE at the 1.8.7 level or later. The current version is at the Arduino website.
  • Start Arduino and open Preferences window.
  • Enter https://raw.githubusercontent.com/xukangmin/TinyCore/master/avr/package/package_tinycore_index.json into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.
  • Open Boards Manager from Tools > Board menu and install TinyCore platform (and don't forget to select your TinyCore board from Tools > Board menu after installation).

Programming

There are several ways to upload sketches.

Upload through TinyCore Programmer

  • Select related com port number and click upload directly, same as programming Arduino Uno

Upload through Arduino Uno or similar boards

  1. Connect Arduno Uno and Tiny Core boards as described here.
  2. Arduin IDE->Tools->Programmer->Arduino PIN as UPDI
  3. Arduin IDE->Sketch->Upload using programer

Upload through Atmel-ICE Programmer

  1. Connect Atmel-ICE UPDI, VTG and GND PIN to TinyCore, supply TinyCore with external voltage, either 3.3V or 5V.
  2. Make sure the green light on Atmel-ICE is on, that means target is properly powered
  3. Arduin IDE->Tools->Programer->Atmel-ICE-UPDI
  4. Arduin IDE->Sketch->Upload using programer

Pin Mapping

  • Tiny Core 16 Pinout

Pin Mapping

  • Tiny Core 32 Pinout

Pin Mapping

Please check Documentation Site for more tutorials and API