VivoGame (something like "liveGame" in english) is a funny 2 players game whose goal is hit a target with a automated dart. One player wear a "glasses" that doesn't let him see the target. 3 leds that replace each lens, allow the other one, who see the target, moving the first player's head with a joystick (strange but very funny!). When, for instance, the joystick is moved to the left, a led is turned on in front of the left eye of the player with the glasses. Other leds allow moving up, down and to the right. Upon the glasses, there is a dart launcher automated through a servo motor. Pressing the joystick button, the player can trigger the servo and throw the dart.
Step 1: Assembling the Glasses
To assembly the glasses you'll need: cardboard, paint, elastic cord, rubber bands, scissors, a servo motor, hot glue and a lot of creativity!
With the cardboard, the paint and the scissors, assemble and paint the body of the glasses (Tip: You can use a thin box and adapt it to fit the face). Use the elastic cord to hold the glasses on the head.
To assemble the dart launcher, paste the servo motor upon the glasses and use some rubber bands with the ends attached at the glasses' body as a slingshot.
Step 2: Assembling the "lens"
To assemble the lens, you'll need: 2 styrofoam blocks, 6 leds, 4 resistors (100 ohm) and a five-wires cable (we've used an UTP cable).
Attach the leds at the styrofoam blocks as in the illustration and assemble, with the leds and the resistors, the circuit shown in the schematic.
Attach each connector (G, L, U, D e R) at a wire of the cable.
Step 3: Coding!
Firstly we have to prepare the DragonBoard for program the Mezzanine (an ATMEGA328p microcontroller).
At this link you can find how to configure the board and some examples using the Mezzanine:
Connect the wires from the leds to the Mezzanine as follow (CONNECTOR, MEZZANINE PORT):
(L,4); (R,7); (U,5); (D,6); (G, GND).
For the joystick, we've used this module. Connect it to the Mezzanine in this way (MODULE PIN, MEZZANINE PORT): (X, A0); (Y, A1); (GND, GND); (VCC, VCC).
At the Dragon board, launch the Arduino IDE, compile the code and download to the Mezzanine.
At now, we have a lot of idle fire power with the DragonBoard. We can use it to link the game to a web application.
But it is for another instructable.
That's all, enjoy!
We have a be nice policy.
Please be positive and constructive.