Arduino Forum

Topics => Education and Teaching => Topic started by: stanjsimmons on Jun 27, 2014, 08:27 pm

Title: Free virtual Uno simulation environment
Post by: stanjsimmons on Jun 27, 2014, 08:27 pm
Hi Everyone:

I have now released version 1.0 of my UnoArduSim simulator for WIndows.
This simulator allows you to test and debug many Uno programs without needing any of the the actual hardware. You can connect virtual I/O devices to a virtual Uno on a virtual lab bench, load and modify your program, and run, run-to, halt, step into, step-over, and step-out-of while viewing all local and global variables/arrays/objects. Full details and download at  www.sites.google.com/site/unoardusim/ (http://www.sites.google.com/site/unoardusim/)
Enjoy!
Title: Re: Free virtual Uno simulation environment
Post by: JimboZA on Jun 27, 2014, 08:34 pm
Ooooo... downloading as we speak.

Thanks.

edit.... well blink works  :). That's really good stuff.
Title: Re: Free virtual Uno simulation environment
Post by: CrossRoads on Jun 27, 2014, 09:12 pm
How does it handle complex external hardware? That's where all the fun happens.
Title: Re: Free virtual Uno simulation environment
Post by: stanjsimmons on Jun 28, 2014, 04:19 am
A good point -- UnoArduSim sure can't simulate any oddball faults/bugs inside your specific external hardware I/O device, but by attaching the corresponding UnoArduSim "fault-free" IO device you can tell you if your code is the problem. The  limited set of these virtual IO devices and supported libraries (which could be expanded in a following release) will hopefully be sufficient for most users, and if your particular device is not supported yet, you can try temporarily commenting-out/replacing the section of code that accesses it so that you can still test the other parts of your program.
Title: Re: Free virtual Uno simulation environment
Post by: emklaus on Nov 23, 2014, 04:49 pm
Excellent job!
Thanks so much for sharing it.
Title: Re: Free virtual Uno simulation environment
Post by: tkbyd on Dec 07, 2014, 10:32 am
Regarding....

Quote
How does it handle complex external hardware?
... I would encourage people using the simulator to teach Arduino use to encourage a good design/ development skill along the road to coping with the fact that the simulator probably WON'T simulate every possible bit of external kit:

"Stuff" boils down to inputs and outputs.

For a maybe-almost-too-simple example: Suppose I was using the simulator to develop software for a system to unlock my front door if I press the right buttons on a keypad.

In the final product, the Arduino will make an output high to make the door-lock-thingie unlock. FOR THE SIMULATION, I doubt that there is a door-lock-thingie "device" in the simulator. But there will be an LED. If I can "do" the LED in the simulation, I've solved the Arduino and software problems for doing the door lock in the real world. Yes... there are also some electronics issues... but I can make a great start on the overall road to success with the simulator.

Three cheers for this EXCELLENT initiative. I haven't played with it, but if it even ALMOST works, let's all get busy on... Facebook?... ick!... etc, and GET THE WORD OUT. If it even almost works, let's make getting it working even better worth the time of the people behind it.

And no, I'm not one of them (^_^)
Title: Re: Free virtual Uno simulation environment
Post by: tkbyd on Dec 07, 2014, 10:47 am
P.S.

Download problem solved! See post of 22 Jan 15

On 22 Jan 15 I cut down the following, but left parts to highlight the dead end which I suspect remains, and to make the following point, which was originally a PS...

===
Umm... Ah... there I go getting all excited, rushing in. (Again.) Before we all get behind THIS one, maybe we should explore the field a bit? I had no idea (duh) that this wasn't the first. Several listed, with brief notes, at...

http://blog.oscarliang.net/arduino-simulator-free-virtual-circuit-hardware/

... but I STILL think we should be promoting the good ones!

====
Modified comments on download from original post....

ARGH!! OH NO!!

Download link had a dead end route waiting for you 6 Dec 2014. Linked to how Google's shared docs system operates, I suspect. (I had "works". Changed that.)

