What is ATmega?
The birth of ATmega is based on the Atmel company, which produced its first microcontroller in 1993 with the Intel 8051 base. The AVR series, the series from Atmel company ATmega, began to work with microcontrollers in 1996. ATmega AVR series are an 8-bit microcontroller family. Atmel has multiple microcontrollers within this family. These are expressed in numbers such as 8,16,32, …, 256,328. The purpose of these numbers is the difference in memory size of each.
Microcontrollers with more RAM, ROM, or FLASH memory have higher numeric values (such as 256, 328). You can program the Atmega microcontroller in various ways. ATmega microcontrollers are heavily used in the electronic field. The main reasons for this are 0.5-1 $ if you bring places like China, we can have a lower price. In addition, the Atmel firm has many documents and free services for many years.
If the ATmega is examined from a technical point of view;
Technically speaking, it has a fast architecture with a RISC-based structure produced by Harvard architecture. In other words, the program and the data are stored in different memories, so they can be accessed by different data. In this way, both the program and the data can be accessed at the same time. In traditional microcontrollers, there is only one data path to access the program. In short, ATmega’s processing speed is at least twice as high.
ATMega; high-performance, low-power 8-bit microcontroller. Different sizes have SRAM, EEPROM, and FLASH memory. FLASH memory can be written/read 10000 times. It supports speed up to 20 MHZ. The ATmega is completely static as a microcontroller. When you bring the ATmega to sleep, the clock stops and there are various flags to remind you what the ATmega is before sleeping. The ATmega draws a standby current of only 0.1 uA in sleep mode.
ATmega328 microcontroller, which is mostly used on the Arduino platform, will be useful in applications to be done with Arduino.
• High-performance, low-power 8-bit RISC processor,
• 131 assembly commands, most of which are single cycle,
• 32 8 bit general purpose recorders
• Full static operation support,
• Operating speed up to 20 MHZ
• 32 KB Flash Memory,
• 1 KB EEPROM,
• 2 KB internal static RAM,
• Flash memory read/write count: 10000 (ten thousand) times,
• EEPROM read/write count: 100000 (hundred thousand) times,
• Data recording time: 20 at 85, 100 years at 25,
• 2 8-bit counter / timer,
• 1 16-bit counter / timer,
• Six 10-bit ADCs,
• Programmable serial USART,
• SPI communication support,
• I2C communication support,
• Programmable Watchdog Timer,
• Internal and external interrupt features,
• Wake mode when sleep mode and signal input,
• 23 programmable input-output ports,
• Supply from 1.8 V to 5.5 V,
• Working range from -40 degrees to +85 degrees,
• When the power consumption is 25 degrees and 1.8V; Active Mode: 0.2mA, Power Protection Mode: 0.75uA, Power-down Mode: 0.1uA