This is an old revision of the document!


Gameboy

Rizon Teodor Alexandru 1222A

Introduction

The Gameboy Arduino project is an exciting handheld gaming device that combines classic gaming nostalgia with modern Arduino technology. It features a vibrant 1.44" TFT LCD display, a buzzer for audio feedback, and three buttons for intuitive control.

General Description

With its compact size and sleek design, the Gameboy Arduino project offers a portable gaming experience. The menu system, displayed on the crisp TFT LCD screen, allows users to easily navigate through various options and settings. You can effortlessly scroll through the menu using the three buttons, making it simple to select games, adjust preferences, and explore additional features. One of the standout features of this project is the inclusion of a Pong game. This classic game is brought to life on the 1.44" TFT LCD display, providing a visually engaging experience. Using the buttons, players can control the paddle and try to outmaneuver the AI opponent. The integrated buzzer adds an immersive element by providing audio feedback for various game events and actions. The combination of the 1.44" TFT LCD display, buzzer, and buttons enhances the overall gaming experience of the Gameboy Arduino project. The colorful visuals on the display, accompanied by sound effects from the buzzer, create an engaging and interactive environment for players.

Electrical diagram

Hardware Design

Components

  • MQ-3 sensor
  • Arduino UNO board
  • Buzzer
  • Button
  • LCD display with I2C module
  • Breadboard

Physical Project

Software Design

Libraries used
  • <Wire.h>
  • <LiquidCrystal_I2C.h>
Funcții implementate:
  • void setup():
    • Declare the pins
    • Initialize the LCD display
    • Display the initial text (“Press the button”)
  • void loop():
    • Verify if the button has been pressed
    • If the button has been pressed the Buzzer starts and makes a noise every second for 5 seconds
    • The LCD displays that the sensor is reading
    • After 5 seconds the buzzer stops
    • The code computes the average value read by the sensor
    • The condition blocks inside the code verify the value and display the appropriate message
Code for the project

Conclusions

It has been a fun experience learning how to create an Alcohol tester. I believe that this device can be later used if needed. My knowledge regarding the Arduino technology has definitely improved.

Journal

  • 01.05.2023 - Initial Documentation
  • 03.05.2023 - Ordered the needed parts
  • 10.05.2023 - Started testing the sensor
  • 28.05.2023 - Finished the project

Resources

pm/prj2023/avaduva/gameboy.1685314704.txt.gz · Last modified: 2023/05/29 01:58 by teodor.rizon
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0