Arduino Servo Shield Sequencer Web Interface
by Adriaan | October 4, 2009While the Renbotics ServoSequencer serial protocol works for displaying, adding and playing sequences it is not the most intuitive interface when showing off your skills.
To make things a bit more user friendly the Renbotics ServoSequencer Web interface was created.
The web interface has has a command processor to process user input and two input sections, Sequence List and Control, and Custom Command sections.
The sequence list section simply retrieves the saved sequences and lists them showing whether they are currently playing or not, and provides HTML links to start or stop them. Simply click the name of the sequence to start it, and click Stop to stop it again.
The custom command section allows users to enter commands as if using the serial interface, similarly to the serial command processor the web command processor passes these on to the sequence command processor. e.g. Enter PS 1 to start the first sequence, the sequence list will automatically update the current state of the sequence.
To use the Servo Shield Sequencer Web interface import the EEPROM, Servo Shield and Ethernet libraries and add EEPROM.pde, Sequencer.pde and SequencerWeb.pde to your sketch. In your sketch's setup method initialize the sequencer first then the web interface. In your loop method simply poll the serial comms, web interface, and the sequencer.
e.g.
Full code is available with the Renbotics Servo Shield library: servoshield.zip
Requirements:



FEED