Applications and Implications

&

Project Development


Objectives for Week 17


What will it do?

The first thought I had while proposing a possible final project during week 1 was to create a game. It doesn't practically solve any social issues, its just for the pure entertainment. The first idea I had was to create an automated Snake and Ladder game but it later changed to a more practical and controllable project.

I came up with a game FLiP inspired by Shut the Box. Mostly all the rules are same as original game but I made some modifications and down-sized it a bit. The game consist of 6 two-faced tiles numbered from 1 to 6. The game is played by 2 players at a time. The tiles has two different colours on the sides. The players choose their colour and the aim is to make all the tiles face the colour of their choice. It is done by rolling the dice. The numbers can be the exact rolled number or combination of numbers that gives a sum equal to the rolled number. If no combination is available then that chance will be skipped.

The whole process of flipping the tile is automated, where, the dice auto detect the top face of the rolled dice, shows the different available combinations possible on a button press and flips the corresponding tiles.

Who's done what beforehand?

Smart Dice

Smart Dice is a final project by Jonathan Bobrow from How to Make (Almost) Anything. He has made a dice that reports its orientation and value when rolled. I took the same concept but changed the components I'll be using to make the process easier. I'm using XIAO nRF52840 Sense for the orientation detection where I can also utilize its bluetooth connectivity as well as the Type-C out to charge the battery.


Shut the Box Web App Game

This is an online Shut the Box game developed by Mark Ledbetter using HTML, CSS, JavaScript and jQuery. My work will be a physical game set.

What will you design?

I'll be designing almost everything for the game starting from the circuit designs for the PCBs, mechanism, programming to finally the whole form of the game set.

Sketch

Initial Sketch for the Final Project

Flip Mechanism

DC motor will be used to rotate the tiles 180° both ways. A notch is provided to act as a stpper for the tiles. The tiles will be made of two different coloured acrylic sheets glued together and engraved with corresponding numbers.

Dice

I have inspired from a dice design I saw on Pinterest. It is totally different from the traditional dots seen on the dice. The internal part will hold a rechargable battery, XIAO nRF52840 Sense and a sliding switch for ON and OFF.

Sketch

What materials and components will be used, its cost and source?

• Material List

Sketch

• Electrical and Electronics Components

Sketch

What processes will be used?

  1. Laser Cutting: Cutting all the 6 tiles (Black and White 3mm thickness acrylic sheets), front panel (White 6mm thickness acrylic sheet), side panels (White 6mm thickness acrylic sheet) and back panel (Black 6mm thickness acrylic sheet) using Trotec Speedy 400 flexx.
  2. Wood CNC Milling: Milling plywood for the enclosure using Zund.
  3. PCB Milling and Soldering: Generate the PCBs required for the project using Roland Modela MDX20
  4. Designing: 3D designing of the final project using Autodesk Fusion.
  5. 3D Printing: 3D printing the holders, base using Prusa i3 MK3 and dice using Bambu Labs.
  6. Vinyl Cutting: Vinyl cutting black stickers for Dice using Roland GX-24 Camm-1 Servo.

What questions need to be answered?

  • Will it be a drawback by giving the possible combinations straight to the user rather than the player using their logic?
  • Can bluetooth communication be established between ESP32 WROOM 32E and XIAO nRF52840 Sense?
  • How will it be evaluated?

    1. Flip mechanism functions properly.
    2. The tiles flip corresponding to the rolled number.
    3. Proper detection of number on the dice.

    Project Development

    Schedule

    What tasks have been completed, and what tasks remain and when it will be completed?

    Electronics:

  • Completed: Two PCBs are done and working
  • PCBs
  • Remaining: One PCB for the sliding switch inside the dice is pending due on 30th May.
  • Programming:

  • Completed: Code for the dice orientation working fine.
  • Remaining: Rest of the programming to be completed by June 5th.
  • Design:

  • Completed: Test module for the flip mechanism and outer design of the dice completed.

  • Flip Mech PCBs
  • Remaining: Interior of the dice to be completed by May 29th and Enclosure design to be completed on 30th.
  • Manufacturing:

  • Completed: Test parts for the dice, flip tiles (Laser Cut) and flip mechanism were 3D printed to ensure the correct proportions.
  • PCBs
  • Remaining: Dice to the manufactured by 31st May and rest of the enclosure including milling of the plywood to be done by June 3rd.
  • What's working? What's not?

    As per the current status everything is working fine.

  • Created a dice using the accelerometer capability of Seeed Studio XIAO nRF52840 Sense. It detects the top position of the rolled dice.
  • Flip mechanism is done and working.
  • Only question arises on the bluetooth connectivity between ESP32 and nRF52840. If not working, then should create an interface to communicate between both.
  • What have you learned?

  • I made a dice out of XIAO nRF52840 Sense. I used the accelerometer capability of the nRF52840 to create a dice that detects the orientation, thereby, detecting the top position of the rolled dice.
  • It is a good idea to use DC motor rather than Servo for the flip mechanism. Eventhough the servo has many advantages, it takes time to rotate ,whereas, DC is quick and makes the game lively.