Pages: [1]   Go Down
Author Topic: Arduino Simulators  (Read 10613 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 22
www.buildinginternetofthings.com
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I have posted a brief overview of some (functional) Arduino simulators I have found on the web:

http://www.buildinginternetofthings.com/2012/03/25/arduino-simulators/

I would like to extend the list, so if you have any links feel free to suggest.

Thanks,
Logged


Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 220
Posts: 13834
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the overview, very useful. Bookmarked!
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 22
www.buildinginternetofthings.com
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you Rob, make sure you subscribe to the blog or twitter for instant updates and news!

Best,
Charalampos
Logged


Sydney
Offline Offline
Full Member
***
Karma: 3
Posts: 108
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Right now I am develop an Arduino simulator which performs API-level simulation so that debugging is possible on host PC. An agent will developed to run on Arduino boards to interact with the host simulation program.
http://www.arduinodev.com/arduino-simulator/
Logged


Central MN, USA
Offline Offline
Tesla Member
***
Karma: 74
Posts: 7227
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Right now I am develop an Arduino simulator which performs API-level simulation so that debugging is possible on host PC. An agent will developed to run on Arduino boards to interact with the host simulation program.
http://www.arduinodev.com/arduino-simulator/

To correct you on wording as I was corrected by GoForSmoke, from your source code names I am thinking that you are doing an emulator with a PC host. What you are doing doesn't seem to be simulation:

http://en.wikipedia.org/wiki/Emulator

What they do here is likely simulation:

http://www.buildinginternetofthings.com/2012/03/25/arduino-simulators/

By the way, here is what I did on Dev C++ IDE including a few hardware library emulations. There is a list of emulated features. It's for my own projects so I didn't go so far to emulate things I don't need such as digital I/O. I was mainly debugging my user interface library and project code that don't deal with actual sensor or actuators.


http://arduino.cc/forum/index.php/topic,96197.0.html
Logged


Sydney
Offline Offline
Full Member
***
Karma: 3
Posts: 108
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Right now I am develop an Arduino simulator which performs API-level simulation so that debugging is possible on host PC. An agent will developed to run on Arduino boards to interact with the host simulation program.
http://www.arduinodev.com/arduino-simulator/

To correct you on wording as I was corrected by GoForSmoke, from your source code names I am thinking that you are doing an emulator with a PC host. What you are doing doesn't seem to be simulation:

I am not going to develop an emulator for Arduino because I am not going to emulate the hardware but just to implement API-level simulation which I think is more useful than an emulator.
Logged


Central MN, USA
Offline Offline
Tesla Member
***
Karma: 74
Posts: 7227
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Stanly,

Put some more details on your site. I could not find what you are doing. I am not sure simulation is more useful all the time, maybe true for understanding hardware but not so for debugging c++ based software. One needs little details of register and flags in c++ codes. Just my 2 cents.
Logged


Changchun
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I simulate Arduino board with Proteus software. I simulated examples here :http://hi.baidu.com/hyper99/blog/item/ee0e9b2f45873a341e308969.html.

Rom Huang

Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 74
Posts: 7227
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I simulate Arduino board with Proteus software. I simulated examples here :http://hi.baidu.com/hyper99/blog/item/ee0e9b2f45873a341e308969.html.

Rom Huang



Could you clarify what Proteus is? A search had too many hits. What is it?
Logged


Guildford, UK
Offline Offline
Full Member
***
Karma: 0
Posts: 218
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Could you clarify what Proteus is? A search had too many hits. What is it?
Check out:

http://www.labcenter.com/products/vsm_overview.cfm

Iain
Logged

Australia
Offline Offline
Jr. Member
**
Karma: 0
Posts: 66
Power up to your potential
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Simulator for Arduino Version 0.96 has just been released. To see the changes, please try out the new test sketches in the 09 Test folder and the 22 Libraries folder. There are still lots of issues, and the custom library code is maybe only 50% complete. The help file has also been updated with credits to Pro Users who have found anomalies. A powerful new feature is being able to set a BreakPoint condition in the Edit Sketch window (accessed by pressing F6). We will have a new video shortly.
We have been getting other mentions here:
http://www.maffucci.it/area-studenti/arduino/
http://it.emcelettronica.com/simulatore-arduino

Hi Charalampos and Stanley, thanks for the mentions. Stanley, would you be able to change the download link to the new SetupF.zip file since the other file is out of date.

Charalampos, your book sounds very interesting. Can you tell us more about it, and will the next edition have a page about Arduino Simulators?

Stanley, I think I understand what you mean. This is not a true emulator since there is not a high-powered FPGA running the code, but simply inserting code into the sketch and then having a serial debugger to be able to view variables etc. This has potential and it would be good to know more. With Atmel, there are three emulators - Dragon, AVR JTAG ICE and AVR One. With the Mega328, this requires using the JTAG interface which means that 3 or 4 pins are not available for the sketch which really makes any emulator useless. The Tiny series use the reset pin as a debugWire and this works well. With the new Xmega series, there is a PDI (program and data interface) which allows for emulation using the AVR One.

http://www.youtube.com/watch?list=FL83FyWwQgNhOOGvQhRHJ3vQ&feature=player_detailpage&v=QOwv85s0daw
« Last Edit: April 23, 2012, 05:11:32 am by Shields_Arduino » Logged


Pages: [1]   Go Up
Jump to: