Make a Conway's Game of Life Display Device With 16 X 16 Cells Using Attiny13a

by SANUKI UDON in Circuits > Arduino

2352 Views, 19 Favorites, 0 Comments

Make a Conway's Game of Life Display Device With 16 X 16 Cells Using Attiny13a

sub_image1494367928658508.gif
ライフゲームを50円マイコンと16×16ドットLEDマトリックスで表示してみました。

I challenged making a Conway's Game of Life at 1 KB using ATtiny13A.It was used to display four MAX7219 LED Dot Matrix Display Modules. In order to display 16×16 Dots I reviewed the sketch and made improvements to make effective use of less memory. I improved the display to random and I was able to keep watching Game of Life. I feel pleasant to see cells that change in Game of Life :-)

Sketch

preferences.png
board.png
clock.png

I wrote in a program at ATtiny13a using Arduino IDE used version 1.82 and MCUdude/MicroCore.
Fuse bit :hFuse = 0xFF, lFuse= 0x7A (interne 9.6 MHz clock)

Circuit & Material

Life of Game16x16.png

Material
1x ATtiny13A
1x Mini breadboard
4x MAX7219 Dot Matrix Module LED Display Module
Module dimensions: length 3.2 cm X 3.2 cm wide X 1.3 cm high
1x Clear case(If there is...)
Module dimensions: length 7.0 cm X 7.0 cm wide X 7.0 cm high
Module Inside dimension: length 6.6 cm X 6.6 cm wide X 6.6 cm high
2x Double 5p male to male 5cm bread line jumper cable
3x 2.54MM Female Header Connector 5P
4x 2.54MM Male Pin Header Connector 5P
10x 2.54mm Single Row Pin Jumper Cap
2× Male Pin Connector
Some jumper wires
Heat Shrink Tube

Jumper Wire

IMG_20170504_204545.jpg

The circuit is very simple:-)

Make a 16 × 16 Dot Matrix

IMG_20170506_193901.jpg
IMG_20170504_215517.jpg
IMG_20170504_215648.jpg
IMG_20170504_215736.jpg

I thought about remodeling and soldered like a photo.

Fasten With Adhesive

IMG_20170506_193951.jpg
IMG_20170506_194050.jpg
IMG_20170506_194824.jpg
IMG_20170506_195050.jpg
IMG_20170506_201231.jpg
IMG_20170506_201338.jpg

Attention is paid to the orientation of the Dot Matrix Module and bond it with a strong adhesive.
Please test before turning on before gluing.

Case Making

IMG_20170507_082846.jpg
IMG_20170507_082931.jpg
IMG_20170507_083059.jpg
IMG_20170507_083204.jpg
IMG_20170507_083246.jpg

Drill a hole according to the thickness of the USB cable.
I drilled a hole using an acrylic drill and a chassis reamer. Cracks are unlikely to occur when removing a drill if a hole is made by pasting wood or sticking cellophane tape. Please rotate the drill at low speed and slowly drill a hole so that no extra force is applied.

USB Cable

IMG_20170504_205637.jpg
IMG_20170504_210055.jpg
IMG_20170504_210252.jpg
IMG_20170504_210530.jpg
IMG_20170504_210756.jpg
IMG_20170506_150159.jpg
IMG_20170506_150449.jpg
IMG_20170506_150713.jpg

Standard USB connector has 4 pins. Red is + 5V, Black is Grant. Check with a tester.Attach the male pin connector to insert it into the mini bread board.
Please attach a Heat Shrink Tube so that the cut face is not short circuited.

Assemble

IMG_20170507_084108.jpg
IMG_20170507_090119.jpg
IMG_20170507_090339.jpg
IMG_20170507_090402.jpg
IMG_20170507_090416.jpg
IMG_20170507_090309.jpg

Pass the USB cable through the hole in the clear case to make a knot.
Incorporate the created parts in the clear case.Finally please insert USB to the power supply.

Have fun :-)