Introduction: Microview Digital Dice

Picture of Microview Digital Dice

Microview is a simple board Arduino based, that have a mini screen., and different pins for input and output. I've used this for make a simple digital dice. When you the microview, the dice begin to move, until stop. When the dice stop's, you can see the result on the screen.

Do you Want a Micro View?

or

A Complete Kit for MicroView?

or

Do you Know the Microview? See the page!

Step 1: The Hard...ware Work

Picture of The Hard...ware Work

Connect the Micro View to the power supply, and to the tilt sensor.
I've used a USB cable to give 5V power to MicroView. After you can connect the tilt sensor to GND and to A0 input. When you flip the microview, this show you the dice that rolls. After a random number of rolls, the Micro View dice stops to a face, and show the result.

Step 2: The Soft...ware Work

Picture of The Soft...ware Work

First of all, you can download the Arduino IDE.

The Arduino IDE is on the http://www.arduino.cc

After you must install the MicroView library manually by download the library:

https://github.com/geekammo/MicroView-Arduino-Library

and adding this library in Documents/Arduino/libraries.

Or you can add the library automatically by searching the library by the Libraries manager in Arduino IDE.

Click on the Sketch --> Includes Library --> Libraries Manager. Search in the library manager microview.

Now you can upload on MicroView one example code. Click File --> Examples --> Microview --> Cube. It Works ?!

Now is the moments of the dice...

Copy the code and upload it on MicroView.

Here there are the code:

https://github.com/masteruan/MicroWiewDice/blob/master/MicroViewDice.ino

Comments

About This Instructable

145views

2favorites

License:

More by masteruan:Cayenne and SparkFun IoT 433 Mhz SocketsArduino MKR Fox 1200 Sigfox Meteo StationGuess the Number With Arduino KeyPad
Add instructable to: