Arduino is a great platform, but If you're trying to debug a program with a mix of software bugs and hardware issues, you could use a free helping hand! UnoArduSim.exe allows you to do a real-time test of most Arduino programs (for Uno) without needing any actual hardware. Supported libraries are: SD.h, Stepper.h, Servo.h, SoftwareSerial.h, Wire.h, SPI.h, and EEPROM.h (all for the Arduino V1.6.6 release).
UnoArduSim provides a virtual target Uno board and allows the user to choose, and interface to, one or more of several types of virtual input/output devices. These include typical hobbyist DC gear-motor, stepper-motor, and servo motors, generic serial devices with selectable baud rate, generic I2C and SPI slaves, an SD card with SPI interface, digital and analog waveform generators, piezo speakers, LED's. push-buttons, resistive pull-ups and pulldowns, and a slider potentiometer. All devices are electrically (and mechanically) modelled.
You can load and edit (and correct) your Arduino program, then run, run-to, halt, step-into, step-over, and step-out-of while watching all accessible program variables and monitoring pin levels (and even pin waveforms). Simple and clear parse and execution error messages are provided.
I had hoped interrupts had been all squared away by V1.7.0 but I discovered one (hopefully, final) interrupt bug. My interrupt-signal detection code was inadvertently re-triggering ...
Posted Feb 7, 2017, 8:43 AM by Prof Simmons
New version V1.7.1 posted today. It mainly fixes the accuracy of the count of Uno RAM bytes taken up by the user program, including freeing up Serial bytes ...
Posted Feb 2, 2017, 8:00 AM by Prof Simmons
Version 1.7.0 Posted
Version 1.7.0 contains some important fixes for interrupts, upgrades (and fixes) to variable highlighting, and adds new features which should prove handy: 1) An Edit/Track window that ...
Posted Dec 20, 2016, 12:52 PM by Prof Simmons
Version V1.6.3 fixes an old issue where interrupt functions could cause the Variables Pane to fill with multiple copies of the local variables from the interrupted function (leading ...
Posted Sep 21, 2016, 3:06 PM by Prof Simmons
A recent (apparently August 3016) Windows Defender update continues to falsely detect my posted V.1.6.1 version as containing "Trojan:Win32/Maltule.C!cl " -- even after a September ...
Posted Sep 21, 2016, 4:15 PM by Prof Simmons
Showing posts 1 - 5 of 23. View more »