This project is a spin-the-bottle type game spinner, useful in many games to pick a player or land on a number. Although you need the TinyShield USB to program it, the finished product only requires 3 boards: TinyDuino processor, TinyShield Accelerometer, and TinyShield Circle Edge LEDs (21).
The TinySpinner generates a random number, then lights LEDs in a pattern until they land on the specified LED. The LED stays lit until you shake the spinner: then it starts again.
Everything about the TinySpinner can be customized in the code (below). The spin rate, random number range, and accelerometer sensitivity is all up to you.
- Step 1 is to connect and stack the boards. It's pretty simple: TinyDuino processor on the bottom, followed by the USB and Accelerometer TinyShields. The Circle Edge LED can only go on top. Connect with a microUSB cable, and you can launch the code right from here, or download and run it yourself.
- Step 2 is removing the USB board from the stack, and adding your coin cell or rechargeable battery. Your TinySpinner is ready to roll.
- Step 3 is waiting for a quick initialization pattern to run. After this, the spinner will start spinning and land on a random LED. After your turn, just shake the TinySpinner until the LEDs change.