Find all your DIY electronics in the MakerShed. 3D Printing, Kits, Arduino, Raspberry Pi, Books & more!

ball switch Super Cheap Electronic Dice Challenge

Suppose you wanted to build electronic dice for a board game. Sure, you could use discrete components to build a clock circuit into a decade counter and BCD to 7-segment decoder, etc. Or you could write some random number generating code for an Arduino and use LEDs. That’s obvious and has been done before. But professional toy inventors have to be crazy clever and get the same effect, but for an insanely low, dirt-cheap cost. Can you do it?

Here’s one approach that costs next to nothing: It’s just LEDs wired up with some cleverly designed SPDT switches. Each switch is made of three parallel wires and a metal ball in a cage. When you shake the cage, the ball randomly lands on either one pair of wires or the other pair. Only one pair of wires completes the circuit, lighting the LED.

LED-dice-wiring-0-7

To make an electronic die, I’d wire up 4 LEDs to one switch, 2 LEDs to the next switch, and a single LED to the last switch. Shake them all together and you’ll get a random number of LEDs to light up, from 0 to 7. For games that need a number from 1 to 6, just “roll” again if you get 0 or 7 lit LEDs.

Your challenge: Can you rewire the switches so that you’ll only get numbers 1 thru 6 — so that “0” and “7” never appear? Here’s a blank for you to draw your wires. (Hint: the new version may not be a “fair” die, but its average roll yield will be the same as a real die.)

Click here to download the solution to the challenge.

LED-dice-blank-wiring

circuit-in-cube@72

Related

Steps

Step #1: Drill holes.

PrevNext
Super-Cheap Electronic Dice ChallengeSuper-Cheap Electronic Dice ChallengeSuper-Cheap Electronic Dice ChallengeSuper-Cheap Electronic Dice Challenge

Make a ball cage from acrylic by drilling three large through holes and then 3 small holes at 90 degrees. Drill holes for LEDs in the small panel.

Step #2: Complete the ball cage.

PrevNext
Super-Cheap Electronic Dice Challenge

Strip the heavy gauge solid core wire, cut into pieces and thread into the small holes, and super glue the ends to stack in place.

Step #3: Assemble the switch and LEDs.

PrevNext
Super-Cheap Electronic Dice Challenge

Solvent bond the switch to support and wire up the switches and LEDs: Click here to download the solution to the challenge.

Step #4: Assemble.

PrevNext
Super-Cheap Electronic Dice ChallengeSuper-Cheap Electronic Dice ChallengeSuper-Cheap Electronic Dice Challenge

Assemble and solvent bond the sub assembly. Fit to cube (cut a hole in back for an on/off switch). Test!

Step #5: Finish (optional).

PrevNext
Super-Cheap Electronic Dice Challenge

For a more polished look, paint the cube white. Leave the top clear, and add a piece of frosted mylar for a backlit look.

Bob Knetzger

Bob Knetzger

Bob Knetzger ([email protected]) is an inventor/designer with 30 years of experience making fun stuff.


blog comments powered by Disqus

Related Supplies at Maker Shed

Follow

Get every new post delivered to your Inbox.

Join 26,604 other followers