ATmega8A

The ATmega8 is old - it was the original MCU in the Arduino - but it is still one of the most popular AVRs. They have been obsoleted technically by the bigger, faster, cheaper, and lower power ATmega168 and ATmega328 devices.

The ATmega8 has a different clock than many other AVR's, featuring an internal clock that runs at 1MHz, 2MHz, 4MHz, and 8MHz, rather than having a divide by 8 fuse. The maximum frequency is 16MHz with an external crystal.

Power Supply vs. Maximum Frequency

The calculator below provides a way to find the maximum operating frequency for any valid power supply voltage (2.7 to 5.5). Enter the power supply voltage and click "Calculate Max Frequency" to find the ATmega8's specified maximum frequency at your Vcc.

Maximum Frequency at Vcc Calculator

Vcc (volts):


Interesting Parameters
ATmega328 Features
FeatureValue
Flash 8k
EEPROM 512
RAM 1k
I/O Pins 23
Interrupts 19
USARTS 1
USI 0
SPI 1
ADC Channels 6
Timers (8-bit) 2
Timers (16-bit) 1
PWM (8-bit) 2
PWM (16-bit) 1
Characteristic Value
Power Consumption (approximate) 0.6mA/MHz
Maximum I/O Current (per pin) 40mA
Maximum I/O Current (all ports) 100mA(low)/150mA(high)
Maximum I/O Current (total) 200mA (PDIP)
Maximum I/O Current (total)400mA (PDIP/QFP/MLF)
Atmel ATmega8 Datasheet

Link to Atmel ATmega8 datasheet

Atmel ATmega8 Pinout
ATmega8A-PU pinout ATmega8A-AU pinout
"Minimal" ATmega8 Schematic Diagram

A minimal ATmega8 circuit consists of an ATmega8. Everything else is optional. The circuit below shows a programming port, reset circuit, and a crystal oscillator. Any or all of these could be left off and the device would function perfectly well. By default the unit runs from the 1MHz internal RC oscillator.

ATmega8 minimal schematic diagram
Search Site Help
Search Results X
Search Help X
  • word1 +word2 causes the engine to search for pages having both words.
  • word1 word2 causes the engine to search for pages having either word.
  • word1 -word2 causes the engine to search for occurences of word1 not accompanied by word2.
  • "word1 word2" causes the engine to search for occurences the phrase "word1 word2".
  • The ENTER key causes the search to begin.
  • The Search Results dialog contains links to all found pages.
  • The Search Results dialog (like this one) closes when you hit the ESCAPE key.
  • Words shorter than 5 letters are not stored (sorry).