SUPER BALL _LABERINTO-TESJI-IMCT

by Anel Meca in Circuits > Arduino

49 Views, 1 Favorites, 0 Comments

SUPER BALL _LABERINTO-TESJI-IMCT

WhatsApp Image 2024-06-10 at 8.37.51 PM.jpeg

This project consists of the development of an interactive maze game using an Arduino board, C++ programming, a breadboard and servomotors. The purpose of the project is to offer an educational tool that allows users to learn basic principles of programming and electronics in a didactic and entertaining way.


Background

The use of development platforms such as Arduino has revolutionized the teaching of electronics and programming. Traditionally, these topics were taught in a theoretical way, which was less attractive to students. With the rise of microcontrollers and interactive programming, new educational methods have been developed that combine theory and practice.


Justification

This project is justified by the need to find more effective and attractive educational methods to teach programming and electronics concepts. The construction and programming of an interactive maze allows students to apply theoretical knowledge in a practical context, encouraging active learning and problem-solving.


Project Delimitation

The project will focus on the design and construction of a labyrinth that can be controlled by a joystick and servomotors. An Arduino board will be used to manage the game's logic and user interaction. The project is limited to the use of accessible and low-cost basic components to ensure their replicability in educational environments.


Project Content

Problem

Teaching programming and electronics often lacks interactivity and practical application, which can demotivate students and make learning difficult. This project addresses this problem by offering a practical and playful platform for learning.

Methodology

Labyrinth Design: Construction of a movable platform that can be tilted in different directions.

Hardware Implementation: Configuration of the servomotors and the joystick on a breadboard connected to the Arduino.

C++ programming: Development of code to control servo motors according to joystick inputs.

Testing and Adjustments: Performing tests to ensure proper operation of the system and adjusting parameters as needed.


Expected Results

Users are expected to be able to control the tilt of the maze platform via a joystick, moving a ball from the starting point to the final target.

Expected results :

Understanding of the basic concepts of programming in C++ and its application in Arduino.

Ability to configure and operate servo motors and other electronic components.

Development of problem-solving and critical thinking skills through the construction and debugging of the project.

Conclusion

The development of this interactive maze game provides an effective and engaging way to teach programming and electronics. At the end of the project, participants will have acquired practical and theoretical knowledge that will be useful in future educational and professional experiences.



Supplies

WhatsApp Image 2024-06-10 at 8.37.48 PM.jpeg
WhatsApp Image 2024-06-12 at 8.19.27 PM.jpeg
WhatsApp Image 2024-06-12 at 8.19.28 PM.jpeg
WhatsApp Image 2024-06-12 at 8.19.35 PM.jpeg
WhatsApp Image 2024-06-12 at 8.19.43 PM.jpeg
WhatsApp Image 2024-06-12 at 8.20.14 PM.jpeg
WhatsApp Image 2024-06-12 at 8.20.29 PM.jpeg
  • Arduino board
  • Analog Joystik
  • Connection cables
  • Protoboard
  • Lipo battery
  • Servomotors
  • Labyrinth Plate
  • laptop
  • Arduino cable
  • Cardboard tube
  • Cardboard plate
  • Silicone

WhatsApp Image 2024-06-10 at 8.37.51 PM (4).jpeg
WhatsApp Image 2024-06-10 at 8.37.51 PM (3).jpeg
WhatsApp Image 2024-06-10 at 8.37.51 PM (1).jpeg
WhatsApp Image 2024-06-10 at 8.37.52 PM.jpeg
WhatsApp Image 2024-06-10 at 8.37.52 PM (1).jpeg
WhatsApp Image 2024-06-12 at 8.42.24 PM.jpeg

Below are the detailed steps to perform an interactive maze game with Arduino using a breadboard and servomotors:


1. Labyrinth Design

Design the maze.

Construction: Use the cardboard tube and cardboard plate to build the maze platform ensuring that the base is stable and can be tilted.

2. Collection of Materials

Arduino Uno 

Arduino Cable 

lipo batteryBreadboard

Servo motors (at least two)

Analog joystick

Connection cables

 labyrinth

silicone for mounting servo motors

3. Hardware Configuration

Labyrinth Assembly: Attach the labyrinth platform to the servo motors so that it can be tilted in the X and Y axes.

Servo Motor Connection: Connect the servo motors to the Arduino PWM pins. For example, pins 9 and 10.

Joystick Connection: Connect the X and Y pins of the joystick to the Arduino analog inputs (A0 and A1). Also connect the power supply (5V and GND).

4. C++ Programming

Code Initialization: Declare the necessary libraries and define the pins in the code.

Joystick Reading: Write a function to read the analog values of the joystick and map them to the angles of the servo motors.

Servo Motor Control: Implement the logic to move the servo motors according to the input of the joystick.

5. Final Assembly

Platform Assembly: Secure the labyrinth platform to the servo motors, verifying that the tilting movements are smooth and controlled.

Component Connection: Connect all the components (servomotors, joystick, Arduino) on the breadboard according to the circuit design.

6. Testing and Adjustments

Initial Testing: Perform initial testing to ensure that servo motors respond correctly to joystick inputs.

Physical Adjustments: Adjust the attachment of the platform and servo motors if necessary to improve accuracy and movement.

Code Debugging: Correct any errors in the code and adjust the parameters for smoother and more precise control (servo steering angles).


By following these steps, an interactive maze game can be created with Arduino, providing an excellent opportunity to learn about programming, electronics, and mechanics in a practical and fun way. This project is not only educational but also an entertaining way to apply technical knowledge in a real context.


Downloads