Cov txheej txheem:

Pocket Flappy Bird Game Machine: 5 Kauj Ruam
Pocket Flappy Bird Game Machine: 5 Kauj Ruam

Video: Pocket Flappy Bird Game Machine: 5 Kauj Ruam

Video: Pocket Flappy Bird Game Machine: 5 Kauj Ruam
Video: How To Create Flappy Bird In Scratch In Under 1 Minute! 2024, Hlis ntuj nqeg
Anonim
Hnab tshos Flappy Bird Game Machine
Hnab tshos Flappy Bird Game Machine
Hnab tshos Flappy Bird Game Machine
Hnab tshos Flappy Bird Game Machine

Qhov no yog nodemcu esp8266 microcontroller based gaming console uas tuaj yeem ua si flappy noog thiab ntau lwm yam game. Qhov tshuab no tseem tuaj yeem siv ua kom deauther raws li spacehuhns code ntawm

Khoom siv

Cov tseev kom muaj rau txoj haujlwm no yog:

1. Nodemcu Esp8266 Pawg thawj coj loj

2.0.96 nti i2c oled screen

3. Kev khawm

4. Copper clad pcb

5. Faber Castell tus cim ruaj khov

6. Solder hlau thiab hlau

7. Jumper hlau (yog pcb tsis ua)

8. Smartphone roj teeb

9. Ferric Chloride

10. tus txiv neej headers

11.micro usb rau xa cov ntawv

Kauj Ruam 1: Muab Tshuaj Txhuam Txhuas Txhuas Txhuas ntawm PCB

Solder Txhua Cheebtsam ntawm PCB
Solder Txhua Cheebtsam ntawm PCB
Solder Txhua Cheebtsam ntawm PCB
Solder Txhua Cheebtsam ntawm PCB
Solder Txhua Cheebtsam ntawm PCB
Solder Txhua Cheebtsam ntawm PCB

Npaj pcb los ntawm kev siv cov cim cim tas mus li los kos cov cim.

Kev hloov pauv Toner kuj tseem tuaj yeem siv rau ntawm tooj liab clad pcb thiab siv ferric chloride txhawm rau txhawm rau pcb.

Laum txhua qhov rau lub taub hau laug tag nrho lub taub hau ntawm pcb nrog rau txhua lub laub khawm.

Kauj Ruam 2: Ua Kev Sib Txuas Raws Li Schematic

Ua Kev Sib Txuas Raws Li Schematic
Ua Kev Sib Txuas Raws Li Schematic

Ua txhua qhov kev sib txuas zoo li hauv cov phiaj xwm tau muab.

Hauv qhov kev tsim qauv no cov nyees khawm tau txuas nrog yam tsis tau rub cov neeg tawm tsam vim tias rub sab hauv tau siv hauv cov cai.

Npaj lub roj teeb smartphone los ntawm kev txuas cov poj niam lub roj teeb txuas hlau.

Koj tuaj yeem them lub roj teeb nrog Tp4056 lub roj teeb them (ua txhua yam ceev faj thaum siv cov roj teeb lipo).

Roj teeb Smartphone tuaj yeem siv tau yam tsis muaj kev tiv thaiv sab nrauv vim nws muaj ib qho sab hauv.

Siv cov ntawv ci thiab cov hlua txuas los ua kev sib txuas hauv rooj plaub pcb tsis siv.

Kauj ruam 3: Teeb lub Computer

Teeb lub Computer
Teeb lub Computer
Teeb lub Computer
Teeb lub Computer
Teeb lub Computer
Teeb lub Computer
Teeb lub Computer
Teeb lub Computer

Nco ntsoov tias PC tau teeb tsa.

Rub tawm Arduino IDE kawg los ntawm www.arduino.cc download SSD1306 Adafruit lub tsev qiv ntawv

Qhib cov ntawv> nyiam muab tshuaj txhuam "https://arduino.esp8266.com/stable/package_esp8266com_index.json" ntxiv rau tus thawj tswj hwm URLs.

Qhib cov cuab yeej> pawg thawj coj> pawg thawj coj saib xyuas esp8266 thiab teeb tsa pawg thawj coj saib xyuas cov ntaub ntawv los ntawm nyem rau nruab.

Kauj ruam 4: Rub tawm Cov Cai

Rub tawm Cov Cai
Rub tawm Cov Cai

Rub cov ntawv hauv qab no rau cov cai.

Muab tag nrho 3 cov ntaub ntawv tso rau hauv ib daim ntawv tshiab

Qhib "32igra.ino" cov ntaub ntawv hauv Arduino IDE thiab tshaj tawm cov cai rau Nodemcu xaiv qhov teeb tsa raws li muab hauv daim duab.

Kauj ruam 5: Txaus siab rau Game

Txaus siab rau Game
Txaus siab rau Game
Txaus siab rau Game
Txaus siab rau Game
Txaus siab rau Game
Txaus siab rau Game

Txaus siab rau qhov kev ua si flappy noog

Pom zoo: