Board

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.

Start building free
  • 6peripheral areas modeled
  • 14projects ready to run
  • Real timeon your own machine
SparkFun Pro Micro: rx blinklive0.000 s 0.00x
Click to open it in the editor
The board is running real firmware right now. Click it to open the circuit in the editor.
The model

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.
Start here

Open one and press Run

Each of these opens in the editor exactly as it is drawn here.

Libraries

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.

Servo.h
attach, write, writeMicroseconds, read, detach, on any pin
Wire.h
I2C as a master; Wire.begin() puts it on 2 (SDA) and 3 (SCL)
SPI.h
transfer and transactions, on the board’s usual SPI pins
EEPROM.h
read, write, update, get, put and EEPROM[i], kept in the chip’s own 1 KB EEPROM
LiquidCrystal_I2C.h
the 16x2 LCD behind its I2C backpack
Adafruit_GFX.h and Adafruit_SSD1306.h
the 128x64 I2C OLED: text, pixels, lines, rectangles, circles, triangles and bitmaps
Adafruit_NeoPixel.h
WS2812 strips and panels
DHT.h
the DHT11 and DHT22: temperature, humidity and the heat index, as floats you can print

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.

Learn

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.

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.