Run an unmodified Arduino sketch from the Linux™ command-line.
Features:
- Test out a sketch without the hardware, or prior to purchasing hardware.
- Simulated Hardware:
- Blink virtual LED on pin 13.
- Display text on a virtual display using the 16x2 LCD HD44780 controller or via Linux™ I2C.
Included Libraries:
- Utrasonic Sensors
- Motion control
Supported Arduinos:
Clone the Simduino repository:
git clone git://github.com/koppi/simduino.gitInstall some software (tested with Ubuntu 25.04):
sudo apt -y install make g++ gcc libsdl1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev libsdl-gfx1.2-devBuild the Simduino test sketches:
$ cd simduino
$ make all
Tutorial/02-Blink
cc main.cpp
cc AFMotor.cpp
cc AccelStepper.cpp
cc Arduino.cpp
cc HardwareSerial.cpp
cc I2CIO.cpp
cc LCD.cpp
cc LCD_I2C.cpp
cc Print.cpp
cc Stream.cpp
cc WString.cpp
cc Wire.cpp
ld libSimduino.a
Built libSimduino.a
ld 00-BareMinimum.exe
Tutorial/02-Blink
cc main.cpp
cc sim.cpp
ld 01-Blink.exe
[...]Next, run the Blink.pde sketch from the Linux™ command-line:
Tutorial/01-Basics/02-Blink/02-Blink.exe 10 # number of loopsPress CTRL+C to terminate the program. Have fun!
- © 2012 - 2025 Jakob Flierl - koppi