ESPBOY - ESP12E BASED GAMING CONSOLE

by EDISON SCIENCE CORNER in Circuits > Electronics

2208 Views, 16 Favorites, 0 Comments

ESPBOY - ESP12E BASED GAMING CONSOLE

1660482934240-01.jpg

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

IMG_20220716_110423.jpg
1660535569106-01.jpg
  • 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

PROTOTYPE

IMG_20220716_170411.jpg

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.

CIRCUIT DIAGRAM

Schematic_esp boy_2022-08-14.png

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

PCB DESIGNING

PCB_PCB_esp boy_2022-08-17 (1).png
PCB_PCB_esp boy_2022-08-17.png

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.

PCB FABRICATION

Screenshot (119).png
Screenshot (118).png

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.

PCBS

IMG_20220709_202103.jpg
IMG_20220709_202015.jpg
IMG_20220709_202120.jpg
1660535503179-01.jpg

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

COMPONENTS SOLDERING

IMG_20220709_231433.jpg
IMG_20220709_234229.jpg
IMG_20220709_234628.jpg
IMG_20220716_171343.jpg

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.


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

FINISHING

FIA44BPL6W75EUO.jpg

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.

UPDATIONS

DIY Gaming Console Using esp8266 | ESP BOY | JLCPCB

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.