Skip to content

About

Atmel/Microchip ATmega328PB support for Arduino IDE

Topics

Resources

Stars

78 stars

Watchers

22 watching

Forks

Latest commit

 

History

143 Commits

Folders and files

Repository files navigation

ATmega328PB Testing

Hardware

Software

Installation on Arduino IDE 1.8+

  1. Add the following URL to the Arduino Boards Manager (File->Preferences).

    https://github.com/watterott/ATmega328PB-Testing/raw/master/package_m328pb_index.json
    
  2. Update the Arduino AVR Boards to version 1.6.22 or higher via the Boards Manager (Tools->Boards->Boards Manager).

  3. Install the ATmega328PB Boards via the Boards Manager (Tools->Boards->Boards Manager).

Further Infos

Known Issues

Timer 3+4 Output Compare

The output compare will only work if a 1 or 0 is written to the port register depending on the modulation. Futher infos here: http://www.avrfreaks.net/comment/1717946#comment-1717946 and #29

Reset

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

Crystal Oscillator

The ATmega328PB has no full-swing option for the oscillator.

History / Contributions

  • Patch v1.0.1 - Astrobeed, gpb01, PaoloP
  • avr-gcc 4.9.2 for linux64 - sabas1080
  • All Pull Requests...

About

Atmel/Microchip ATmega328PB support for Arduino IDE

Topics

Resources

Stars

78 stars

Watchers

22 watching

Forks

Sponsor this project

Used by

Contributors

Languages