I'm not new to programming, I've written several PC applications, web applications even PIC micro-controller projects in the past. I'm also not new to electronics at all with numerous projects under my belt.
Am am new to the arduino though. I have an Arduino UNO that I'm using.My Project:
I have a project where I'd like to feed the arduino a "script" from an external source.
Basically the "Script" would be like a macro of sorts identifying the state of the various outputs and how long they will remain in that state before changing to the next state in the script.
The program on the arduino would wait for a "start" button to be activated and once pushed it would run through the script.
These scripts could be as short as 10 seconds or as long as 10 minutes with output state changes occurring every few milliseconds.
I guess you could think of it like a Christmas light controller and the various "scripts" would correspond to patterns you could play back on the lights.
I'm looking at a maximum of 20 digital outputs and 6 analog outputs though for prototyping purposes to start I'll probably only need 6 or 8 digital outputs.Where I need help:
Basically I'm not really sure the best way to transfer the script from my PC to the arduino. I'd like a method where I can have my Arduino installed and able to receive modifications to the script or new scripts on the fly. I'd also like the transfer method to be ubiquitous enough that I could give less tech savvy friends similar devices and have them create their own scripts/send and trade scripts with each other.
I'm sure I'm capable of finding how to program the finer points of interpreting the script and changing the outputs, but I don't really know the best method of actually getting the script quickly and easily to the arduino. Ideally I'd need to be able to run a script, and easily feed a new script to the arudino without much hassle so I can make revisions quickly. I would appreciate any suggestions as well as links to similar projects that I might use as a reference. I've done some searching but I didn't come up with anything, I'm not sure I'm even searching for the right terms, as "script" and "macro" are rather generic.
Thanks for taking the time to read this