ATmega328 Microcontroller. Design note 9


ATmeg328-Microcontroller.ATmega 328 is the single chip Microcontroller from Atmel and belongs to the mega AVR series. Atmel corporation is an American based designer and manufacturer of semiconductors founded in 1984. ATmega328 is now widely used in many projects where low cost microcontroller is needed. The most common implementation of ATmega328 is on the Arduino development platform namely Arduino Uno and Arduino Nano boards. A low power alternative of ATmega328 called ATmega328P is also used now which is a pico power version.

The ATmega328 is a 32K 8-bit microcontroller based on the AVR architecture. The ATmega328-PU comes in a PDIP 28 pin package and is suitable for use in 28 pin AVR Development board.

ATmega-328-pins

Important features of ATmega328
1. High performance and low power requirement.
2. 8-Bit Microcontroller Atmel, AVR advanced RISC architecture
3. 131 instructions most of which are executed in a single clock cycle
4. Up to 20 MIPS at 20 MHz
5. 32 x 8 working registers
6. 2 cycle multiplier
Memory
1. 32 KB of programmable Flash, IKB of EEPROM, 2KB SRAM, 10,000 Write Erase cycles for Flash and 100,000 for EEPROM
2. Data retention for 20 years at 85°C and 100 years at 25°C
3. Optional boot loader with lock bits. In System Programming (ISP) by via boot loader and True Read-While-Write operation. Programming lock available for software security.
Additional features
1. 2 x 8-bit Timers/Counters each with independent prescaler and compare modes
2. A single 16-bit Timer/Counter with an idependent prescaler, compare and capture modes
3. Real time counter with independent oscillator
4. 10 bit, 6 channel analog to digital Converter
5. 6 pulse width modulation channels
6. Internal temperature sensor
7. Serial USART (Programmable)
8. Master/Slave SPI Serial Interface – (Philips I2C compatible)
9. Programmable watchdog timer with independent internal oscillator
10. Internal analog comparator
11. Interrupt and wake up on pin change
12. Internal calibrated oscillator
13. Power on reset and programmable brown out detection
14. External and internal interrupts
15. 6 sleep modes including idle, ADC noise reduction, power save, power down, standby, and extended standby
16. 23 programmable I/O lines
17. 28 pin PDIP package
18. Operating voltage – 1.8 – 5.5V
19. Operating temperature range- 20.40 to 85 Degree C
20. 0-4 MHz at 1.8-5.5V, 0-10 MHz at 2.7-5.5V, 0-20 MHz at 4.5-5.5V
21. Low power consumption mode at 1.8V, 1 MHz and 25°C:
22. Active Mode: 0.3 mA
23. Power-down Mode: 0.1 μA
24. Power-save Mode: 0.8 μA (Including 32 kHz RTC)
25. Flash – 32 KB
26. EEPROM – 1KB
27. SRAM – 2KB
28. Frequency Max – 20MHz
29. Vcc – 1.8 to 5.5V
30. 10-Bit A/D Channels – 6
31. 16-Bit Timers – 1
32. 8-Bit Timers – 2
33. Ext Interrupts – 2
34. Interrupts – 26
35. PWM Channels – 6
36. SPI – 1
37. UART – 1

Interfacing ATmega328 with LCD

MCU

Image credit:www.kerrywong.com

Advertisements

Comments are closed.