Jun 132021




Build Status MiniCore forum thread

An Arduino core for the ATmega328, ATmega168, ATmega88, ATmega48 and ATmega8, all running a custom version of Optiboot for increased functionality. This core requires at least Arduino IDE v1.6.2, where v1.8.5+ is recommended.
This core gives you two extra IO pins if you’re using the internal oscillator! PB6 and PB7 is mapped to Arduino pin 20 and 21.
If you’re into “generic” AVR programming, I’m happy to tell you that all relevant keywords are being highlighted by the IDE through a separate keywords file. Make sure to test the example files (File > Examples > AVR C code examples). Try writing a register name, DDRB for instance, and see for yourself!

Table of contents

Supported microcontrollers:

  • ATmega8
  • ATmega48
  • ATmega88
  • ATmega168
  • ATmega328

* All variants (A, P, PA and PB)

Can’t decide what microcontroller to choose? Have a look at the specification table below:

ATmega328 ATmega168 ATmega88 ATmega48 ATmega8
Flash 32kB 16kB 8kB 4kB 8kB
RAM 2kB 1kB 1kB 512B 1kB
EEPROM 1kB 512B 512B 256B 512B
PWM pins 6/9* 6 6 6 3

* ATmega328PB has 9 PWM pins

 Posted by at 5:42 am