Skip to content
ATmega328P simulator

ATmega328P SimulatorFree AVR8 emulation on your machine

Simulate ATmega328P firmware exactly as it runs on an Arduino Uno or Nano, with real AVR8 instruction execution at 16 MHz and full GPIO, timer, ADC and USART emulation. No hardware needed.

Free and open source · Genuine AVR8 emulation · No account

Arduino Uno board
AVR816 MHz32 KB flash

ATmega328P specification, fully emulated

Everything about the ATmega328P is emulated: registers, peripherals, interrupts and timing. Write bare-metal firmware or use the Arduino core library. Both work the same way in the simulator.

Read the emulator docs

CPU core

AVR8 (8-bit RISC), 16 MHz, 135 instructions, 32 general-purpose registers, 2-stage pipeline.

Flash memory

32 KB program flash. Upload any sketch compiled by arduino-cli. Supports self-programming via the SPM instruction.

GPIO ports

PORTB (pins 8–13), PORTC (A0–A5) and PORTD (0–7). DDR, PORT and PIN registers are all emulated. Interrupt-on-change via PCINT.

Timers 0, 1 and 2

8-bit Timer0 and Timer2, 16-bit Timer1. All PWM modes, prescaler 1–1024, CTC, Fast PWM and phase-correct PWM.

10-bit ADC

6 analog input channels (A0–A5). Single-conversion and free-running modes. Analog voltages come from simulated components.

USART0

Full-duplex serial with a configurable baud rate. TX, RX and UDRE interrupts. Works with the built-in Serial Monitor.

ATmega328P boards in Eidolon

The ATmega328P powers several popular Arduino boards, all selectable in Eidolon. The wider AVR8 family also includes the ATmega2560 (Mega) and the ATtiny85.

Arduino Uno R3

The classic board. 14 digital I/O pins (6 PWM), 6 analog inputs, 32 KB flash. The most widely used ATmega328P board.

Arduino Nano

The same ATmega328P in a compact 45 × 18 mm form factor with mini-USB. Same pin count as the Uno.

Arduino Pro Mini

A bare-bones ATmega328P without a USB chip. Comes in 3.3 V/8 MHz and 5 V/16 MHz variants.

ATtiny85

Ultra-compact 8-pin AVR. 8 KB flash, 6 I/O pins (PB0–PB5), USI (Wire), Timer0/1 and a 10-bit ADC. Ideal for minimal embedded projects.

Arduino Mega 2560

ATmega2560 with 256 KB flash, 54 digital pins, 16 analog inputs, and 4 hardware USART channels.

Frequently asked questions

The ATmega328P is an 8-bit AVR microcontroller by Microchip (formerly Atmel). It is the heart of the Arduino Uno and Arduino Nano, running at 16 MHz with 32 KB flash, 2 KB SRAM, and 1 KB EEPROM.

Simulate your ATmega328P code now

Download Eidolon or open the editor, paste your sketch and start the simulation. No hardware and no account needed.