xukangmin / TinyCore

TinyCore boards / attiny 1 series Core, Arduino IDE Core, targets ATtiny 417 / 814 / 816 / 817 / 1614 / 1616 / 1617 / 3217 and similar MCUs
https://tinycore.dev
MIT License
38 stars 10 forks source link
arduino atmel-avr attiny1616 attiny1617 attiny3217 attiny814 attiny816 attiny817 avrdude firmware mcu

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 :heavy_check_mark:
GPIO :heavy_check_mark:
ADC :heavy_check_mark:
SPI :heavy_check_mark:
I²C :heavy_check_mark:
DAC :heavy_check_mark:
Servo :heavy_check_mark:
EEPROM :heavy_check_mark:
NeoPixel :heavy_check_mark:
Touch :heavy_check_mark:
E-ink :hourglass_flowing_sand:
Motor :hourglass_flowing_sand:

Installation

Programming

There are several ways to upload sketches.

Upload through TinyCore Programmer

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

Pin Mapping

Pin Mapping

Please check Documentation Site for more tutorials and API