Magic 8-Ball

by Ken Burns February 15, 2016

Magic 8-Ball


About This Project

Using a TinyScreen and Accelerometer TinyShield, you can create an electronic version of the classic "Magic 8-Ball" toy. This is a great project to get started with using the TinyScreen or the TinyCircuits ecosystem in general.


Step One: Materials

You won't need the USB shield in the final product, but you will only use the USB shield to upload your program and charge the battery.


Step Two: Assembly

Stack up your boards. Processor on the bottom, followed by USB, then Accelerometer, and finally the Screen.


Step Three: Prep the 8 Ball

I used a Magic 8-Ball from Walmart, but you can get one from wherever. I scored it along the center seam using a Dremel Tool with cutting wheel, and pried it apart with a utility knife and screwdriver. You have to cut off the plastic piece holding the blue liquid and empty the blue liquid and tetrahedral die out.

Empty out the liquid.

After emptying the liquid, dry the insides well. Avoid washing it out, as the top half of the 8-Ball fills with liquid which then drips back in the clear cylinder. Use a craft knife to cut off any sharp edges or plastic bits that are in the way.


Step Four: Program the Boards

Run the code using the codebender plugin below with your TinyDuino Processor connected to the computer using the TinyShield USB module. You can also download the code and upload to the TinyDuino using your Arduino IDE.


Step Five: Put it all Together

Place the finished electronics in the cylinder, and secure it with a piece of clear packing tape over the opening. Put the ball back together, and secure the two halves with a strip of clear tape.

Final Product:



Ken Burns
Ken Burns

Author

Founder and President of TinyCircuits



Also in Learn

TinyZero Accelerometer BMA250 Internet of Things Project with Cayenne
TinyZero Accelerometer BMA250 Internet of Things Project with Cayenne

by Laverena Wienclaw November 21, 2018

In this tutorial, we will use Cayenne to capture some accelerometer readings on their nice Internet of Things dashboard

View full article →

TinyZero Setup Tutorial
TinyZero Setup Tutorial

by Laverena Wienclaw November 21, 2018

Ready to get started with your new TinyCircuits product? This tutorial will cover basic setup of the TinyZero.

View full article →

Using the TinyZero Accelerometer
Using the TinyZero Accelerometer

by Laverena Wienclaw November 21, 2018

This tutorial will guide you through reading values from the Accelerometer that can be populated on the TinyZero

View full article →