Introduction: ESPBOY - ESP12E BASED GAMING CONSOLE

About: I am an electronics hobbyist and I love to share my works with others

Hello there,

In this tutorial, I will make a gaming console using an esp12e and OLED display. With this console, We can play different types of retro games like snake, space war, duck hunt etc. so let's get started with the tutorial.

Supplies

  • ESP12E/12F
  • 128*64 OLED
  • BUTTON SWITCH*6
  • BUZZER
  • 3.3V AMS1117 REGULATOR
  • 0805 SMD RESISTORS-10K*12
  • 0805 SMD RESISTORS-1.5K*2
  • 0805 SMD RESISTORS-1K*2
  • 0805 SMD RESISTORS-1.2K*1
  • 0805 SMD CAPACITOR-100NF*2
  • TP4056 IC
  • DW01A or FS312F-G
  • FS8205
  • SWITCH*1
  • CUSTOM PCB

Step 1: PROTOTYPE

First, I made a prototype on the breadboard to confirm everything is working. Here I used the nodemcu development board. You can see lots of wires and connections so we can't play games like this.

Step 2: CIRCUIT DIAGRAM

To turn this into a good-looking gaming console I decided to make a PCB. In easyeda, I designed the circuit. The main component or the brain of our console is this ESP 12e board. Then I included the buttons for controlling the OLED display and also included a lithium-ion battery charging circuit. 

Download the circuit diagram from here

Step 3: PCB DESIGNING

After designing the circuit I converted the circuit diagram into PCB. Here I made the PCB like a real game console. So we can use this Console without using any extra support.

After designing the PCB our PCB looks like this. And I downloaded the Gerber file for PCB fabrication.

Step 4: PCB FABRICATION

To fabricate PCBs I went to JLCPCB.com JLCPCB. To order PCBs just click on order now and upload the Gerber file. After uploading we can select the quantity colour thickness etc. Here I choose the black colour and selected the shipping method and finally placed the order.

Step 5: PCBS

After 2 weeks I received the PCBs from JLCPCB. Here are our PCBs. it looks nice and the quality is superb.

Step 6: COMPONENTS SOLDERING

After 2 weeks I received the PCBs from JLCPCB. Here are our PCBs. it looks nice and the quality is superb.

Now let's solder the components to the PCB. Here you can see most of the components are SMD components so I decided to go with the reflow method. So first I dispensed the solder paste using a needle. Then I placed all components one by one. After placing all the small SMD components I placed the PCB on my DIY hotplate. then I heated the hotplate. After finishing that I soldered the type c USB port now it's time to place the esp12e.


Step 7: PROGRAMMING

before placing and soldering the esp12e I uploaded code to esp12e using my esp programmer. After uploading the code to esp12e I soldered the module to PCB then I added the switches for controlling and soldered also added a buzzer for sound. After finishing the soldering Finally, I added the 128*64 OLED display and battery to PCB. And that's it.

Download the circuit diagram from here

Step 8: FINISHING

Now let's turn on the Console and play the game. So the first game is duck hut this code is developed by the Volos project. The game is simple we can move the pointer using the left-right key and we can shoot using the shoot key. Small ducks have higher points than big ducks. A simple but good game. Next is the legendary snake game. No need to explain this.

Step 9: UPDATIONS

Okay, so this is how I made my gaming console we can add more games and menus to this console. I will do that later. So that's all about today hope you enjoyed and learned something from my tutorial. Thanks and happy making.

Microcontroller Contest

Participated in the
Microcontroller Contest