项目作者: tomhiggins

项目描述 :
Uses Adafruit's Circuit Playground to roll d100 d20 d12 and d6
高级语言: Arduino
项目地址: git://github.com/tomhiggins/CircuitPlaygroundDiceBag.git
创建时间: 2016-08-15T02:35:00Z
项目社区:https://github.com/tomhiggins/CircuitPlaygroundDiceBag

开源协议:

下载


The Circuit Playground Dice Bag
CC Attribution-ShareAlike 4.0 International Tom Higgins & Sons

Dice Bag uses Adafruit’s Circuit Playground (https://www.adafruit.com/products/3000) to
roll dice of several type, d100, d20, d12 or d6.
An optional custom 3in button was created to mount the CP on. The test unit uses a 150mah lipo
(https://www.adafruit.com/products/1317) mounted on the back side of the button.

Features

  • Can roll d100, d20, d12,or d6

  • Hold button down and hear the bones rolling

  • NeoPixels will brighten or dim based on surrounding light level

  • Will not roll off table

  • Does not cheat



    User Manual

    Select the type of die you would like to throw by putting the Select Switch in the proper position
    and then pressing the proper Button

    Select Switch + Left Button d100 (0-99) Right Button d20 (1-20)
    Select Switch - Left Button d12 (1-12) Right Button d06 (1-6)

    You can hold down the Button for as long as you want. Dance to the sound of the bones rolling.

    Release the Button and your results will show on the Circuit Playground as two (or one) lit NeoPixels

    Red=Tens Place (0-9)

    Blue=Ones Place (0-9)

    Green=Tens and Ones are the same (00,11,22,33,44,55,66,77,88,99)



    The NeoPixels are arranged from 0 - 9 . If you are holding your Circuit Playground with the USB port facing Up

    0 is the top left NeoPixel closest to the USB port

    1 is to the left of that

    ..

    4 is the bottom let NeoPixel closest to the Battery Jack

    5 is the bottom right NeoPixel closest to the Battery Jack

    ..

    9 is the top tight NeoPixel closest to the USB port