Hackster is hosting Hackster Holidays, Ep. 5: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 5 on Friday!
Tisham Dhar
Published © CC BY

Smart DICE: The Physical + Digital RNG

An electronic dice that does not take away the thrill of the roll. The motion data from a roll generates a random number shown on LED's.

AdvancedFull instructions provided20 hours5,365
Smart DICE: The Physical + Digital RNG

Things used in this project

Hardware components

Kinetis Freedom Board with FlexIO
NXP Kinetis Freedom Board with FlexIO
×1
7-segment display
×1
Arduino Proto Shield
Arduino Proto Shield
×1
Seeed Studio Solar Charger Shield
×1

Software apps and online services

Pepakura
NXP Kinetis Design Studio

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Custom parts and enclosures

Dice Shaped Enclosure

Enclosure shape for FRDM K82F dice, scale it suitably and 3D-print or build with card stock and Pepakura

Schematics

Arduino proto board wiring

This is an image of the protoboard clearly showing the pins on Port-C of the Kinetis MCU used to drive the 7-segment display

Code

FRDM-K82F Accelerometer Dice

This is the firmware for the board. Clone from git, import project into Kinetis Development Studio and deploy to the board over USB using Segger Jlink.

Credits

Tisham Dhar

Tisham Dhar

13 projects • 59 followers
I am an Electronics Engineer who mostly works with aerial and space based remote sensing projects. I fiddle with home automation and renewable energy projects.

Comments