- Atmega328 has 28 pins in total.
- It has 3 Ports in total which are named as Port B, Port C and Port D.
- Port C is an analogue Port and it has six pins in total. So, in simple words, ATmega328 has 6 analogue pins.
- Port B and Port D are digital ports and have 7 pins each.
- So, in total ATmega328 has 14 digital pins.
- It also supports Serial Communications, we can perform serial communication via Pin # 2 (RX) and Pin # 3 (TX).
- It also supports SPI Protocol.
- It needs a crystal oscillator for generating the frequency. You can use crystal oscillator ranging from 4MHz to 40 MHz.
- Arduino UNO board uses 16MHz crystal oscillator.
Need help? Contact Us.