Creating a nostalgic "Flapping Bird" game using the powerful ESP32-C3 microcontroller and a 2-inch IPS display. This project is perfect for combining fun gameplay with hands-on learning in electronics and programming.
ESP32-C3 Board:
The ESP32-C3 is a powerful microcontroller with built-in WiFi and Bluetooth capabilities. It features a RISC-V single-core CPU, making it ideal for IoT projects and advanced applications such as this game.
2-inch IPS Display (240x320 resolution):
The 2-inch IPS display provides a vibrant and clear interface for the game. Its 240x320 resolution ensures that the graphics are crisp and detailed, enhancing the overall gaming experience.
Mini Push Button for Input:
A mini push button is used for player input, allowing the bird to "flap" and navigate through obstacles. The button provides tactile feedback and ensures precise control.
3.7V Li-ion Battery (1500mAh):
The game is powered by a 3.7V Li-ion battery with a capacity of 1500mAh. This provides a portable power solution, allowing you to play the game on the go without being tethered to a power outlet.
3D Printed Case:
A custom 3D printed case houses all the components, providing protection and a professional finish. The case is designed for easy access to the display, buttons, and charging port, ensuring a user-friendly experience.
I carefully soldered the LCD module to the ESP32 board, ensuring secure connections for optimal performance.
Next, I connected the battery wires, mini push button, and sliding switch with 1k ohm resistor, meticulously organizing the wiring to maintain a clean and efficient layout.
I secured the ESP32 to the 3D-printed case using hot glue, ensuring a stable and durable attachment.
Next, I positioned the battery on top of the ESP32, ensuring that the two wires from the push button were accessible for future connections. The LCD screen was then placed above the battery.
I secured the push button to the underside of the LCD's PCB as depicted in the image, then soldered the two wires to the push button.
Secure the 3D-printed case to the main body, ensuring the push button aligns perfectly with the top structure and the screen fits snugly into the frame. Avoid overtightening the case to maintain proper alignment and prevent damage.
Next, connect the Type-C cable to the ESP32 and upload the program to the board. For the code files and comprehensive support, please visit our site. Don’t forget to explore our other exciting projects while you’re there!
I powered on the console and waited for the screen to load. In this game, you push the button to make the yellow bird fly. The objective is to navigate the bird through the gaps between the pillars. The concept is similar to the classic Flappy Bird game.
For a step-by-step guide, you can watch my YouTube video.
Want one for your self...?If you're interested in purchasing the entire project, feel free to reach out to us through our social media handle. We'd be happy to provide you with more information and assist you with your purchase.
Comments
Please log in or sign up to comment.