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