Boards
The Arduino, Raspberry Pi, Espressif and PIC boards Coppa simulates, and what each one runs.
Boards are in Parts › Microcontrollers, under Arduino, Raspberry Pi, Espressif and Chips. Place one, wire its pins like any part, and its program runs alongside the circuit: an LED on a pin lights, a potentiometer on an analogue pin reads, and the waveforms on its pins are real, down to the PWM and the serial bits.
What each board runs#
| Board | Chip and level | Runs |
|---|---|---|
| Arduino Uno | ATmega328P, 16 MHz, 5 V | Compiled firmware or a sketch |
| Arduino Nano | ATmega328P, 16 MHz, 5 V | Compiled firmware or a sketch |
| Arduino Mega 2560 | ATmega2560, 16 MHz, 5 V | Compiled firmware or a sketch |
| Arduino Pro Mini | ATmega328P, 16 MHz, 5 V | Compiled firmware or a sketch |
| ATmega328P | The Uno’s chip on its own, DIP-28 | Compiled firmware or a sketch |
| Raspberry Pi Pico | RP2040, 3.3 V | MicroPython |
| Raspberry Pi 4 | 40-pin GPIO header, 3.3 V | Python with RPi.GPIO or gpiozero |
| ESP32 DevKit | 3.3 V | Sketches |
| ESP8266 NodeMCU | 3.3 V | Sketches |
| PIC16F84A | Microchip PIC16, 5 V, 4 MHz | Compiled firmware (.hex) only |
Three ways a program runs#
- Compiled firmware runs on Coppa’s own model of the chip, instruction by instruction and counted in clock cycles. On the AVR boards that includes the GPIO, timers in every waveform mode, the ADC, UARTs, SPI and I²C (TWI) masters, EEPROM and interrupts. On the PIC16F84A, all 35 instructions, TMR0 and the port-B interrupts. See Running firmware.
- Sketches run in Coppa’s interpreter for Arduino C++. It covers the Arduino core and the common libraries but not all of C++. See The sketch interpreter.
- Python runs MicroPython’s modules on the Pico, and RPi.GPIO or gpiozero on the Raspberry Pi 4.
Pins#
- Uno, Nano and Pro Mini: 5V, 3V3, AREF, GND, A0–A5 (A0–A7 on the Nano and Pro Mini) and D0–D13. D0 and D1 are the serial port, A4 and A5 are I²C, D10–D13 are SPI, PWM is on 3, 5, 6, 9, 10 and 11, and D13 drives the onboard LED.
- Mega 2560: A0–A15 and D0–D53, four serial ports, I²C on 20 and 21, SPI on 50–53.
- Pico: GP0–GP22 and GP26–GP28 (ADC0–2). Every pin can do PWM. The onboard LED is
Pin("LED"). - Raspberry Pi 4: GPIO0–27 in BCM numbering.
- ESP32 DevKit: GPIO pins with I²C on 21 and 22 and the onboard LED on GPIO 2. Its serial port isn’t on a pin, so use the serial monitor rather than a terminal module.
- ESP8266 NodeMCU: D0–D8, A0, RX and TX; the onboard LED is on D4 and lights when the pin is low.
- PIC16F84A: RA0–RA4 and RB0–RB7.
Power#
A board needs no supply wired: its 5V, 3V3, VIN or VSYS pins are supplies, and its GND is 0 V. The page still needs a Ground symbol. Outputs drive through about 25 Ω, so an LED without a resistor won’t break anything, but add one as you would on a real board.
What’s loaded to start#
Arduino-style boards start with Blink. The Pico starts with a MicroPython blink of its onboard LED, the Raspberry Pi 4 with a blink on BCM 17 (wire an LED to it), and the PIC with no firmware.
Applies to Coppa 0.1 Preview 14. Last updated 22 November 2026.