The simulator's site doesn't have any comments up about the download issue. (Didn't early Dec 14, nor 22 Jan 15)

If you go where the sites.google.com link in the announcement at the top takes you, from there, eventually, you get to a page with a link for downloading the program. If you examine the source for the page with the link for downloading the program, you will find your GMail email address in it! (I hadn't entered it for ages... must have logged into it for something else days ago.) I would guess that if you use the link, you are, ** unwittingly **, going to be sending your GMail email address to whoever put up the link you've been persuaded to click. Thank you Google. I don't (knowingly) give out my GMail eddress... and won't be clicking on links like this one again, now that I have suspicions.

The simulator may be genuine... I imply nothing on that front. But I've learned something about how drive.google.com resource sharing works that I'm glad to know.

Note as you look at the sites.google.com page, that it is not a Queens University, Kingston, Ontario page. The Queens logo appears under the word "Affiliations".
Title: Re: Free virtual Uno simulation environment
Post by: plancaster on Jan 02, 2015, 10:09 pm
Hi Stan

I am a BSc Mech Eng Undergrad at Oxford Brookes.
My final year dissertation is on using and Arduino board to control a 12V 20A brushed motor.
Naturally that doesn't mean find an Arduino shield, plug it into the Arduino and then the job's done.
It means 'produce an investigation worth reading'.
Part of the dissertation has been the evaluation of Free/Open Source Arduino simulators.
I downloaded this today and it is very good, well done.
The Fritzing simulator has superior graphics, but it comes nowhere near yours on the practicality front.

Thanks for the effort.

best regards
Paul Lancaster         
Title: Re: Free virtual Uno simulation environment
Post by: arduidiot on Jan 20, 2015, 12:39 am
awesome im going to give it a shot ive been thinking a very similar thing!

Quote
How does it handle complex external hardware? That's where all the fun happens.
i put a post in gigs and collaborations  for something im going to start working on in processing that will simulate   
the target MCU'S output if a "hypothetical" pinout of basic digital components that can be determined using a database of truth tables for ICs that are designed as particular logic gates, but, as you said complexity is proportional to both fun of outcome AND mental strain achieving it, and there's a lot more fun than just ones and zeros to be had with other electrical components.
Title: Re: Free virtual Uno simulation environment
Post by: arduidiot on Jan 20, 2015, 12:44 am
im afraid i too got an error for the dl page of the zip file.
Title: Re: Free virtual Uno simulation environment
Post by: timathis on Jan 20, 2015, 08:06 pm
Downloaded 1/19/2015 installed on win7 64 bit system.
Works excellently!!
Professor Simmons:
I am retired computers and electronics technologies instructor and would like to link students to your simulator for a new online course I am preparing on Arduino and circuit prototyping in the maker vent.
Would you have any objections to my putting a link to your program in the course along with credits to you?

I have been considering another professional program but your program fits my requirements very well.

Thanks
Tim
Title: Re: Free virtual Uno simulation environment
Post by: tkbyd on Jan 20, 2015, 10:04 pm
Update: Hurrah! Download problem solved! See post of 22 Jan 15

Rest is modified verion of original post...

Tried download again... still problems. (Original had details of what I'd tried... including...)

Tried to add yet another piece of software to my computer, as the download process seemed to "need" that. (The special "zip extractor", or whatever it was called)

Not necessary. (See post of 22 Jan 15)

How do I like to "publish" free things... or access them? Go to, say...

http://sheepdogguides.com/lut/lt1Nd.htm

Try the "download a .zip with the code and a compiled .exe file in it." See if it gives you any hassle? (And let me know, if it does!) (It will give you a little Windows program, illustrating topics in Lazarus programming. (Lazarus: An open-source, multi-platform language similar to Delphi.)
Title: Re: Free virtual Uno simulation environment
Post by: arduidiot on Jan 20, 2015, 10:24 pm
ok cool well im pretty certain i want to pursue making my own processing/VB/Arduino  virtual platform any how. i mean if anything should be free source it should be things that make life easier for those that are pushing their mental boundaries throughout the world ie designing and innovating anything (which is broad enough i think) so yep thats why i posted something in this vein in the gigs and collaborations section to try and get something like this cooking anyway.

thanks for posting the link ill take a look
Title: Re: Free virtual Uno simulation environment
Post by: arduidiot on Jan 20, 2015, 10:27 pm
ah this is my 32 bit ill try the 64 now. lol this 32 bit is in better nick because my dad never used it because the power adapter was blown and he assumed must be laptop.
Title: Re: Free virtual Uno simulation environment
Post by: arduidiot on Jan 20, 2015, 10:33 pm
Quote
How does it handle complex external hardware? That's where all the fun happens.
i did find one (you'll need to google it i cant remember the link) that created the simulation on an engine that is apparently built based on Maxwell's Equations hence you get all the fruit of wireless involved in the read out i suppose only thing that made me click out ocf the page was pricing unfortunately

but if i were in a more established stage of my life and could afford it hey... im sure you understand how much cost and time cutting would be involved having it handy in  prototyping!
Title: Re: Free virtual Uno simulation environment
Post by: opal_1970 on Jan 22, 2015, 01:19 pm
Just a tip regarding the problems with downloading mentioned above.

Once you are on the page with the download, Click on the little downward arrow on the right side and you should get a windows"do you want to download..." box. DO NOT click on the name of the file, this will give you a URL not found error (Unless you are loged in with a google account, I am assuming).

Hope this helps
Title: Re: Free virtual Uno simulation environment
Post by: arduidiot on Jan 23, 2015, 12:04 am
so hang on, that works for you? just staying on the  page that clicking on simulator takes you to from the index? it get the same non functional google page whether i left OR right click on the zip link provided on that page on my 32 system. have not got round to checking my 64 or as i affectionately refer to it as "mr dusty"
Title: Re: Free virtual Uno simulation environment
Post by: tkbyd on Jan 23, 2015, 02:00 pm
For those who've had trouble downloading the simulator....

Quote
Once you are on the page with the download...
https://www.sites.google.com/site/unoardusim/services (https://www.sites.google.com/site/unoardusim/services)

Quote
...click on the little downward arrow at the right-hand end of the line and you should get a Windows "Do you want to download...?" box.
Hurrah!! Thank you Opal_1970! (I was so grateful that I actually remembered to click on his "Add Karma" button!) That was "the secret" I'd failed to grasp!! (Successful download just now with Windows 7/ Firefox 35.0)
Title: Re: Free virtual Uno simulation environment
Post by: Graham-Leach on Jan 28, 2015, 02:10 am
Hello,

After a bit of a bother figuring out the download interface I was able to get in, install it and run it.

I have attached a photo of the URL and relevant area on the page to click.  Google makes a mess of it.

Will be using the simulator in my MSc Robotics course this semester, in the School of Design at HKPU.

I will let you know how well it was received by (primarily non-technical) Mainland Chinese Designers.

Graham Leach
Visiting Lecturer, School of Design
Multimedia & Entertainment Technology (MSc)
Hong Kong Polytechnic University
Title: Re: Free virtual Uno simulation environment
Post by: goodinventor on Jan 31, 2015, 03:01 am
Wow! I think I'll try it.
Title: Re: Free virtual Uno simulation environment
Post by: Shields_Arduino on Feb 02, 2015, 10:12 am
Tell me, how does it compare to Simulator for Arduino http://www.virtronics.com.au (http://www.virtronics.com.au) ? at Virtronics, we have a range of universities and educational institutions who use the Simulator and one purchased 200 licences last year.
Title: Re: Free virtual Uno simulation environment
Post by: tkbyd on Feb 02, 2015, 12:32 pm
Tested! Good!

I have finally had time to do a few tests of the simulator... and I am delighted with it. Excellent for introducing Arduino to students.

A few notes put together at...

http://sheepdogguides.com/arduino/aht9simsimm.htm (http://sheepdogguides.com/arduino/aht9simsimm.htm)
Title: Re: Free virtual Uno simulation environment
Post by: arduidiot on Feb 06, 2015, 01:59 pm
Quote
Tell me, how does it compare to Simulator for Arduino http://www.virtronics.com.au ? at Virtronics, we have a range of universities and educational institutions who use the Simulator and one purchased 200 licences last year.
how much is a student license for yours and how long is the demo? im asking because im trying this one tonight so i will evaluate yours based on this one being freeware.
Title: Re: Free virtual Uno simulation environment
Post by: tkbyd on Feb 06, 2015, 04:53 pm
I may have got details wrong, but if I've read the site correctly... prices in Australian Dollars, "AD"...

Current version: AD 15
Version 1.0 list expected to be around AD 50

Then there's a free demo version...

"Ten minute trial (then 30 day trial with a simple email unlock)"

"After 30 days of use or 100 sketches there is a delay timer on loading a sketch and
code limit of 150 lines"

See more at: http://www.virtronics.com.au/Simulator-for-Arduino.html

===
Now... don't get me wrong: It is THEIR product, and they have every right to sell licenses for use as they see fit. But I'm going to invest some time in the FREE simulator first, and see if I can live with it before spending money that I could spend on actual Arduinos!

And when it comes to shareware, I don't want to invest time in getting to grips with something if usage is time limited. Feature limited: Fine! But I rarely see something that is time limited that interests me enough to spend time there.
Title: Re: Free virtual Uno simulation environment
Post by: arduidiot on Feb 06, 2015, 05:42 pm
i do like this one for sure im having some teething problems in that ive somehow cause all the options under the  execute tab to be unavailable. im using the software serial.
Title: Re: Free virtual Uno simulation environment
Post by: tkchan007 on Feb 09, 2015, 08:28 pm
Thank you for this wonderful program.  I've just ran through some test and it's definitely going to be a great addition beside the real thing.
Title: Re: Free virtual Uno simulation environment
Post by: sirinehas on Feb 11, 2015, 07:37 am
thanks a lot
Title: Re: Free virtual Uno simulation environment
Post by: dipanshupayasi on Feb 14, 2015, 06:40 am
Hello all,
I am trying to download the simulator but not getting the link to download.

I searched in following link
https://www.sites.google.com/site/unoardusim/home

But the last update was on Jun 27, 2014, I want to know that whether this simulator was updated after that or that was the only updated version?

If any new version is available for win7 64bit, kindly send me the download link in dipanshupayasi@gmail.com ASAP.

Thanx in advance. . .
Title: Re: Free virtual Uno simulation environment
Post by: tkbyd on Feb 14, 2015, 06:47 am
dipanshupayasi- See posts 17 and 18 above. In 18, if you click on the graphic it gets big enough to read, but then you may need to use the horizontal scrool bar to see the bit at the right which marks the arrow you need.

Overcome all that, and you should be okay. Download worked (for me!) 6am UK 14 Feb 15.

(You get to the download page from the one you cited by clicking on "Simulator" in the menu at the left there.)
Title: I am creating a yahoo group for this program.
Post by: timathis on Feb 17, 2015, 01:08 am
Yahoo group cancelled due to lack of interest
Title: Re: Free virtual Uno simulation environment
Post by: Ortwin on Apr 19, 2015, 11:21 am
To download:

When on the download page (https://www.sites.google.com/site/unoardusim/home , choose "Simulator Download" from the left sidebar) you have to click the download arrow on the right and NOT the filename UnoArduSimV1.1.zip!

Ortwin
Title: Re: Free virtual Uno simulation environment
Post by: mnbf9rca on Apr 22, 2015, 11:07 pm
it looks very promising. Would be great to add some more complex features like support for multiple arduinos e.g. using I2C or RS485 as that's really where things get complex (at least for me).
Title: Interrupts
Post by: jbil on Jul 08, 2015, 10:14 pm
Hi,

Thanks for this great Arduino Uno simulation software. Very easy to use and enough powerfull.

Are interrupts implemented ?

I tried to use them without success.

Thanks for help.

JBIL
Title: Re: Free virtual Uno simulation environment
Post by: Ruudboks on Aug 11, 2015, 11:59 am
Hi there, first of all; great program. Thumbs up!

I'm totally new at this and just practicing, so naturally i stumbled on something:

when i try to start an serial port with " Serial.begin(9600) " the program doesn't run.
When you write your program you'll see a black little screen with " BUILD-IN'S ",
if i look there there is an " //Serial: " that turns green (in the code)
but no " Serial. " , even if i type it in it stays black.

Does someone else have this problem, or see my misstep?

Ruud
Title: Re: Free virtual Uno simulation environment
Post by: gah24HrsOn on Oct 22, 2015, 01:41 am
Nice work! Thank u Professor. Greetings from Brazil.
Title: Re: Free virtual Uno simulation environment
Post by: Cobbler on Nov 08, 2015, 05:33 am
Hi Everyone:

I have now released version 1.0 of my UnoArduSim simulator for WIndows.
This simulator allows you to test and debug many Uno programs without needing any of the the actual hardware. You can connect virtual I/O devices to a virtual Uno on a virtual lab bench, load and modify your program, and run, run-to, halt, step into, step-over, and step-out-of while viewing all local and global variables/arrays/objects. Full details and download at  www.sites.google.com/site/unoardusim/ (http://www.sites.google.com/site/unoardusim/)
Enjoy!
Kudos on such a great program! I have used it for an hour and it works exactly as described!  Great for stubbing out a program!  Excellent work, this is the best simulator I have found so far. Thank you!
Title: Re: Free virtual Uno simulation environment
Post by: senjacob on Jan 01, 2016, 07:23 pm
Thank you Prof Simmons!
This is a great simulator and it is so light weight!!!

I'm from a software background. Just saw some projects done with Audrino and developed some interest on it.
So I decided to learn with a simulator. When I'm confident enough to do something real, I'll go ahead and purchase the items.
But it was hard to find a good free simulator for Audrino. This is the best I got so far.

Thank you so much. I really appreciate your effort for this wonderful simulator! :)
Wish you all the best and hope you will improve this a lot better and powerful than it already is.
Title: Re: Free virtual Uno simulation environment
Post by: rva1945 on Feb 18, 2016, 09:30 pm
I can't make the motor to turn to both directions. I know it has something to do with Dir and Enc but tried some combinations to no avail.
Title: Re: Free virtual Uno simulation environment
Post by: rva1945 on Feb 18, 2016, 09:52 pm
FIXED, I was not correctly setting the Dir PIN as OUTPUT!
Title: Re: Free virtual Uno simulation environment
Post by: SelfInstructor on Apr 10, 2016, 08:36 pm
Took me less than an hour to download and test out some code concepts.  What a great tool!

Sunny ways, Prof. Simmons, sunny ways.  Posted from the foot of Kingston Rd. in Toronto, so you are literally just up the street from me.   :)
Title: Re: Free virtual Uno simulation environment
Post by: larryd on Apr 10, 2016, 10:27 pm
Quote
Sunny ways, Prof. Simmons, sunny ways.  Posted from the foot of Kingston Rd. in Toronto, so you are literally just up the street from me.   :)
Sounds like you are quite liberal (L)
.
Title: Re: Free virtual Uno simulation environment
Post by: damain on May 03, 2016, 10:28 pm
All files at https://www.sites.google.com/site/unoardusim/services are infected with malware. DO NOT DOWNLOAD.
Title: Re: Free virtual Uno simulation environment
Post by: a55830 on May 05, 2016, 10:41 am
my windows 10 found malware in the latest UnoArduSimV1.4.3...
Title: Re: Free virtual Uno simulation environment
Post by: Graham-Leach on May 09, 2016, 11:10 pm
+Tk Boyd I have contacted you back and also looked at the Arduino thread you mention.  You look like an avid supporter of the software and I admire you for it.  I am not the author of the Uno Arduino Simulator.  Professor Stan Simmons of Queen's University, Canada is the author.  He may be reached at unoardusim@gmail.com
Title: Re: Free virtual Uno simulation environment
Post by: Indelec on May 19, 2016, 03:38 am
Would some assist in downloading the simulation software Prof Simmond V1.5 please.
I keep getting blocked by "Smart Screen Filter"
Kind regards.
Indelec
Title: Re: Free virtual Uno simulation environment
Post by: Geoff on May 24, 2016, 09:46 pm
Nice software, thank you very much.
Is it possible to add our own (simple) models of devices?
In our Robotics Club we use the Ultrasonic Transducer a lot (HC-SR04)

Thanks,
  Geoff...
Title: Re: Free virtual Uno simulation environment
Post by: tkbyd on Jun 08, 2016, 03:53 pm
Back in early May, Damain, newbie, 3 posts, announced that there was a malware problem with the simulator downloads.

I looked into it, made enquiries, waited to see what developments arose.

Of several possible explanations, it seems that maybe an .exe being inside a .zip was giving rise to a false positive. I have read many places that Windows Defender is next to useless. I also haven't looked with great care... which is what you need to do in this wicked world, at the download link cited by Damain.

Today, I went to my own page about the simulator...

https://www.sites.google.com/site/unoardusim/services

Used the "Catch your simulator... Go to..." link there, and a little RTMing... the download may not, today, be EXACTLY what is was when I wrote my page... fetched the zip for version 1.5, and on a Windows 7 (until MS highjacks it, with THEIR malware) did a malware scan of it with Eset's Intnernet Security, which I have been happy with for some time. No issues reported.

===
Off topic rant- Windows.... I've heard it said that the little red "x" in the upper right corner of the "Do you want to upgrade to Wondows 10"- type windows that are plaguing the planet has been reprogrammed to mean "Yes! Update me!"  (You know the window... the one that doesn't have a "no, go away, don't ask again" button.)

One of my systems took 20 hours to download the massive monstrosity that clutters my soon-to-be-Linux desktop PC, VDU monitor, with all sorts of stuff only appropriate to a internet enabled smartpone with a touchscreen. Bah!
Title: Re: Free virtual Uno simulation environment
Post by: Heyo on Jul 07, 2016, 06:49 pm
I have not been able to download the arduino simulator...
Title: Re: Free virtual Uno simulation environment
Post by: kernash on Jul 10, 2016, 05:39 pm
Very nice software, saved me already a lot of time!

However i ran into a problem.
I like to simulate a program which makes use of the virtual wire library.
When including it, UnoArduSim complains at the first line of the library (#ifndef VirtualWire_h):
"PARSE ERROR: unable to parse line".

I'm running it on linux with wine, may that be an issue? Or am I doing something wrong?
Title: Re: Free virtual Uno simulation environment
Post by: Shields_Arduino on Jul 14, 2016, 01:38 pm
Hi kernash, does this work OK on a real Arduino and/or on the Simulator: http://virtronics.com.au/Simulator-for-Arduino.html
Title: Re: Free virtual Uno simulation environment
Post by: Goshawk78 on Sep 10, 2016, 10:43 pm
Hi,

This is a cool tool, but I am having some trouble using it. I am trying to do a simple test where I read a value from a 0-5V slider and then have it translate to 0-360 degrees output to a servo. So far, it will not read in a value from the slider. The servo will accept the output, but the value is not as it should be. Here is the code which I cobbled together. I would appreciate any help pointing out errors and fixes. Thanks in advance,


#include <Servo.h>

const int srvPin = 9;//servo comtrol pulses

Servo servo1;
int count;
int pwmPin = 10; // output pin supporting PWM
int inPin = 3; // voltage connected to analog pin 3, e.g. a potentiometer
int val = 0; // variable to store the read value
float volt = 0; // variable to hold the voltage read


void setup()
{
   count=0;
   pinMode(pwmPin, OUTPUT); // sets the pin as output
   servo1.attach(srvPin);//attach servo1
}
void loop()
{
   count=count+1;
   delay(200);
   val = analogRead(inPin); // read the input pin
   volt =(5.0 * val) / 1023; //translate analog 5-volt slider to output range
   val = 360 * (volt / 255); //prepare variable for servo output (0-360)
   //analogWrite(pwmPin, val); //ignore for now
   servo1.write(val);
}
Title: Re: Free virtual Uno simulation environment
Post by: Shields_Arduino on Dec 22, 2016, 02:51 am
Hi, this sketch looks OK except for one line:
Code: [Select]

val = 360 * (volt / 255); //prepare variable for servo output (0-360)

should be

val = 360 * (volt / 5.0); //prepare variable for servo output (0-360)


In Simulator for Arduino (http://virtronics.com.au/Data/SetupFree.zip), the output pin changes a shade of red and the angle is displated to the right of the pin.
Title: Re: Free virtual Uno simulation environment
Post by: jqavins on Jan 13, 2017, 09:04 pm
HALP MEH!!!!!!!!!!!!!!!!!!111
No can do, good buddy. Please post

I'll have a look for what it's worth, and you might get better minds than mine looking as well once there is something to look at.
Title: Re: Free virtual Uno simulation environment
Post by: sirilnasa on Feb 16, 2017, 07:43 pm
Can we interface virtual LED display in Arduino simulator,,..if so can any one tell how,,..?
Title: Re: Free virtual Uno simulation environment
Post by: ubin10 on Feb 20, 2017, 09:17 am
Hello..
perhaps a silly question, is this a standalone simulator ? or do i need to install/run it on the same machine which has Arduino IDE installed ?

Regards
Title: Re: Free virtual Uno simulation environment
Post by: tkbyd on Mar 02, 2017, 04:50 pm
Standalone!
Title: Re: Free virtual Uno simulation environment
Post by: jaivuetasoeur on Apr 04, 2017, 01:33 pm
Woo, this simulator is great, exactly what I what looking for. Thank you mate!
Title: Re: Free virtual Uno simulation environment
Post by: johnfarrugia on Apr 16, 2017, 05:18 pm
I am getting an error when trying to define :

long unsigned int rxID;

"PARSE ERROR: 'unsigned': illegal identifier: matches a reserved keyword in Arduino"

any idea?

Title: Re: Free virtual Uno simulation environment
Post by: ralfiii on May 12, 2017, 04:56 pm
Nice tool. Is there a reason it doesn't understand the datatype "short" ?
Title: Re: Free virtual Uno simulation environment
Post by: rcamp48 on Jul 23, 2017, 07:55 pm
I really enjoy your simulator, when I can , can I donate towards it ???? I think this is a worthy cause and I usually don't donate to too much to projects unless they are good... but this one is. The only thing I would like to see is  more projects for it. I am part of the Robot Club at KwartzLab in Kitchener, Ontario, Canada (some of you reading this might know me).... if anyone wants more info about the Robot Club or KwartzLab email me back. Thanks... Russ Campbell
Title: Re: Free virtual Uno simulation environment
Post by: jrf3703 on Aug 20, 2017, 06:03 pm
Hello,
I've come across a possible bug.
In the code below, in block //4 the replace seems not to function.
John


/*
   Sample Program to show some string functionsn
*/
//#include "string.h";

void setup() {
   String my_str = "This is my string.";
   Serial.begin(9600);
   
   // (1) print the string
   Serial.println(my_str);
   
   // (2) change the string to upper-case
   my_str.toUpperCase();
   Serial.println(my_str);
   
   // (3) overwrite the string
   my_str = "My new string.";
   Serial.println(my_str);
   
   // (4) replace a word in the string
   my_str.replace("string", "Arduino sketch");
   Serial.println(my_str);
   
   // (5) get the length of the string
   Serial.print("String length is: ");
   Serial.println(my_str.length());}

void loop()
{
}
Title: Re: Free virtual Uno simulation environment
Post by: FarooqGul on Aug 22, 2017, 12:46 pm
My code is working perfectly on Arduino uno v3. Simulator is giving error on  #include <String.h>

Error is :
PARSE ERROR: A < > Bracketed #include file name must contain the full drive path

How to solve this issue?
Title: Re: Free virtual Uno simulation environment
Post by: raj556 on Jan 01, 2018, 08:17 am
Thanks for this monumental effort ! I ran the "blink" program and another a string functions testing program and they ran perfectly . I attached a few 'small devices" as well like LEDs and a terminal , was impressed with its functioning. The compiler within it is very friendly and its messages are detailed to solve any coding mistake easily, even compared to the Arduino IDE C compiler. My congratulations. Is there a way to run a HEX file directly in case i don't have C source program ? its needed in some situations where i compile on a different compiler and want to test the hex file on your simulator or someone gives me a hex file to use.
Title: Re: Free virtual Uno simulation environment
Post by: Stanleyarduino on Jan 02, 2018, 01:30 pm
how can I download a Uno simulator in my computer?
please help
Title: Re: Free virtual Uno simulation environment
Post by: pusky on Mar 30, 2018, 04:41 pm
Hi, have not tried this yet, my home system run Ubuntu and centos Linux any thought of porting it?

I will create a windows VM to try it, but would prefer a native version.. please

Or maybe an android one for my old A500 tablet..

It runs both Lubuntu 14.04 and android 5.1.1.

Cheers
Pasquale
Title: Re: Free virtual Uno simulation environment
Post by: noweare on Apr 14, 2018, 08:01 pm
At    https://www.sites.google.com/site/unoardusim/services  the page for the simulator is said.



"This is a simulator for Windows (XP or later). Porting to other operating systems is a project for future."

so it only runs on windows. [ from one 60yr old to another : )  ]
Title: Re: Free virtual Uno simulation environment
Post by: Sandro_Mesquita on Apr 15, 2018, 08:26 pm
Boa tarde, alguém sabe informar onde encontro um curso de Arduino autorizado? Gostaria de certificar professores e a escola pelo Arduino.
Title: Re: Free virtual Uno simulation environment
Post by: Krantz on Oct 16, 2018, 12:22 am
Hello!

Excellent initiative!

Do you have plans to release it for OSX?
Title: Re: Free virtual Uno simulation environment
Post by: david354 on Dec 25, 2018, 12:05 pm
Brilliant.  I am currently developing a flight simulator interface while on holiday without my Ardiuino hardware.  Now I can continue working and testing.
Thank you.
Title: Re: Free virtual Uno simulation environment
Post by: AfricanLionHeart on Mar 28, 2019, 07:34 pm
Do you have a macOS version?