Arduino simulator.

Ok.. now i understand the crash, but i can not reproduce it ( lubuntu 14.04 64) .
I suspect it's related to a bug when loading a circuit, modify it and save again (wich is solved in the release). But maybe it's another one. It would be very useful if you could email me the circuits involved in the crash ( in case they are not the unmodified circuits in the examples folder). It would be useful running it from a terminal and have a look if there is some error msg.

About new components, i'm not sure what exactly are you talking about.
Now is posible to create components like subcircuits, 74HC164 and 595 are examples of that, or for example it would be posible creating flip-flops made out of gates, resistor arrays or whatever made out of existing elements.
At the moment the only way to do it is directly writing an xml file describing the internal element and connections.
I have plans to do it in the circuit editor, so you could make a circuit and just click in an option "create subcircuit" or something like that, but this still need some planning and lots of details to define, so maybe it will be ready for a future release.

Ok, in order:

  1. I open barGraph.simu
  2. I open barGraph2.simu
  3. I open barGraph.simu but simuide crash

this is the output of terminal:

vinnie@xubpc:~/Documenti/nokiawatch/SimulIDE$ ./SimulIDE 

    Loading Component sets at:   "/home/vinnie/Documenti/nokiawatch/SimulIDE/data" 
 
        Loaded Component set:   "arduinos.xml" 
        Loaded Component set:   "avrs.xml" 
        Loaded Component set:   "pics.xml" 
        Loaded Component set:   "subcircuits.xml" 

 

BaseProcessor::terminate  "" "" 
 

BaseProcessor::terminate  "" "" 
 

BaseProcessor::terminate  "" "" 
 

BaseProcessor::terminate  "atmega328" "" 
 

        Initializing GpSim...
 

    ...GpSim Initialization is complete

 

BaseProcessor::terminate  "" "" 
 

BaseProcessor::terminate  "atmega328" "" 
 
Errore di segmentazione (core dump creato)
vinnie@xubpc:~/Documenti/nokiawatch/SimulIDE$

Yesterday I wasn't able to replicate the problem, today I tried several times and it was happen

For the question of creating new component, for example to add another version of arduino or sensor/actuator, but perhaps it is impossible to make an editor to create such complex components

Ok.. finally i could get the crash and fix it (hopefully).
Thank you very much.

Creating custom components is something i'm thinking about for long time, but it's not an easy task, specially something that works at least in Linux and Windows ( sometime ago i got a C++ plugin system working but didn't work in Windows ).
An option would be using some scripting language to code the component behavior, but this would slow down the simulation speed... who knows, may be there is some way.

Hello.

Finally SimulIDE_0.0.2 is available for download: SimulIDE - Browse Files at SourceForge.net

Here is a video example: SimulIDE_0.0.2 Simulator: Arduino Simple Oscilloscope - YouTube

Regards.

Hi again.

Just some updates about the project:

  • SimulIDE_0.0.3 was released some time ago, with some new features:
  • LCD44780
  • Zener Diode
  • Clock
  • Resistor Dip
  • Led Bar
  • Steeper motor
  • 74HC573
  • 74HC574
  • Serial Terminal receive and send (text or numeric value)
  • full Arduino PWM support
  • Led new features
  • Flip Components
  • Name an Value Label Control
  • Save Circuit as image
  • Speed up simulation
  • I'm working in an integrated Editor/Debugger for SimulIDE.
    It is possible to edit, compile and upload to a board/avr in the circuit, simulate or debug: step, run to breakpoint, Watch mcu registers or global variables.
    Works with Arduino and GcBasic files.
    There is not a final release yet, but i uploaded a testing version so people can try it and see if it's useful, report bugs or any other issue:

Download: SimulIDE - Browse Files at SourceForge.net

For help, bugs, any other cuestion about SimulIDE you can use the discussion board:
https://sourceforge.net/p/simulide/discussion/

Please watch this video to see how to use: SimulIDE Arduino and GcBasic Editor & Debugger TESTING - YouTube
The most important is setting the Arduino or GcBasic path in the config file: SimulIDE/data/codeeditor/config

Regards.