-
Add the following URL to the Arduino Boards Manager (File->Preferences).
https://github.com/watterott/ATmega328PB-Testing/raw/master/package_m328pb_index.json
-
Update the Arduino AVR Boards to version 1.6.22 or higher via the Boards Manager (Tools->Boards->Boards Manager).
-
Install the ATmega328PB Boards via the Boards Manager (Tools->Boards->Boards Manager).
- Arduino AVR-GCC Toolchain with Atmega328PB support
- Differences between ATmega328/P and ATmega328PB
- Another project/guide for the ATmega328PB
- ATmega328PB Discussion in the Italian Arduino Forum
- Optiboot for ATmega328PB
The output compare will only work if a 1 or 0 is written to the port register depending on the modulation. Futher infos here: https://www.avrfreaks.net/comment/1717946#comment-1717946 and #29
ATmega328P and ATmega328PB have different thresholds for reset. This can be a problem when using a 5V power supply for the microcontroller and an USB serial adapter with 3.3V logic level on DTR.
- Reset Input Threshold Voltage (read as 0/low):
- ATmega328P: 2.1V @ Vcc=5V
- ATmega328PB: 1.6V @ Vcc=5V
The ATmega328PB has no full-swing option for the oscillator.
- Patch v1.0.1 - Astrobeed, gpb01, PaoloP
- avr-gcc 4.9.2 for linux64 - sabas1080
- All Pull Requests...