Bringup
Open the editor
Microcontroller with real firmwareArduino Nano (A000005)arduino_nano

Arduino Nano (ATmega328P)

Arduino Nano: same ATmega328P as the Uno (16 MHz, same sketches), smaller, pluggable. Supply via the 5V pin.

5VGNDD0/RXD1/TXD2~D3D4~D5~D6D7D8~D9~D10/SS~D11/MOSID12/MISOD13/SCKA0A1A2A3A4/SDAA5/SCLRESETArduino Nano (A000005)
Schematic symbol

Key data

Category
Arduino
Simulation model
Microcontroller with real firmware
Manufacturer part number
Arduino Nano (A000005)
Reference prefix
A
Pins
23
Land pattern
Arduino_Nano

Notes

The firmware runs on an emulated CPU core, instruction by instruction. Peripherals that the model implements (GPIO, timers, UART, SPI, I²C, ADC and others, see the description) act on the pins of the circuit, so the analog parts around the chip see the same voltages and timing as on a real board.

  • Supply the board through the 5V pin; GND to ground.
  • Right-click the part and choose "Open in code editor" to write and compile its code; "Serial monitor" shows its UART output.
  • In the inspector you can load a demo firmware or your own ELF / Intel HEX / BIN file instead.
  • GPIO pins are real circuit pins: an LED on an output needs a series resistor, an input needs a defined level (pull-up or pull-down).
  • The debugger in the code view stops at breakpoints and shows registers, variables and the call stack.

Simulation model

An emulated CPU core runs the firmware binary instruction by instruction. The GPIO pins are pins of the analog circuit: outputs drive through a driver resistance, inputs read the voltage with thresholds.

Device
atmega328p
CPU core
AVR 8-bit
Emulator
AVR emulator
Firmware
Arduino sketch compiled in the code view (arduino-cli, arduino:avr), or your own ELF / Intel HEX / BIN file
Flash / RAM for firmware
32 KB / 2 KB
Supply pins
5V / GND
Mapped GPIO pins
21

Pins 23

simulatedreal chip onlyPin functions from the emulator and the datasheet.

PinNameFunctionsUse
5V5VSupply pinSupply 5 V (regulated): powers the board, or 5 V output when powered over USB
GNDGNDGround pinGround
D0D0/RXI/O pinUSART0_RXDUSB serial (Serial) through the board's USB chip: free only when you do not upload or print
D1D1/TXI/O pinUSART0_TXDUSB serial (Serial) through the board's USB chip: free only when you do not upload or print
D2D2I/O pinINT0General-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
D3~D3I/O pinINT1OC2BPWM output: LED dimming, servos, motor drivers
D4D4I/O pinT0XCKGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
D5~D5I/O pinOC0BT1PWM output: LED dimming, servos, motor drivers
D6~D6I/O pinOC0AAIN0PWM output: LED dimming, servos, motor drivers
D7D7I/O pinAIN1General-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
D8D8I/O pinICP1CLKOGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
D9~D9I/O pinOC1APWM output: LED dimming, servos, motor drivers
D10~D10/SSI/O pinOC1BSPI_SSSPI chip select (SS): keep it an output while the SPI runs as master
D11~D11/MOSII/O pinSPI_MOSIOC2ASPI data out (MOSI): to DIN / SDA / SDI of the device
D12D12/MISOI/O pinSPI_MISOSPI data in (MISO): from DOUT / SDO of the device
D13D13/SCKI/O pinSPI_SCKOn-board LED "L"; also SPI SCK
A0A0I/O pinADC0Analog input: potentiometer, sensor voltage (0 V … supply)
A1A1I/O pinADC1Analog input: potentiometer, sensor voltage (0 V … supply)
A2A2I/O pinADC2Analog input: potentiometer, sensor voltage (0 V … supply)
A3A3I/O pinADC3Analog input: potentiometer, sensor voltage (0 V … supply)
A4A4/SDAI/O pinADC4TWI_SDAI²C data: pull-up (about 4.7 kΩ) to the supply
A5A5/SCLI/O pinADC5TWI_SCLI²C clock: sensors, displays; pull-up (about 4.7 kΩ) to the supply
RESETRESETInput pin · pulled up on the boardRESETReset, active low: pull to GND to restart the sketch

PCB

Verified land patternArduino_Nano
PackageLand patternStatusSource
SteckmodulArduino_NanoVerified land patternKiCad 10.0.7: symbol Arduino_Nano_v3.x, footprint Module:Arduino_Nano; Nano plugs into two 1×15 socket headers, 2.54 mm pitch