FLiP

Sometimes after Machine week, I came to the realization that the above project could become hectic. Mainly because I find programming really difficult and it contains a lot of coding according to each sequences. So, I thought of changing my final project. I wanted to incorporate the die anyway because I find it really interesting and wants to give it a try. I started looking for games that can be played with dice and I came across 'Shut The Box'.

Shut The Box is a traditional dice game. It is typically played with one or more players.

Shut The Box

For my final project, I have modified the rules for the game. I named the game FLiP. The board will be having 6 two-sided tiles with numbering from 1 to 6. Let's say the two sides are black and white. At the beginning of the game, 1 to 3 would be black and the 4 to 6, white. Players choose between the colours.

Let's say player 1 chose black. So their aim is to make all the tiles black by throwing the dice and flipping the corresponding number. Likewise, for player 2 with white.

Sketch
Flip

Features

• Flip Tiles

Two-faced tiles numbered from 1 to 6. The tiles are flipped using DC Motors. There will be 6 DC Motors connected to each tiles. A notch is provided on the base to stop the motor. The motor will turn 180° clockwise and counter-clockwise for the flipping action. During Week 13, I created two slave PCBs for controlling DC Motors with A4953 Motor Drivers. It was succesful. Later, for Interface week, I tried creating a webpage that culd control the 2 DC motors separately.

Connections

Later on, I design a single module consisting of one DC Motor and one Flip tile.

1 2 3

• Dice

The dice is equipped with XIAO nRF52840 Sense and a rechargable battery. The Seeed Studio nRF52840 Sense features a 6-axis inertial measurement unit (IMU), specifically the LSM6DS3, which combines a 3-axis gyroscope and a 3-axis accelerometer. I use the accelerometer to determine the orientation of the die and send the data to the other board to run the corresponding motor to flip the tile.

nRF52840
1 2 3

• Button

A button will be provided so that it shows different possible combination for each die roll (if). Below image shows the different possible combinations. By pressing on the button it shows the next combination by flipping the respective tiles if available and if finalized on the combination all you have do is to lift the dice.

Combination

Work Update

Project Plan

According to the schedule, I created the code for determing the orientation of the dice using XIAO nRF52840 Sense. It has been documented in Input Devices week.