SparkFun Pro Micro simulator, and the blink it needs
The Pro Micro is the Leonardo’s ATmega32U4 in a Pro Mini’s footprint, 5 V at 16 MHz, with USB on the chip. It runs the Leonardo’s programs, and it has no LED on pin 13: its lamps are RX and TX, lit by pulling their pins low.
- 6peripheral areas modeled
- 14projects ready to run
- Real timeon your own machine
What is modeled
Taken from the board's own contract document and put in plain words, with what is missing beside it.
Modeled
- Core
- The ATmega32U4 at 16 MHz, every instruction with its datasheet cycle count
- Timers
- Four, with PWM on pins 3, 5, 6, 9 and 10
- USB serial
- Serial as a byte pipe to the monitor; Serial1 as the real USART on pins 0 and 1
- ADC
- A0 to A3, and the digital pins that are also inputs
- Lamps
- RX on PB0 and TX on PD5, both from 5 V, lit when the pin is driven low
- The board
- Two rows of twelve, 0.6 inch apart; no pin 13 anywhere
Not modeled
- The USB stack: no enumeration, and no keyboard or mouse.
- The 3.3 V, 8 MHz version of the board.
Open one and press Run
Each of these opens in the editor exactly as it is drawn here.
Every built-in project on the Pro Micro
Each has its own page with the circuit running, the code and a parts list.
- Pro Micro blinkBeginner
- Fight stick on a Pro MicroIntermediate
- Leverless SOCD cleaningIntermediate
- Guitar controller on a Pro MicroIntermediate
- Dance pad on a Pro MicroIntermediate
- Flight stick and throttle on a Pro MicroAdvanced
- Load cell pedals on a Pro MicroAdvanced
- Stream deck on a Pro MicroIntermediate
- Sim racing button boxAdvanced
- H-pattern shifter and handbrakeAdvanced
- Autopilot and landing gear panelAdvanced
- Key matrix numpadAdvanced
- Macro pad for streamers and codersAdvanced
- MIDI controllerAdvanced
Arduino libraries that compile as they are
Paste a tutorial that includes one of these and it builds. For any other library, the build names the Mokxi header that does the same job.
And 17 more, 25 in all: OneWire.h and DallasTemperature.h; Adafruit_BME280.h, Adafruit_BMP280.h and SparkFunBME280.h; RTClib.h; Adafruit_SHT31.h; Adafruit_PCF8591.h; Adafruit_ADXL345_U.h; LedControl.h; Adafruit_LEDBackpack.h; Adafruit_TCS34725.h; Adafruit_SGP30.h; Adafruit_INA219.h; Adafruit_ADS1X15.h; Adafruit_MCP23X17.h; Bounce2.h; Keyboard.h and Mouse.h; Joystick.h; HX711.h.
Tutorials that use this board
Each one ends in a running circuit, on this same board.
Questions
Is it free?
Yes. Every board and every part is on the free plan, with no account needed.
Why does Blink do nothing?
Because LED_BUILTIN is 13 and a Pro Micro does not bring pin 13 out. Blink the RX lamp with RXLED1 and RXLED0 instead, or wire an LED to a pin.
Will a Leonardo sketch run on it?
Yes, on the pins it has. It is the same chip and runs the same programs.
What are RAW and VCC?
RAW is the regulator’s input and is ignored here; VCC is the 5 V rail and a supply for the breadboard.
The other boards
Every one of these runs today, and every one is free.
Every Arduino board in one place: the Arduino simulator.
A RISC-V chip at 160 MHz, on the real memory map.
The classic Arduino, with an ATmega328P running at 16 MHz.
The Uno’s chip on a small board that fits a breadboard.
The big Arduino, with 54 digital pins and four serial ports.
An Uno-shaped board whose chip does its own USB serial.
A second RISC-V board, with 31 pins and simulated WiFi.
The classic ESP32 at 240 MHz, with simulated WiFi.
The ESP32-S3 at 240 MHz, with USB serial and an RGB LED.
Try it on your own firmware
What you build here runs on the board on your desk, unchanged. Nothing to install and no account needed.