Steel Ball Run Maze With Illusions
by Ddhamani123 in Living > Toys & Games
203 Views, 0 Favorites, 0 Comments
Steel Ball Run Maze With Illusions
If you clicked on this Instructable thinking this is a Jojo reference, then you are absolutely right. But it actually does not have anything to do with the anime. This is my final project for my Physical Computing class at Boston College. I made a maze ball game controlled by Circuit Playground Bluefruit's accelerometer. The maze design was made entirely by my own imagination. I made this maze taking inspiration from when I went to the Museum of Illusions and entered the mirror maze room (picture attached above for those of you that may not know what I am talking about). This illusion was the basis of my project, to make a maze that is trippy, fun, and hard to complete. In order to achieve that, I used reflective and clear acrylic to create a mirror-like maze, and I used a somewhat dysfunctional servo to create an illusion of an earthquake in the maze so that it is harder to escape the dooms of the illusion.
Supplies
Supplies:
- Reflective Acrylic 1/8th in
- Clear Acrylic 1/8th in
- Blue Acrylic 1/8th in
- Circuit Playground Bluefruit
- Data Cable
- Alligator Clips
- Pin to Pin connectors
- Electrical Tape
- Hot Glue Gun and Glue
- Two Servo motors
- Steel Ball (for the Steel Ball Run)
- M3 bolts and nuts
- Blue PLA
Resources:
- Laser Cutter
- 3D Printer
- TinkerCad
- Adobe Illustrator
Creating the Maze
I modeled my maze ball game to be similar to those found in stores. I researched and found this to be the best representation, so I used a very similar schematic diagram for attaching the supports in order to make the maze move on its x and y-axis.
Adobe Illustrator:
- Create an 8x8 in square and set the color as red (FF0000) and the stroke as 0.01 mm. This will serve as the base
- Create a bunch of walls, which will all have a height of 1 in, but will vary in length, ranging from 1 to 4 in.
- Download the file as .ai
Assembly:
- Laser Cut the base with the reflective acrylic 1/8th in
- Laser Cut the walls with the clear acrylic 1/8th in
- Create the design for the maze, I used my own imagination to make a suitable design
- I also created a hole near the end to make it harder to complete the maze, symbolizing the difficulty and trippyness of the Museum of Illusions
- Hot glue the walls onto the reflective acrylic base.
Create the Frames and Base
Adobe Illustrator:
- Create the frames to be bigger than the base, so that you can place them around the maze
- This will be the frame for the x-axis
- Create a rectangle for the servo to fit in, and create holes in the center on the rest of the sides for the size of the M3 bolts
- Create a frame for the y-axis, which will be the support for the whole maze. Do the same and have a rectangle for the servo to fit in. You can view the .ai file that is attached to see specific dimensions.
- Create a base for the whole structure to stand on, and you may add support if you wish to do so. I did not as I was trying to save materials.
- Place all of them as red (FF0000) and the stroke as 0.01 mm
Assembly:
- Laser cut the frames, support frames, and base of the structure with blue acrylic. The blue color is used to hide the servo since that is blue too.
- First, hot glue the frame separately, with the servo side being opposite to a side with a hole for the screw
- Next, place the frame around the maze, and put the M3 bolt and nut through the holes
- Finally, we hot glue the servo into the hole we made for it, and hot glue the head of the servo onto the walls of the maze.
- This will allow us to control the x-axis of the maze
- Now, place the outside frames on the base we created for the structure, and hot glue them a distance apart from the size of the maze itself.
- Next, use the bolts and nuts to support the maze with the outside frames. Then, you can hot glue the head of the servo to the frame of the maze and hot glue.
- Viola, this is
3D Printed CPB Holder
Tinkercad:
- Create a cylindrical holder with a hole (around 1 inch) for the wires to come out from
- Make the diameter around 5 in
- Make the thickness around 1/4 in
- You can create a lid if you feel like it
- Make the file into an SVG file
- Choose a PLA that fits the theme. I used blue to match the dark blue acrylic.
- Finally, 3D print the SVG file to make the Holder
Assembly:
- Tape the wires all together to make it more compact
- Hot glue the CPB to the holder to make it stationary
Downloads
Code and Electronics
Mu:
- On CircuitPython, create a program that will use the accelerometer and map those inputs to the outputs of the servo. I customized the angles to best serve my own servos and make it harder to complete the maze, but you may choose whatever you please
- Use the simpleio library to use the mapping function. I learned this function from outside my class, so there might be better mapping functions, but this works pretty well for me
Assembly:
- Place the servos' signals to A2 and A3. Place the power wire to VOUT and place the grounds on GND
- Tape all the wires on the CPB to secure them in place
- And finally, enjoy this awesome maze ball game that mimics walking into a mirror maze and having a hard time coming out off