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.
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.
| Pin | Name | Functions | Use |
|---|---|---|---|
| 5V | 5VSupply pin | Supply 5 V (regulated): powers the board, or 5 V output when powered over USB | |
| GND | GNDGround pin | Ground | |
| D0 | D0/RXI/O pin | USART0_RXD | USB serial (Serial) through the board's USB chip: free only when you do not upload or print |
| D1 | D1/TXI/O pin | USART0_TXD | USB serial (Serial) through the board's USB chip: free only when you do not upload or print |
| D2 | D2I/O pin | INT0 | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| D3 | ~D3I/O pin | INT1OC2B | PWM output: LED dimming, servos, motor drivers |
| D4 | D4I/O pin | T0XCK | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| D5 | ~D5I/O pin | OC0BT1 | PWM output: LED dimming, servos, motor drivers |
| D6 | ~D6I/O pin | OC0AAIN0 | PWM output: LED dimming, servos, motor drivers |
| D7 | D7I/O pin | AIN1 | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| D8 | D8I/O pin | ICP1CLKO | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| D9 | ~D9I/O pin | OC1A | PWM output: LED dimming, servos, motor drivers |
| D10 | ~D10/SSI/O pin | OC1BSPI_SS | SPI chip select (SS): keep it an output while the SPI runs as master |
| D11 | ~D11/MOSII/O pin | SPI_MOSIOC2A | SPI data out (MOSI): to DIN / SDA / SDI of the device |
| D12 | D12/MISOI/O pin | SPI_MISO | SPI data in (MISO): from DOUT / SDO of the device |
| D13 | D13/SCKI/O pin | SPI_SCK | On-board LED "L"; also SPI SCK |
| A0 | A0I/O pin | ADC0 | Analog input: potentiometer, sensor voltage (0 V … supply) |
| A1 | A1I/O pin | ADC1 | Analog input: potentiometer, sensor voltage (0 V … supply) |
| A2 | A2I/O pin | ADC2 | Analog input: potentiometer, sensor voltage (0 V … supply) |
| A3 | A3I/O pin | ADC3 | Analog input: potentiometer, sensor voltage (0 V … supply) |
| A4 | A4/SDAI/O pin | ADC4TWI_SDA | I²C data: pull-up (about 4.7 kΩ) to the supply |
| A5 | A5/SCLI/O pin | ADC5TWI_SCL | I²C clock: sensors, displays; pull-up (about 4.7 kΩ) to the supply |
| RESET | RESETInput pin · pulled up on the board | RESET | Reset, active low: pull to GND to restart the sketch |
PCB
Verified land pattern
Arduino_Nano| Package | Land pattern | Status | Source |
|---|---|---|---|
| Steckmodul | Arduino_Nano | Verified land pattern | KiCad 10.0.7: symbol Arduino_Nano_v3.x, footprint Module:Arduino_Nano; Nano plugs into two 1×15 socket headers, 2.54 mm pitch |