Close

One Day - One Project - More Coffee

A project log for Circuit Playground Dice Bag

Dice Bag uses Adafruit's Circuit Playground to roll dice of several type, d100, d20, d12 or d6.

tomwsmftomwsmf 08/15/2016 at 04:130 Comments

Last night the idea was floated to make a Dice Roller on the Circuit Playground. This morning we took it up...

  1. What started as a d6 tosser grew to multiple dice type thanks to the switch and two buttons on the CP.
    1. Random gen needs some work, had to add to the range.
    2. Use Select switch and Buttons to select the dice type
      1. Switch + and Left Button is a d100
      2. Switch + and Right Button is a d20
      3. Switch - and Left Button is a d12
      4. Switch - and Right Button is a d6
  2. Working out the display took some iterating.
    1. 2 digits, 2 neopixels
      1. Red for 10's
      2. Blue for 1's
      3. Green if it is the same for both
  3. Needed sound. Tried to get it to sound like dice being shaken...which yeah...it is what it is.
  4. Hey look, a light sensors. Lets make the Neopixels dim or brighten based on the surrounding light levels.
  5. Lets mount it to a 3inch custom button. We have a button maker so why not.
    1. Created a 3inch button template with numbers in the right place
      1. added an old school rpg pic in the background
      2. Put a scaled img of the CP on the button face so placement is easier
    2. Little lipo fits on the back
    3. Using double sided tape to hold all parts down for now.

Discussions