Introduction: Pocket Flappy Bird Game Machine

This is a nodemcu esp8266 microcontroller based gaming console that can play flappy bird and many other games.This machine can also be used to make deauther based on spacehuhns code at https://github.com/SpacehuhnTech/esp8266_deauther .

Supplies

The requirements for this project are :

1.Nodemcu Esp8266 Development board

2.0.96 inch i2c oled screen

3.Push Button

4.Copper clad pcb

5.Faber Castell permanent marker

6.Solder wire and iron

7.Jumper wire (if pcb not made)

8.Smartphone battery

9.Ferric Chloride

10.male headers

11.micro usb for uploading files

Step 1: Solder All the Components on PCB

Prepare the pcb by using permanent markers to draw the traces.

Toner transfer can also be used on the copper clad pcb and using ferric chloride to etch the pcb.

Drill all the holes for the headers solder all the headers on the pcb along with all the push buttons.

Step 2: Make Connections As Per Schematic

Make all connections as in the schematic provided.

In this design the buttons are connected without pull up resisters because the internal pull up is used in code .

Prepare the smartphone battery by connecting female battery connector wire.

You can charge the battery with Tp4056 battery charger (take all cautions when handeling lipo batteries).

Smartphone battery can be used without external protection board because it has one internally.

Use breadboard and jumper wires to make connections in case pcb is not to be used.

Step 3: Setup the Computer

Make sure PC is setup.

Download latest Arduino IDE from www.arduino.cc download SSD1306 Adafruit library https://github.com/adafruit/Adafruit_SSD1306.

Open file>preferences paste "https://arduino.esp8266.com/stable/package_esp8266com_index.json" in additional board manager URLs.

Open tools>boards>boards manager search esp8266 and install board manager files by clicking install.

Step 4: Download the Codes

Download the files below for code.

Put all the 3 files in a single new folder.

Open the "32igra.ino" file in Arduino IDE and publish code to Nodemcu select the setting as given in the image.

Step 5: Enjoy the Game

Enjoy the game flappy bird

Pocket-Sized Speed Challenge

Participated in the
Pocket-Sized Speed Challenge