Microview Digital Dice

by masteruan in Circuits > Arduino

498 Views, 2 Favorites, 0 Comments

Microview Digital Dice

Microview Dice.png
PC100018.JPG
ezgif.com-video-to-gif-6.gif

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!

The Hard...ware Work

ezgif.com-video-to-gif-5.gif
PC090098.JPG
MicroView.png

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.

The Soft...ware Work

PC080090.JPG
PC090097.JPG
ezgif.com-video-to-gif-4.gif

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