How to Make a Game Console From Old Broken SmartWatch With Usig Esp32-C3, St7789 Tft Display
by DsnIndustries in Circuits > Arduino
55 Views, 0 Favorites, 0 Comments
How to Make a Game Console From Old Broken SmartWatch With Usig Esp32-C3, St7789 Tft Display
Welcome to a new ESP32 project! Today, we are building a tiny, keychain-sized game console by giving new life to parts from an old, broken smartwatch. By recycling unused or broken devices, like the display and lithium battery, you can make a great contribution to nature and reduce the environmental damage caused during production.
This project packs three retro games into one tiny device. If you want to take this project from a handmade prototype to a professional level, this project is sponsored by JLCPCB. You can easily create a professional 6-layer printed circuit board starting at just $2.
Supplies
To keep this game console as small as possible, I used very few, tiny components.
Electronic Components:
- ESP32-C3 Mini (chosen for its ease of use in handmade projects)
- 1.3" IPS panel display (240x240, ST7789) salvaged from an old smartwatch
- Tiny lithium battery salvaged from an old smartwatch
- 3 tactile buttons
- Voltage regulator (I used an AMS1117, but a low-drop regulator like a 662k is highly recommended for better efficiency)
- TP4056 charger board
- 10k resistor
- Assorted capacitors and resistors
- Perfboard
- Thin wires and cables
Tools & Enclosure:
- Breadboard for prototyping
- Soldering iron
- Hot glue gun
- Screws
- 3D Printer https://cults3d.com/en/3d-model/game/diy-tiny-game-console-1-3-st7789-display-esp32-c3
Scavenging the Display
Don't be afraid to break open old devices—you might find something rare and usable!
- Tear down an old smartwatch to extract the 1.3" IPS screen.
- Do a quick internet research to find the driver type and pinout documentation.
- Check the power connections to verify they are correct before proceeding.
Breadboard Prototyping
Before making the handmade hardware, it is important to test everything while the code is developing.
- Prepare a breadboard version of the circuit.
- Follow your schematic to complete the wiring connections for the display, buttons, and ESP32-C3.
Software and Flashing
The software is designed to be easily compilable on the Arduino IDE, and the source code is released on my GitHub page for you to download. https://github.com/derdacavga/Tiny-Game-Console
- Install my custom display library, which is currently under development but fully supports the 1.3" version of the ST7789 display.
- Select the 1.3" display version in the user setup configuration file.
- The script includes three games: Brick Breaker, Snake, and Flappy Bird, all playable with three buttons.
- Select the ESP32C3 Dev Board and the correct COM port in Arduino IDE.
- Click upload! Firmware flashing is easy because we are using the board's built-in USB support.
- Check the screen to ensure everything works correctly before moving on to soldering.
Soldering the Circuit
Once the breadboard prototype works, it's time to make it permanent. Work carefully and use thin wire.
- Prepare the ESP32-C3: Solder a 10k resistor between the Enable pin and 3.3V.
- Voltage Regulator: Solder the voltage output of your regulator to the chip's power input.
- Buttons: Wire one leg of all three buttons together and connect them to common ground. Connect the other leg of each button to its respective GPIO pin.
- Display Connections: Carefully wire the display to the ESP32.
- Quick Tip: Do not connect the backlight directly to the power line, as this will cause the screen to remain always on.
Battery and Charging
Connect the tiny recycled battery to the regular TP4056 charger board.
Crucial Step: You must change the current limiter resistor on the TP4056 board to match the capacity of your tiny smartwatch battery.
When all soldering is done, turn it on to verify it works.
3D Printing and Assembly
- Print the custom case. I designed this in Fusion 360 and printed it on a fast, homemade 3D printer.
- Carefully assemble the electronics into the case. Because the flex cables and thin wires are easily breakable, use hot glue to secure them in place.
- Finish the montage process with a few screws to close up the case.
Your keychain-size game console is now ready to use!