Introduction: How to Make a MAZE GENERATOR Using ATtiny13a.

I made devices using ATtiny 13a to display infinite maze creation and escape routes.In this maze, This MAZE GENERATOR used a very simple "Bo - taoshi" algorithm for maze generation to generate a maze with 1 KB Flash memory.
"Bo - taoshi" algorithm decides pillars at even intervals to create a maze, and makes one wall for each pillar. Likewise, we draw a simple algorithm that draws out escape routes and blocks the roads surrounded by walls on all three sides. When the dot reaches from the upper left to the lower right, the escape route is displayed, so please escape from the maze by then.

Step 1: Sketch

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)

Step 2: Circuit & Material

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

Step 3: Jumper Wire

The circuit is very simple:-)

Step 4: Make a 16 × 16 Dot Matrix

Put the 4 MAX7129 LED MATRIX together as shown in the picture.

Step 5: Fasten With Adhesive

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.

Step 6: Make Cable

Cut out connectors other than TYPE-A.Please cut only the outside cover of the cable and cut it straight. Do not cut the internal wiring.Two power supply wires are necessary. Please insert the USB cable into the power supply, and measure with a tester with care not to short-circuit.I attached a male pin header.

Step 7: Case Making

Determine the position to drill holes in the case.
In order to prevent the case from cracking, paste the cellophane tape.

Step 8: Use a Drill Dedicated to Acrylics.

Drill a hole with acrylic drill only. It is easy to break if it is an ordinary drill.

Step 9: Expand the Hole With a Chassis Reamer.

Please spread out the hole slowly.

Step 10: Pass the Cable Through the Hole in the Case.

Make a knot so that the cable does not come off.

Step 11: Put It in a Case.

It's cool when packed in a transparent case.

Step 12: Done

Please enjoy the maze generating display device :-)

Comments

About This Instructable

737views

15favorites

License:

Bio: Sanuki udon is one of "Japanese taste". it is a food made of noodles of popular wheat in Japan. And my soul food. I'm ... More »
More by SANUKI UDON:How to Make a MAZE GENERATOR Using ATtiny13a.Make a Conway's Game of Life Display Device With 16 X 16 Cells Using Attiny13aHow to Maek Game of Life Using ATtiny13A and Mini Breadboard.
Add instructable to: