Skip to content
/ simduino Public

Run an Arduino sketch from the command-line (in Linux© user-space)

Notifications You must be signed in to change notification settings

koppi/simduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simduino

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:

Included Libraries:

Supported Arduinos:

Documentation

Clone the Simduino repository:

git clone git://github.com/koppi/simduino.git

Install 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-dev

Build 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 loops

Press CTRL+C to terminate the program. Have fun!

Authors

  • © 2012 - 2025 Jakob Flierl - koppi

About

Run an Arduino sketch from the command-line (in Linux© user-space)

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

Languages