Project tutorial
MicroView Digital Dice

MicroView Digital Dice © LGPL

The MicroView is a simple Arduino-based board that has a mini screen and pins for input and output. I've used this to make a digital dice.

  • 684 views
  • 1 comment
  • 2 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)

Apps and online services

About this project

As a simple Arduino-based board, I've used the MicroView to make a simple digital dice. When you move the MicroView, the dice begins to move, until it stops. When the dice stops shifting, you can see the result on the screen.

Here you can purchase the MicroView or its complete maker's kit. And here you can learn more about the MicroView.

Step 1: The Hardware work

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

Step 2: The Software work

First of all, download the Arduino IDE. The Arduino IDE is on the http://www.arduino.cc. After, you must install the MicroView library. You can do so manually by downloading it here and adding this library in Documents/Arduino/libraries. Or you can add the library automatically by searching for it via the Libraries Manager in Arduino IDE. Click on Sketch --> Includes Library --> Libraries Manager. Search in the library manager for MicroView. Now, you can upload MicroView example code. Click File --> Examples --> MicroView --> Cube. It works!

And now for the dice. Copy the code and upload it on MicroView. Here is the code file.

Code

MicroView Library
https://github.com/geekammo/MicroView-Arduino-Library
Dice
https://github.com/masteruan/MicroWiewDice/blob/master/MicroViewDice.ino

Schematics

MicroView Dice
Connect the MicroView and a tilt sensor
Microview txgfduo15k

Comments

Similar projects you might like

Microview DHT11 Meteo Station

Project tutorial by Giovanni Gentile

  • 1,984 views
  • 0 comments
  • 3 respects

Arduino Digital Dice

Project tutorial by xXarduino_11Xx

  • 1,073 views
  • 5 comments
  • 8 respects

Arduino-Based Digital Wallet

Project tutorial by Giovanni Gentile

  • 2,774 views
  • 1 comment
  • 9 respects

Digital Dice

Project showcase by SKYMDev

  • 1,354 views
  • 0 comments
  • 0 respects

Simple Arduino Digital Clock Without RTC

Project in progress by Annlee Fores

  • 96,166 views
  • 23 comments
  • 80 respects

ATTiny Dice Christmas Gift Project

Project in progress by wrightmac

  • 1,142 views
  • 1 comment
  • 3 respects
Add projectSign up / Login