Project: physically roll a dice and a display the results wirelessly on an OLED display.
Reason for wireless: we want to physically throw the dice like in Craps or any childhood board game such as monopoly. If there are wires, it will not work. So wireless is a MUST. BLE will be a great option as they can run on a very small battery and last a long time before needing to be charged.
Object: a human can pick up the dice, throw them, and the display will show the result on a screen. The display will add up the total dice and display the sum of all the dice. The display can be anything like OLED. 8x8 matrix, LCD, etc... doesnt matter here.
Size: i am trying to keep the dice small. About 1inch cube sized. Just lsrge enough to fit components and to hold multiple dice for throwing.
Dice Components: to keep it within the size constraints we need to fit all the hardware within the cube. I have selected a Seeeduino Xiao Sense with BLE. The reason i chose this item is because it has a built in 6axis IMU and built in bluetooth BLE and bonus it has built in charging using a USB C cable and its less than 1inch in size. All of these components are built in so all i need to do is hook up a small battery and switch to turn the device on and off. I have successfully wired and fit these components in a 1inch cube. Yay. This step is complete.
Read and display the dice reaults: this is where i am currently at. Now i need to wirelessly get the dice to show on a display board. I had planned on using HM-10 bluetooth module to receive the data from the BLE on the Seeeduino Xiao. Sadly this was not successful using HM10. However i wad able to read the data from another Seeeduino BLE device and successfully display it so i guess i could go this route but would prefer not to as this will become costly to reproduce.
BLE LIBRARIES: arduinoBLE is an amazing library for working with BLE however it is not compatible with HM10. If anyone knows of a good BLE library that works with HM10 that will allow it to connect to the Seeeduino Xiao BLE chip then we will be moving in the right direction.
Final product: physically throw dice, a display that shows what each dice are showing and total them for the user.
Next steps: once the dice are working and wirelessly sending data to display. Then i can use these dice to make arduino controlled robots and games from these dice. It will open up a new digital world of letting users to have the ability to use something and digital while playing a game.
Research: there are lots of examples of digital dice which most are just flat and pushing a button to "randomly" generate a number.
There are some that are physical in nature on the youtube but they are not able to be thrown.
There are some people out there making digital dice that can be thrown but they are very very expensive and only work with mobile phones and dont appear to be adaptable to arduino without major modifications.
Summary: make arduino physical dice that send the results to another arduino that will do something with the data wirelessly, inexpensive, and low energy.
I am very close and will post code and pictures as the project continues. It will be a game changer (pun intended).