Marble Maze

by jafo3802 in Circuits > Arduino

302 Views, 2 Favorites, 0 Comments

Marble Maze

DSC_8988.JPG

Our final project will involve creating a marble maze that is controlled by two servo motors to tilt the maze in the x and y axis, allowing the user to roll the marble in their desired direction. The movements of the maze will be controlled by an accelerometer in a hand-held controller that mirrors the user's hand movements when they tilt it back and forth. This creates a unique interactive experience that tests one's hand-eye coordination.

The first step in our project is to design and construct the maze. We plan to create a custom maze using a 3D printer, which will allow us to easily customize the maze design and make it as complex as we want. The maze will be designed with a tilt mechanism that will allow it to be moved in the x and y axis using the servo motors. We will also incorporate an accelerometer into the hand-held controller to track the user's hand movements and adjust the position of the maze accordingly.

The servo motors will be connected to the Arduino board, which will control their movement. In addition to the Arduino elements, we also used wood and laser cutting to create the outer structure of the maze. We designed the maze walls using Adobe Illustrator and then laser cut them out of plywood to ensure precision and accuracy. The wood walls were then assembled to create the outer frame of the maze, which gives it a sleek and professional appearance. The use of laser cutting and wood adds a tactile element to the project, allowing users to feel and interact with the maze physically. This also adds an element of durability to the maze, ensuring that it can withstand frequent use. Overall, the combination of electronics and physical design elements creates an immersive and engaging experience for users.

Overall, our marble maze project is an exciting challenge that will test our skills in electronics, programming, and 3D design. We believe that the interactive nature of the project will make it an engaging and enjoyable experience for users of all ages. By incorporating a variety of Arduino elements, we hope to create a maze that is not only challenging to solve but also visually appealing and entertaining to play.


This Project is made by Lila Anson, Jason Fontillas, and Tomas Garcia.

Supplies

  • Arduino Uno Microcontroller
  • 3D Printer + PLA
  • Plywood + Laser Cutting Machine
  • (x2) Metal Dowel
  • Circuit Wires + Male/Female Wire + Solid Core Wire
  • Soldering Iron + Solder
  • Protoboard
  • Wood Glue
  • Hot Glue Gun
  • LCD1602 Module
  • HiLetgo GY-521 MPU-6050 3 Axis Accelerometer Gyroscope Module
  • (2x) Servos
  • Photoresistor
  • Potentiometer
  • Black Fabric
  • Momentary Push Button
  • 12mm Marble
  • Elastic Strap + Sewing Machine

Design Processing

F31DD490-6DB2-44CB-A099-C3AC1AEF400B_1_105_c.jpeg
IMG_1614.jpg
IMG_1616.jpeg
image.jpg

To begin our project, we first sketched out the desired look and dimensions for both our parts and enclosure. This allowed us to have a clear visual of what we wanted to create before moving forward with the design process.


Once we had our sketches in place, we began creating the schematic for the project. This schematic served as a blueprint for all of the connections we needed to make on the protoboard. It was crucial to ensure that all of the connections would fit properly on the power source before continuing with our design.


By taking the time to plan and visualize our project before diving into the design process, we were able to ensure that everything was aligned properly and would fit together seamlessly. This allowed us to avoid potential mistakes and ultimately create a successful final product.

3D Printing of Maze

maze1.png
maze2.png
IMG_4967.jpg

The maze is a 6-inch by 6-inch design that was created using Fusion 360. The maze has a depth of one inch and was designed to be both intricate and entertaining. One of the key features of the maze is the inclusion of the CU Boulder ATLAS Logo, which serves as the finish line at the center of the maze. Additionally, the maze has various traps that are designed to appear large enough for the marble to pass through but are actually too small, creating an added challenge for the user. Another feature of the maze is a divot that can sometimes cause the marble to get stuck and slow down the user's progress.


When designing a maze, it is important to create something that is both engaging and challenging for the user. To achieve this, it is recommended to first brainstorm ideas on paper and then begin the design process using a software tool such as Fusion 360. Once the design is complete, the file can be exported and converted into an STL file for printing on a 3D printer.


In this case, the STL file was printed on an Ender 3 Pro, which is a popular 3D printer model known for its affordability and ease of use. By utilizing a 3D printer, the maze was able to be printed with high precision and accuracy, ensuring that all of the intricate details and features were captured in the final product.


Overall, the creation of this maze required careful planning, attention to detail, and skillful use of software and hardware tools. The resulting product is a fun and challenging maze that is sure to provide hours of entertainment for its users.

Electronic Components

CC5A1A96-F045-4702-A0C6-B7E40838AF4C_1_105_c.jpeg
IMG_5622.jpg
70483846562__33D0A6F5-FBB8-4213-9016-E6FC633327F2.jpg
4CE6827D-2D3D-4B42-8541-41105CCE671D_1_105_c.jpeg
IMG_4964.jpg
D85A5088-BF90-44E1-9315-C11425EB425D_1_105_c.jpeg

Once we had our Fritzing schematic finalized, we moved on to prototyping our project on a breadboard. This allowed us to physically test out the connections and ensure that everything was working properly before moving on to the next stage. By using a breadboard, we were able to easily make changes and adjustments to the circuit without the need for soldering.


After testing on the breadboard, we then transferred our circuit to a protoboard. This allowed us to create a more permanent solution and ensure that all connections were secure. We carefully followed our schematic and made all necessary connections on the protoboard. Once everything was in place, we were able to test the circuit once more to confirm that everything was working as expected.


Link to GItHub Repository for the code. https://github.com/jafo3802/Marble-Maze

Downloads

Laser Cutting the Enclosure

Screenshot 2023-05-06 at 6.45.59 PM.png
Screenshot 2023-05-06 at 6.46.18 PM.png
7FCA0640-4B08-4234-8C84-A5F175D0B0EC_1_105_c.jpeg
7FCA0640-4B08-4234-8C84-A5F175D0B0EC_1_105_c.jpeg
F1038181-A8C6-41ED-B489-FA8A363BCADD_1_105_c.jpeg

For the enclosure of the maze, it consisted of a box made of 1 inch by 6.7 inch rectangles sing the wood glue to connect them. The base of the enclosure measures 8 inches by 7 inches, with "teeth" along the smaller side to create a stronger support for the side panels. The large triangles cut to be 7 inches at base and 8 inches tall will attach to the base using those teeth and wood glue.

Final Demonstration

Marble Madness Demo Video

The end result is a fully-functional and engaging marble maze that not only tests hand-eye coordination but also incorporates a range of technical skills. We are excited to showcase the final product and have created a demo video to share with others. This video highlights the maze in action, demonstrating the various features and functions that we have implemented. We hope that our project inspires others!