You are here

Arduino Maze game | Best Arduino Projects

Arduino maze game

Today i will show one of new and best Arduino projects, i.e Arduino Maze game from scratch to end, This can be best science project idea or best project for mini engineering and this can be called as Top arduino projects for 2021.

How Arduino Maze game works?

Here the movements of maze board are purely controlled by arduino joystick module, this multi axis module is pretty much similar to joystick control buttons, when the stick is moved up whole maze board moves up, when thumbstick is moved down board moved down similarly controls are for left and right movements

so we will begin to make this exciting arduino project, starting by materials required to make this project

Best arduino projects
arduino maze game materials

Supplies for Arduino maze game

  1. Arduino Uno alternatively Arduino Nano can be used
  2. Joystick module for arduino
  3. Micro servo two pieces
  4. Bread board small version is better which is shown in image which got separate power rails
  5. Jumper wires for making Circuit connections
  6. DC power source
Name of componentBuy in IndiaBuy in USA
Arduino Unohttps://amzn.to/3kbjZL2https://amzn.to/3buKSoW
Micro Servohttps://amzn.to/3uj9fyHhttps://amzn.to/3pF5i3Y
Joystick Modulehttps://amzn.to/2NszMsDhttps://amzn.to/3aHhbCd
Breadboard and jumper wireshttps://amzn.to/3qHY406https://amzn.to/2OPKmu6
Materials list

Disclosure: These are affiliate links. As an Amazon Associate I earn some credits from qualifying purchases.

Once we gather all the above mentioned supplies Circuit can be made, Please refer circuit diagram provided below

Circuit diagram for Arduino game

arduino game circuit diagram
Arduino game circuit diagram

Circuit Diagram Explanation

While many will understanding by simply looking at the diagram but not everyone are pro like others, well this indepth explanation is for begineers!

Joystick module has 4 pins

  1. Gnd will go to negative rail in breadboard
  2. +5v for positive power rail on breadboard
  3. Vrx to A0 pin of Uno
  4. Vry to A1 pin of Uno board

Micro servo connections

  • For easy understanding i renamed servos as servo 1 and servo 2
  • Servo number 1 should be the base servo responsible for forward and backward movements
  • Servo 2 is for right side and left side movements
  • Servos has 3 pins as all know that!
  • Signal pin will be connected to D3 of Uno incase of servo 1, where as servo 2 will go with D5 of Uno, while positive and Gnd should be connected to + and – power rails in Breadboard

Arduino Power supply to breadboard

To distribute power supply to breadboard from Uno connect Gnd pin of Uno to negative power rail of breadboard and +5v Pin to positive power rail in breadboard

Note: You can use other digital pins also, make sure you enter same pin number in Arduino code

Once all the circuit connection is made, Upload the code and test if everything is working fine, here the project wont work from usb power supply from board as a result preferred to use external DC power supply

Code for Arduino Maze Game Project

Once the power is supplied to arduino board slightly move the joystick when u move it upwards servo 1 should respond when u move it left/right servo 2 should make movements, if u have reverse response try changing pins of servos, Once components are working perfectly frame is necessary to put all these up

Building Maze

Maze board game building
Maze board game building

To build maze i use few pieces of cardboard and paper, its very easy to make

  • Draw Circle on a sheet of paper
  • Draw mazes as per your requirements
  • More the maze more tough the game will be
  • Circular piece of cardboard as per paper size
  • Stick maze drawn on paper to cardboard
  • Allow it to dry, Meanwhile cut strips of cardboard and color it accordingly
  • Cut and colored strips are sticked on lines of maze
  • I used superglue to stick those strips
  • Once Dry we can move further

Finishing Arduino game project

top arduino project
Top Arduino project making
  • To make base support i used MDF Wood as it has space to fit in all my electronic components
  • Place all the components and attach to board using double sided tape
  • To elevate height of micro servo i used recycled wheels from old RC Car
  • Using hot glue stick micro servo on top of wheel
  • Since shaft of servo is small i enlarged same with popsicle stick so that it can support entire maze board
  • Please follow steps as shown in image for servo attachments
  • Hot glue center part of Maze board and attach to servo
  • Refer images for any confusions
  • Once this is complete arduino maze project is ready to roll

How To play Arduino maze game

  • Power arduino uno using 6v dc adapter
  • Place small ball on maze board
  • using joystick move this ball to center of board
  • Best idea for party games
  • whoever reaches to middle first will be winner of game

Video Link for Best arduino projects

Click here for Arduino maze game project working and video tutorial

This was all about arduino game project this is for sure one of the best arduino projects and if you are looking for any science project or mini engineering or for hobby weekend project ideas this can be the one

Like usual if you have any queries regarding this arduino game project or any suggestion for improvements let me know in the comments box below, also check out my other best arduino projects on my previous posts, Thank you and have a good day.

Jeevan
ADMIN

Leave a Reply

Top