Electronic Dice with Case

Electronic Dice with Case

thingiverse

My first from-scratch design in Tinkercad, this is an enclosure for the perf-board prototype of my electronic dice game. The schematic for the game itself is attached. The game runs on an Atmel ATtiny13A. The software is written in C and was developed using the WinAVR tool set. If you would like a copy of the source code, please PM me and I'll send it to you. I am working on a PCB-based redesign of the game circuit (no software changes anticipated) and will publish that version if I ever get around to it. My goals are to reduce the power source to a single coin cell (instead of 2 in series), which will lower the board profile to improve LED visibility. I also might add a tilt switch in parallel with the push button so that you can actually "shake" the dice. The enclosure uses an overlapping joint around the perimeter of the top and the bottom to give a monolithic appearance when they are joined. To allow for material shrinkage, I had to remove an extra 0.25mm all the way round the top to achieve a snug but strain-less fit. You may need to adjust this dimension depending on your material and temperatures. Update - I added a partition to keep light from leaking through adjacent holes. This is necessary because the box has extra depth to accommodate the double-stack coin cell holder. I don't think my single-cell redesign will require it. Update 2 - I've added the program source code to the files list for anyone who wants it for personal or other non-commercial use. Standard GPL rules apply. The source is built using the avr-gcc toolchain under WinAVR. The project files are main.c and MAKEFILE. Update 3 - I was curious what it would take to move the C project to the Arduino environment. It turned out I was able to just rename main.c to dice3.ino, put it in a folder called dice3, and it built clean! You will need a board manager URL for the ATtiny13. I use this one: https://mcudude.github.io/MicroCore/package_MCUdude_MicroCore_index.json Just add that line to your "File..Preferences..Additional Board Manager URLs" and you're good to go.

Download Model from thingiverse

With this file you will be able to print Electronic Dice with Case with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Electronic Dice with Case.