Processing Sketch, report version of the code : MusicSequencerv2_1
Processing Sketch, measuring frequency (unused code): BasicCode_SpeedAdjustment_TimeConstraint.pde
Processing Sketch, different resistors, same sounds (unused code): MusicSequencerv1_2.pde
Arduino Sketch, code to upload to Arduino: StandardFirmata
This is a stuffed toy that plays sounds modified by the user, allowing the user to interact with a cuddly (but not too cute) animal by customizing its behavior, for kids who like to actually play with a cuddly stuffed animal. It simultaneously produces the user experience of creating music and establishes the creature as a character with distinctive behavioral traits.
Arduino Sketch: <a title=”Arduino Sketch: el_wire_microcontroller” href=”http://code.arc.cmu.edu/~gregsaul/sketchDropBox/uploads/el_wire_microcontroller.pde” target=”_blank”>el_wire_microcontroller</a>physical circutschem
electro luminescent wire
10k ohm resistor
2k2 ohm resistor.
mask parts MQ-3 breathalyzer, 97-30 king bright DC-10EWA, 10 200 ohm resistor wire, arduino, mask, sunglasses or strap.
Here is a short video clip on U-Tube:
Here is my final (will be updated soon with better documentation) report, on the ADIDO Robot, or The Arduino Drawing Input Drawing Output Robot.
ADIDO is a drawing robot that provides an easy platform for making quick digital sketches realized in a physical format, with variable scale (could create room-scale drawings based on a small digital sketch) and a traditional medium (like marker). I created this robot out of a desire to create large scale drawings with the advantage of clearly robotic/digital input. For instance, I could create a simple drawing and have the robot draw it perfectly in a circular array or spiral, quickly creating complicated pictures that could not be made by hand. The ADIDO robot is capable of drawing on most surfaces, therefore is meant for artists who are interested in using repetition and pattern in their designs.
The ADIDO project includes a Processing App and an Arduino program which the robot executes. The Processing app provides a platform for the user to create a quick digital sketch and export instructions to the Arduino program. The Processing app is using trigonometry to calculate the distances and angles ADIDO must travel and turn to go from point to point.
Here is an image of the Processing interface.
The Arduino program reads the instructions output by the Processing app. It has two functions, drive() and turn(). The drive function has two forms depending on one or two variable instantiation, which allows the function to be recursive. (At the end of it’s instruction to ADIDO to drive some distance, it performs an error calculation and calls itself to correct the error). Using drive() and turn(), ADIDO goes from point to point and moves through your Processing sketch, while an arm in the robot holds a marker to the drawing surface.
Stacey Kuznetsov, final report