Go Down

Topic: Arduino Simulator Open Source in c++ using free CPP Dev Compiler (Read 42823 times) previous topic - next topic

Paulware

Nov 16, 2012, 02:17 pm Last Edit: Dec 17, 2012, 03:18 am by Paulware Reason: 1
This is becoming an awesome free product
http://www.youtube.com/watch?v=ktfQEPexqlU&feature=plcp

terryking228

Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

Paulware

#2
Nov 16, 2012, 04:34 pm Last Edit: May 16, 2013, 11:21 am by Paulware Reason: 1
Location is https://github.com/Paulware/ArduinoDebugger/.
Help is no longer needed.  I will add new components to this as time allows

cappy2112


I need your help to make this an awesome free product
http://www.youtube.com/watch?v=ktfQEPexqlU&feature=plcp


gcc is free- why do you need to use a different compiler?

Paulware

#4
Nov 18, 2012, 06:56 am Last Edit: May 16, 2013, 11:22 am by Paulware Reason: 1
CPP DEV is also free.... CPP DEV comes with an IDE.

From the blood shed website (http://www.bloodshed.net/devcpp.html):
"Bloodshed Dev-C++ is a full-featured Integrated Development Environment (IDE) for the C/C++ programming language. It uses Mingw port of GCC (GNU Compiler Collection) as it's compiler. Dev-C++ can also be used in combination with Cygwin or any other GCC based compiler"

Paulware

#5
Nov 20, 2012, 06:19 am Last Edit: Nov 20, 2012, 06:23 am by Paulware Reason: 1
Added lcdDisplay, used my Arduino BASIC language to test it.
here is a short video
http://www.youtube.com/watch?v=RW7hccayBws&feature=plcp

Paulware

#6
Nov 29, 2012, 03:07 pm Last Edit: May 16, 2013, 11:22 am by Paulware Reason: 1
The free cpp compiler that was used to build this project can be downloaded from
 http://sourceforge.net/projects/orwelldevcpp/
Last Tested on Windows OS:
 Windows 8
Last Tested with Arduino version
 1.0.2
Github Repository:
 https://github.com/Paulware/ArduinoDebugger

http://www.youtube.com/watch?v=AdZ5GbDC1h0&feature=plcp

liudr

Looks cool. I will have to complain the "LED without current-limiting resistor" :)

liudr

Can't find serialBasic.ino and a few other files. Where are they located? Thanks.

Paulware

#9
Dec 07, 2012, 05:41 am Last Edit: May 16, 2013, 11:23 am by Paulware Reason: 1
Many thanks for checking the source.  I removed the dependency on SerialBasic.ino and added an example.ino to the default directory.  

Created a new video to show lcdDisplay and components can now be connected by clicking on the ports.

Still far to go....Let me know if there are any components you would like to add.

Here is some info:
The free cpp compiler that was used to build this project can be downloaded from
 http://sourceforge.net/projects/orwelldevcpp/
Simulator Github Repository:
 https://github.com/Paulware/ArduinoDebugger
Arduino Libraries used:
 Arduino Basic from Git Hub repository
 Various libraries mocked in libraries directory like LiquidCrystal
Online videos that demonstrate usage:
 http://www.youtube.com/watch?v=AdZ5GbDC1h0&feature=youtu.be
 http://www.youtube.com/watch?v=laa9VnRzuT0&feature=youtu.be
Last Tested 12/6/2012 on Windows OS:
 Windows 8
Last Tested with Arduino version
 1.0.2  

Here is the new video:
http://www.youtube.com/watch?v=laa9VnRzuT0&feature=youtu.be

maxid

El que pregunta aprende, el que responde aprende a responder.

Paulware

I use a gcc compiler, but I also handle a bunch of WM message in main.cpp.  Take a look and let me know.
I haven't tried in Linux.  That could be a nice addition assuming it is not too much work.

Boopidoo

#12
Dec 09, 2012, 12:16 pm Last Edit: Dec 09, 2012, 12:25 pm by Boopidoo Reason: 1
Interesting project, have you seen the SimulIDE?

Video: http://m.youtube.com/watch?v=P8qj-tqhe2g
Website: http://sourceforge.net/projects/simulide/
Forum: http://arduino.cc/forum/index.php/topic,105209.0.html

Paulware

#13
Dec 09, 2012, 05:09 pm Last Edit: May 16, 2013, 11:26 am by Paulware Reason: 1
   The point of mine is that you can set a breakpoint in your sketch and debug the behavior.
  I added 10k resistor as a component and ability to delete components (place mouse over component and press delete).
  Added keypad

Paulware

Added a video.  This one uses keypad and lcd display together.
http://www.youtube.com/watch?v=42XPmHdkE8k&feature=youtu.be

Go Up