Cov txheej txheem:

Khawm Hero - Sumedh & Jeanelle (neeg hlau): 5 Kauj Ruam
Khawm Hero - Sumedh & Jeanelle (neeg hlau): 5 Kauj Ruam

Video: Khawm Hero - Sumedh & Jeanelle (neeg hlau): 5 Kauj Ruam

Video: Khawm Hero - Sumedh & Jeanelle (neeg hlau): 5 Kauj Ruam
Video: Aap Jaisa Koi (Video) An Action Hero | Ayushmann Khurrana, Malaika | Tanishk, Zahrah S K, Altamash F 2024, Kaum ib hlis
Anonim
Khawm Hero - Sumedh & Jeanelle (neeg hlau)
Khawm Hero - Sumedh & Jeanelle (neeg hlau)

Txais tos rau cov lus qhia rau kev ua si khawm Hero! Qhov kev ua si no yog qhov hloov pauv ntawm game Guitar Hero. Hauv qhov kev tsim kho no peb (kuv tus khub thiab kuv) yuav qhia nrog koj li cas peb tau tsim txoj haujlwm no ob qho tib si ntawm lub khob cij thiab los ntawm kev siv cov laug.

Kauj Ruam 1: Kauj Ruam 1 - Sau Cov Khoom

Kauj Ruam 1 - Sau Cov Khoom
Kauj Ruam 1 - Sau Cov Khoom

Thawj kauj ruam hauv ib qhov haujlwm twg yog sau cov ntaub ntawv xav tau los ua kom tiav txoj haujlwm.

Cov ntaub ntawv rau khawm Hero yog raws li hauv qab no:

- 4 cov nyees khawm (nyiam dua cov xim sib txawv)

- 4 LEDs (nyiam dua cov xim sib txawv)

- 8 xov hlau luv

- 1 Arduino microprocessor

- 48 8.2k ohm resistor

- 4 100 ohm resistor

- 10 kab

Kauj Ruam 2: Kauj Ruam 2: Txhim Kho Cov Qauv ntawm daim Breadboard

Kauj Ruam 2: Txhim Kho Txoj Kev Tsim Qauv ntawm Breadboard
Kauj Ruam 2: Txhim Kho Txoj Kev Tsim Qauv ntawm Breadboard

Siv Schematic tsim cov qauv hluav taws xob hauv daim ntawv cog lus. Siv cov ntaub ntawv uas tau teev tseg ntawm cov kauj ruam perviosu. Nco ntsoov ua raws skematic raws nraim. Ib qho ntawm thaj chaw uas kuv pab neeg messedup rau yog tias peb tsis nco qab qhov txuas tag nrho cov Circuit Court ack rau hauv av.

Kauj Ruam 3: Kauj Ruam 3: Txoj Cai

Qhov thib ob ntawm kev tsim cov qauv yog coding.

Ib tus yuav tsum tau ua raws txoj cai uas txaus siab rau pseudo-code hauv qab no:

1. taws teeb Random teeb

2. suav tus naj npawb ntawm cov hits raug

3. suav tus naj npawb ntawm cov hits tsis raug

4. nce qib ntawm cov qhab nia

Kauj Ruam 4: Kauj Ruam 4: Tshem txhua yam rau hauv Circuit Board

Nco qab thaum peb tsim lub Circuit Court ntawm lub rooj noj mov?

Tsiv txhua yam los ntawm daim ntawv qhia zaub mov mus rau lub rooj tsav xwm ntsuab ntsuab raws nraim li cas nws nyob ntawm lub khob cij.

NCO NTSOOV: Cov khoom siv yuav tsum tau muab tso rau hauv txoj hauj lwm tseeb raws li ntawm lub khob cij.

Kauj Ruam 5: Kauj Ruam 5: Muab txhua yam tso rau hauv Circuit Board thiab txuas txhua yam rau tib txoj kev

Txuas tag nrho cov khoom siv hauv Circuit Court board siv cov laug. Tom qab ntawd, siv cov laug txuas, nyob rau sab nraum qab ntawm lub rooj sib tham hauv Circuit Court, txuas tag nrho cov khoom sib txuas ua ke los ntawm kev rub tus laug los ntawm ib qho txuas mus rau lwm qhov.

Pom zoo: