Dice reader version 1

dicereader_cc.jpg
From the MAKE Flickr pool

Steve Hoefer shares this photo showing the first iteration of his dice reader project -

Working on a robot that plays dice. Since the "robot" part is easy i started with the dice reader which can read the number of pips on the dice that's placed face down on it.

Version 1 just uses 4 photo resistors with white LEDs behind them. It only works right about 70% of the time and is incredibly sensitive to ambient light, but it's pretty good for about $0.99 worth of parts and a first try. V2 will add more, smaller, sensors with greater sensitivity.

Judging from the ongoing conversation on his blog, it sounds like the next version will incorporate IR sensors. Have a closer look at his setup on Flickr.

… and for a larger scale, software-intensive approach to the problem, check out GamesByEmail's Dice-O-Matic.


Recent Entries

Comments

Oldest comments listed first.

Posted by: karnuvap on August 20, 2009 at 5:57 AM

Simple to fix the display

Sine the opposite faces of a regular die add up to 7 it would be simple to complement the answer so that when it saw 6 spots it reported 7-6 which is the one which is how we normally read them (the upper most face not the one touching the table).


Posted by: Ookseer on August 20, 2009 at 11:04 AM

That's an excellent point. It's looking like the final design will take the upright die and tip it 90° into a vertically mounted reader.

I wired up all five 5 IR sensors last night and they work better than I could have hoped. (There are 9 possible pip locations, but you need to read at least 5 of them to be sure of what face you're looking at.) The IR sensors are immediate, definitive and I don't even have to mess with any calibration or normalization math, or interference from the ambient light like the photoresistors.

I'll be updating the blog soon with more about the setup and the next steps of getting the mechanical parts working.


Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television
Holiday Gift Guides from MAKE

Gifts for Dads
Science and Chemistry
More guides: Gifts Under $20, Santa Claus Machines, Geek Toys for Grown Up Girls & Boys


Check out all of the episodes of Make: television

Alex Rider Dream Gadget Contest
Make: Science Room

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter




    Maker SHED

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Subscribe to MAKE Magazine!

    Make: Online authors!

    Gareth BranwynGareth Branwyn
    Senior Editor


    Phillip TorronePhillip Torrone
    Senior Editor
    | AIM | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Current Podcast

    itunesdl.gif Weekend Project: Beetlebot Simple robot from your parts bin that avoids obstacles. Thanks go to Jerome Demers for the original article in MAKE, Volume 12. To download the Beetlebot video, click here or subscribe in iTunes. Check out the complete Beetlebot article... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    MAKE Fascination video series brought to you by Dow

    Make: Education
    MAKE: en Español MAKE: Japan
    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog