Features
- Test out a sketch without the hardware, or prior to purchasing hardware.
- Simulated Hardware:
- a Light bulb.
- a 16x2 LCD HD44780 controller.
Included Libraries:
-
Ultrasonic Sensors
-
LCD
-
Motion control
Supported Arduinos
- Atmega8
Checkout the Simduino repository:
$ git clone git://github.com/koppi/simduino.git
Install the SDL library and gcc (tested with Ubuntu 12.10):
$ sudo apt-get -y install g++-4.7 gcc-4.7 libsdl1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev libsdl-gfx1.2-dev
Build the Simduino test sketches:
$ cd simduino
$ make all
Building 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
Building Tutorial/02-Blink
cc main.cpp
cc sim.cpp
ld 01-Blink.exe
[...]
Run a test sketch from the command-line:
Press CTRL+C to terminate the program. Have fun!
- © 2012-2013 Jakob Flierl