Cov txheej txheem:

DIY Pheej Yig Arduino Gameboy: 5 Kauj Ruam (nrog Duab)
DIY Pheej Yig Arduino Gameboy: 5 Kauj Ruam (nrog Duab)

Video: DIY Pheej Yig Arduino Gameboy: 5 Kauj Ruam (nrog Duab)

Video: DIY Pheej Yig Arduino Gameboy: 5 Kauj Ruam (nrog Duab)
Video: Seev pheej yig ntu 51 tag ki nawb 2024, Kaum ib hlis
Anonim
Image
Image
DIY Pheej Yig Arduino Gameboy
DIY Pheej Yig Arduino Gameboy

Txhua tus neeg tau dhuav thaum taug kev hauv kev mus ncig ntev thiab xav tau qee yam los txhawb lawv !!

Nyeem cov dab neeg tuaj yeem xaiv:/

Tab sis lawv kuj tau txais kev txaus siab tom qab qee lub sijhawm !!

Yog li hauv Phau Ntawv Qhia no kuv yuav qhia koj yuav ua li cas thiaj ua tau lub tshuab ntaus nrig siv Arduino UNO/Nano thiab LCD npo uas tso cai rau koj ua si koj nyiam Flappy Birds game: D: D

Kev tshoov siab:

www.instructables.com/id/Arduino-Flappy-Bird-Game/

Yog li cia pib !!

Kauj Ruam 1: Sau Cov Khoom

Sau cov Cheebtsam !!
Sau cov Cheebtsam !!
Sau cov Cheebtsam !!
Sau cov Cheebtsam !!

Cov Ntaub Ntawv Xav Tau:

1) Arduino UNO/Nano

2) LCD Screen (16x2)

3) Push Button

3) Hloov

4) Roj teeb 9V/Roj Teeb Rov Siv Tau (pom zoo)

5) Pawg Thawj Coj

6) 10k Potentiometer

7) Casing rau cov khoom siv (Kuv siv lub thawv noj su me me)

8) 2 x 220 ohm resistors

9) Qee cov jumper cables

10) Ib tug txiv neej chim jack

Kauj Ruam 2: Txhim Kho Txhua Yam

Txhim Kho Txhua Yam !!
Txhim Kho Txhua Yam !!
Txhim Kho Txhua Yam !!
Txhim Kho Txhua Yam !!
Txhim Kho Txhua Yam !!
Txhim Kho Txhua Yam !!

1) Thawj tus laug lub laub khawm thiab lub lcd ntawm ib daim ntawm perf board.

2) Ua ob qhov hlais ntawm lub rooj tsav tsheb perf rau qhov hloov pauv saum lub laub khawm

3) Txuas cov hlua txuas los ntawm txhua tus pin ntawm lcd

4) Tam sim no ua qhov txuas los ntawm kev siv cov xov hlau raws li hauv qab no:

Rau LCD:

VDD- +5v ntawm Arduino

VSS-GND ntawm Arduino

RW-Pin 12

E-Pin 11

RS-GND

D4-Pin 5

D5-Tus Pin 4

D6-Pin 3

D7- Tus Pin 8

A- +5V nrog 220 ohm resistor

K- GND

V0- Wiper ntawm potentiometer

Rau Push Botton:

Txuas ib lub dav hlau mus rau +5V nrog 220 ohm resistor

Txuas lwm lub davhlau ya nyob twg rau GND

Txuas lub davhlau ya nyob twg nrog 220 ohm resistor rau tus pin 2 ntawm Arduino

Rau Potentiometer:

Cov tswv yim- +5V ntawm Arduino

GND-GND ntawm Arduino

Wiper-V0 tus pin ntawm LCD

Rau Hloov:

Txuas ib lub davhlau ya nyob twg rau Qhov Tsis Zoo ntawm Lub Roj Teeb thiab lwm qhov rau tus txiv neej chim chim

Txuas lub davhlau ya nyob twg zoo ntawm lub roj teeb mus rau lub thoob

Kauj Ruam 3: Upload Arduino Code:

Rub tawm Arduino Code
Rub tawm Arduino Code

Tam sim no qhib Arduino IDE thiab qhib cov kab ntawv txuas nrog cov lus qhia no

Txuas Arduino rau koj lub khoos phis tawj thiab xa cov cai

*Kuaj qhov kev ua si ib zaug tom qab rub cov cai thiab ob zaug txheeb xyuas koj cov kev sib txuas

Kauj Ruam 4: Npaj Casing

Npaj Casing !!
Npaj Casing !!
Npaj Casing !!
Npaj Casing !!
Npaj Casing !!
Npaj Casing !!
Npaj Casing !!
Npaj Casing !!

1) Ua cov txheej txheem ntawm qhov hloov pauv thiab lcd ntawm lub hau ntawm rooj plaub thiab txiav tawm nrog kev pab ntawm rab riam hluav taws xob thiab qee qhov ceev faj.

2) Laum ib lub qhov rau lub laub khawm hauv qab lub qhov rau qhov hloov ntawm lub hau.

3) Tshem tawm qhov sau tsis raug los ntawm tus cwj mem qub thiab txiav tawm me me ntawm nws. Tom qab ntawd kub kua nplaum rau ntawm lub thawb khawm.

4) Txuas lub roj teeb thiab muab tso rau hauv lub thawv nrog Arduino UNO.

5) Muab lub lauj kaub tso nrog cov khoom sib txuas rau nws tom qab lub hau zoo li no kom lub lcd thiab hloov tawm ntawm lawv qhov chaw xaiv.

6) Kaw lub hau thiab tom qab ntawd siv lub pob khawm khawm (Kuv siv ib qho los ntawm lub mloog pob ntseg qub tawg) thiab ua kua nplaum rau ntawm qhov ua kom rov los ntawm lub qhov ua los ntawm lub laub khawm.

Kauj ruam 5: Thiab koj tau ua tiav

Thiab koj ua tau !!
Thiab koj ua tau !!
Thiab koj ua tau !!
Thiab koj ua tau !!

Tam sim no hloov nws thiab pib ua si !!

Nqa nws thaum mus ncig lossis ua si hauv tsev

Tsuas yog nias lub pob nyem kom cawm tus noog kom txhob raug smack: D: D

Pom zoo: