Specifications | . |
---|---|
Flash (program memory) | 8192b ( 7680b with bootloader) |
RAM | 512 bytes |
EEPROM | 512 bytes |
Bootloader | Yes, Optiboot |
GPIO Pins | 27 |
ADC Channels | 28 (including the one on reset), many differential channels |
PWM Channels | 4 |
Interfaces | UART, SPI, slave I2C |
Clock options | Internal 1/8mhz, external clock (no crystal) up to 20mhz |
The ATtiny828 has hardware bootloader support, and an Optiboot bootloader is included for the ATtiny828. This functionas at 57600 on the hardware serial port; the bootloader is 512b in size leaving 7680b available for user code. Virtual Boot is not used, so there are no restrictions on use of the watchdog timer. Note the issues below involving the clock speed, which may make use of the bootloader difficult in some conditions. As always, the 828 may be used without the bootloader by programming it over ISP.
The ATtiny 828, in the interest of lowering costs, does not provide support for using an external crystal as a clock source, only the internal oscillator (at ~8 or ~1mhz) or an external clock source. Note that using an external clock source is not an option in the board drop-down menus, so you cannot set it that way with "burn bootloader" from within the IDE - you must do it manually (this is to prevent new users from accidentally bricking their parts).
The internal oscillator is factory calibrated to +/- 10% or +/- 2% for the slightly more expensive 828R. +/- 2% is good enough for serial communication. However, this spec is only valid below 4v - above 4v, the oscillator runs significantly faster; enough so that serial communication does not work. This would interfere with uploads using the bootloader - to work around this, a version of Optiboot is included built assuming the slightly higher operating frequency; this will be used if you select the >4.0v operating voltage prior to doing Burn Bootloader.
There is no I2C master functionality implemented in hardware - you must use a software implementation like SoftI2CMaster for I2C master. I2C slave functionality is available in hardware (use WireS library)
There is full Hardware SPI supply. Use the normal SPI library.
There is one hardware serial port, Serial. It works the same as Serial on any normal Arduino - it is not a software implementation.
Despite having 28 ADC input channels, the 828 only has the two basic reference options.
- DEFAULT: Vcc
- INTERNAL1V1: Internal 1.1v reference
- INTERNAL: synonym for INTERNAL1V1
I (Spence Konde / Dr. Azzy) sell ATtiny828 boards through my Tindie store - your purchases support the continued development of this core.
###Assembled Boards ###Bare Boards