ElectroQuest
ElectroQuest: The Ultimate Electronics Learning Game is an innovative educational tool designed to enhance students' understanding of electronic components through interactive gameplay. This Arduino Mega-based game integrates real hardware components installed on a wooden board, with each component represented by an LED. Using a pointer, students are tasked with identifying specific components as prompted by a 20x4 LCD display. Correct identification results in the corresponding LED lighting up and the component's name being displayed. The game features a 2-minute timer for each question, ensuring a dynamic and engaging learning experience. Future integrations include a buzzer for audio feedback and a speaker to pronounce the component names, further enriching the learning experience. ElectroQuest offers a hands-on approach to electronics education, making it ideal for classrooms, STEM clubs, and individual learners.
Objective
The primary goal of ElectroQuest is to provide a fun and interactive way for students to learn about electronic components. The game aims to:
- Enhance students' knowledge of electronics.
- Improve their ability to recognize and name various components.
- Provide immediate feedback to reinforce learning.
- Offer a hands-on learning experience that makes complex concepts more accessible.
How It Works
- Setup: All components are installed on a wooden board, each represented by an LED. The pointer, connected to the Arduino Mega, is used by students to interact with the components.
- Gameplay:
- The game begins by displaying an instruction on the 20x4 LCD, asking the student to point to a specific component.
- The student uses the pointer to touch the pin corresponding to the instructed component.
- Interaction:
- If the student points to the correct component:
- The corresponding LED lights up.
- The component's name is displayed on the LCD.
- A correct answer tone will sound (future integration).
- The timer stops, and the game moves to the next question.
- If the student points to the wrong component:
- A wrong answer tone will sound (future integration).
- The student is prompted to try again.
- Timer: Each question has a time limit of 2 minutes. If the time runs out, the game moves to the next component, and the timer is reset.
Supplies
Components Used
- Arduino Mega: The main controller for the game.
- 20x4 LCD Display with I2C Module: Displays the component names and game instructions.
- LEDs: Represent each electronic component.
- Pointer: Used by students to select components on the board.
- Buzzer (Future Integration): Provides audio feedback for correct and incorrect answers.
- Speaker (Future Integration): Pronounces the names of the components to the students.
Tools
- screws
- multimeter
- glue gun and sicks
Electronic Components Represented
- Small passive buzzer
- 2-color LED module
- Hit sensor module
- Vibration switch module
- Photo resistor module
- Key switch module
- Tilt switch module
- Infrared sensor module
- 3-color LED module
- Tilt open optical module
- Active buzzer module
- Temperature sensor
- Mini magnetic reed module
- Hall effect magnetic sensor
- Infrared sensor receiver
- Class Bihor magnetic sensor
- Magic light cup
- Rotary encoder
- Optical broken module
- Heartbeat detection module
- Reed module
- Obstacle avoidance sensor
- Hunt sensor module
- Microphone sound sensor
- Laser module
- 5V relay module
- Linear magnetic Hall sensor
- Flame sensor
- Sensitive microphone sensor
- Temperature and humidity sensor, etc.
Preparing the Wooden Board
- Mark the Board:
- Begin by marking locations on the wooden board for each electronic component, its corresponding LED, and a screw where the pointer will make contact.
- Ensure that the layout is organized, with even spacing between components, LEDs, and screws.
- Drill Holes for LEDs and Screws:
- LED Holes: Drill small holes for each LED, making sure they are snug enough to hold the LEDs with only the bulb exposed.
- Screw Holes: Next to each component and LED, drill holes to insert screws. These screws will serve as the contact points for the pointer (connected to the Arduino), allowing the player to interact with the game.
- Install the LEDs and Screws:
- LEDs: Insert each LED through its respective hole, ensuring the positive (long) lead is correctly oriented for wiring. The LEDs will light up when the student selects the correct component.
- Screws: Insert screws into the pre-drilled holes, securing them tightly. These screws will serve as the target for the pointer tool. When the pointer touches the screw, it will signal the Arduino to check the student's answer.
Wiring the LEDs and Screws
- Connect the LEDs:
- Ground Connections (GND): First, connect the negative (short) leads of all the LEDs together in a chain (common ground). You can do this by soldering wires to each LED’s negative terminal and connecting them to a single wire.
- Arduino Ground (GND): Take the midpoint of the common ground wire and connect it to one of the GND pins on the Arduino.
- Connect the LED Positive Leads:
- Individual Connections to Arduino Pins: For each LED, connect the positive (long) lead to an individual digital pin on the Arduino. This will allow the Arduino to control each LED independently.
- For example, if you have 10 LEDs, connect them to pins like 2, 3, 4, 5, etc. on the Arduino.
- Connect the Screws to Arduino Pins:
- Attach wires to each screw on the wooden board and connect them to individual pins on the Arduino. These screws will act as the contact points for the pointer.
- When the pointer touches the screw, it completes the circuit, allowing the Arduino to register which component the student is pointing to.
Attaching the Components to the Board
Prepare the Components:
- Gather all the electronic components (like resistors, capacitors, transistors, etc.) that will be represented in the game.
- Make sure each component is clean and dry, ready for mounting.
Position the Components:
- Place each component next to its corresponding LED and screw on the wooden board. Ensure they are properly aligned so that the player can easily identify them.
- The components should be arranged in a clear and organized manner for easy access during gameplay.
Secure the Components with a Glue Gun:
- Use a glue gun to secure each component to the wooden board.
- Apply a small amount of glue to the back of each component and press it firmly onto the board until it sticks securely.
- Be careful not to get glue on the LED or screw connections to avoid interfering with the electrical contact.
Let the Glue Dry:
- Allow the glue to dry for a few minutes. Check to ensure that all the components are firmly attached and won’t shift during use.
Uploading the Code to the Arduino
Prepare the Arduino IDE:
- Connect your Arduino Mega to your computer using a USB cable.
- Open the Arduino IDE (make sure you have the necessary libraries installed, such as the LiquidCrystal_I2C library for the LCD display).
Load the Code:
- Copy the the code that controls the game (the code is provided in this instructables ).
- Ensure that all pin assignments in the code match the actual connections on your board (LEDs, screws, and LCD).
Select the Correct Board and Port:
- In the Tools menu of the Arduino IDE, make sure the Board is set to Arduino Mega
- Under Port, select the port to which your Arduino is connected.
Upload the Code:
- Click the Upload button (the right arrow icon) in the Arduino IDE to upload the code to the Arduino.
- The IDE will compile the code and upload it to the board. Once uploaded, your game will be ready to run.
Verify the Functionality:
- Once the upload is complete, test the system by using the pointer to select the components.
- The corresponding LED should light up when the pointer touches the correct screw, and the LCD should display the component name.