Skip to content

Button Freak is a gaming console made using ESP32 Firebeetle C6 and 2.0" display and a single button to navigate around and control the movements.

Notifications You must be signed in to change notification settings

HackHobby-Lab/Button_Freak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Button Freak: ESP32 Game Console

Welcome to the Button Freak project! This is a DIY game console built on the ESP32 FireBeetle, featuring two classic games: Snake and Bouncing Ball. This project demonstrates how to create a simple game console with a retro feel using modern microcontroller technology.

cOVER

Features

• Games: Includes Snake and Bouncing Ball.

• Display: High-quality 320x240 IPS LCD.

• Controls: Single button for gameplay.

• Audio: Buzzer for sound effects.

Materials

Hardware

• ESP32 FireBeetle: The microcontroller used for the project.

• Display: 320x240 IPS LCD.

• Buttons: Single button for controlling the games.

• Buzzer: For sound effects.

• Power Supply: Battery or USB power source.

Software

• Development Environment: Arduino IDE.

• Libraries:

o DFRobot_GDL - For display handling.

Getting Started

Prerequisites

  1. Install the Development Environment:

o Arduino IDE for coding.

o Set up the ESP32 board in your IDE.

  1. Install Required Libraries:

o Install the DFRobot_GDL library through the Library Manager or by downloading it from GitHub.

Wiring

  1. Connect the Display:

o Connect the display to the ESP32 using the provided wiring instructions. Ensure all connections are secure.

  1. Connect the Buttons and Buzzer:

o Connect the buttons and buzzer to the ESP32 according to the circuit diagram provided.

Code

  1. Clone the Repository: bash Copy code
git clone https://github.com/hackhobby-lab/button_freak.git
cd button-freak 
  1. Open the Project:

o Open the project in your Arduino IDE.

  1. Upload the Code:

o Select the correct board and port in your IDE.

o Upload the code to the ESP32.

How It Works

• Main Menu: Navigate through the main menu using the buttons to select between Snake and Bouncing Ball.

• Snake Game: Control the snake using the button, navigate the screen, and avoid collisions to achieve a high score.

• Bouncing Ball: Use the button to control the paddle and bounce the ball to score points.

Menu Mechanics

Troubleshooting

• Display Issues: Check wiring connections and ensure the display library is correctly installed.

• Button Response: Ensure button is wired correctly.

• Sound Problems: Verify buzzer connections and sound.

Customization

• Add More Games: You can extend the project by adding additional games or features.

• Modify Controls: Adjust button mappings or add new control options.

Contribution

Feel free to contribute to the project by submitting issues or pull requests. If you have ideas for improvements or new features, I'd love to hear them!

Tutorials

Find me on Instructables

DfRobot Community

Me on Hackster.io

Contact

For any questions or feedback, please contact me at Email-Outlook or open an issue on GitHub [https://github.com/hackhobby-lab/button_freak.git]. If you have any specific sections or details to add, let me know!

About

Button Freak is a gaming console made using ESP32 Firebeetle C6 and 2.0" display and a single button to navigate around and control the movements.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published