Virtual Arduino Online

0 views
Skip to first unread message

Yogprasad Moneta

unread,
Aug 3, 2024, 5:59:54 PM8/3/24
to raitinmindmcel

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/
Enjoy!

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.

... 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:

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.

===
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...

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.

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.

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.

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?

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.)

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.

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

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).

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"

Does anyone knows why upload never completes. The IDE shows board on COM3, sketch also compiles, but upload never starts and the button shows BUSY forever. I waited for 5 minutes but nothing happened.

Unfortunately, Web IDE doesn't give any clue to what happens after code is compiled in the cloud. I'm software developer myself and I already walked through all the parts involved, but don't want to dive into someone else's web stuff unless absolutely necessary.

The problem I immediately had is that arduino-create-agent is hardcoded to list USB CDC serial ports only. It simply ignores all real physical serial ports and all virtual ports, those forcing me to have a real Arduino attached.

What I done is that I rebuild arduino-create-agent from devel branch with very minor change to allow real and virtual ports being discovered. I've got my virtual COM ports listed in Arduino Web IDE, but upload doesn't work for them.

Without building my own version of arduino-create-agent I've done thing. I faked Arduino Yun with little HTTP server registered in Bonjour service. My HTTP server got discovered and become available in Arduino Web IDE. In this case IDE does call /upload page, even if I select any other board type. In this case arduino-create-agent calls avrdude with HTTP address of my little fake web server, which obviously can't do any useful work. With my own version of arduino-create-agent this doesn't work either, so /upload page is not called.

So, my question is for Arduino Web IDE developers to shed some light on what happens between compile in the cloud and calling /upload page, which forces Arduino Web IDE to stuck forever in between?

A few weeks back, I happened to find a home made A-10C Electric Panel wired to a Arduino Nano. I also have an old landing gear handle that I've been wanting to wire up, but has been a bit overwhelming. So I find this panel, wired, and cheap. I buy it thinking the hard part is done, and I can reverse engineer how this person physically hooked it up. I get arduino started, I follow the online instructions and assign a couple of switches and upload it successfully to my nano. But, DCS Bios "Virtual Cockpit" doesn't turn green. I've tried to add DCS bios automatically and also copy-paste to my Export.lua. And the right Com port is connected in Bios

It sounds like you didn't install the BIOS properly. What is "virtual cockpit".l? If this is the old Hub version of the BIOS I'd say start from scratch and install the flightpanels fork: -bios and follow their guide: -bios/blob/master/Scripts/DCS-BIOS/doc/userguide.adoc

Code from anywhere, learn from anywhere, because TETRIX robotics is accessible everywhere. The TETRIX Virtual Robotics (VR) simulation software provides the curriculum, easy-to-use tools, and all the resources you need to run a successful blended robotics program.

Unlike other solutions, TETRIX VR offers a digital/physical robotics experience, whereby students can use a simulated environment to code a virtual TETRIX robot using the Arduino Software (IDE) programming language. When used in parallel with the TETRIX MAX robotics building system, TETRIX VR enables learners to easily move between virtually coding and testing their code on their robot in the real world.

This creates a highly dynamic and flexible learning environment whereby the simulation software and TETRIX hardware can be used independently or in combination with one another, enabling learners to iterate in both the digital and physical world, just like an engineer.

The activities baked into the software feature step-by-step coding instructions and deliver real-time feedback to the learner so they can grow and develop innovative ideas that can be implemented, tested, and refined straight away.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages