Cov txheej txheem:
- Kauj Ruam 1: Sau Cov Khoom
- Kauj Ruam 2: Teeb Game
- Kauj Ruam 3: Muab Txoj Cai Rau Arduino
- Kauj Ruam 4: Ua Si Game
Video: LED Game: Xim Nws Xiav: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Hauv qhov kev ua si LED no, cov neeg siv siv lub joystick los ua LEDs xiav. Lub teeb nyob nruab nrab teeb xiav, thiab cov neeg ua si yuav tsum tig sab laug ib nrab lossis sab xis ib nrab xiav. Lub teeb daj tig ib qho ntawm LEDs ntawm qhov tsis sib xws, thiab cov neeg siv yuav tsum txav lawv lub joystick mus rau sab laug lossis sab xis nyob ntawm seb lub teeb tig daj. Yog tias lub teeb nyob hauv nruab nrab tig daj thiab tsis muaj lub teeb xiav, cov neeg siv yuav tsum nias lub pob ntawm tus joystick kom tig nws xiav. Yog tias tus neeg ua si tsis ua qhov no, LEDs tig liab qhia qhov ua tsis raug.
Cov Lus Qhia no yuav qhia txhua tus neeg hauv kev ua qhov kev ua si txias no.
Kauj Ruam 1: Sau Cov Khoom
Rau qhov kev ua si no cov ntaub ntawv hauv qab no xav tau:
- Arduino
- LED sawb nrog 20 LEDs
- Joystick
- Hlau
- Cov qhob cij
- Khoos phis tawj uas muaj Arduino teeb tsa
- Cable txuas Arduino rau lub khoos phis tawj
Kauj Ruam 2: Teeb Game
Siv cov xov hlau thiab lub khob cij, txuas Joystick thiab LED sawb rau Arduino.
Kev teeb tsa dav dav:
- Txuas 5V ntawm Arduino mus rau 5V ntawm lub khob cij.
- Txuas GND ntawm Arduino mus rau hauv av ntawm lub khob cij.
Teeb tsa Joystick:
- Txuas GND ntawm joystick mus rau hauv av ntawm lub khob cij.
- Txuas tus +5V ntawm joystick mus rau 5V ntawm lub rooj noj mov.
- Txuas VRx ntawm joystick rau tus pin analog A0 ntawm Arduino.
- Txuas VRy ntawm joystick rau tus pin analog A1.
- Txuas SW ntawm joystick rau tus pin 2 ntawm Arduino.
Teeb lub teeb LED:
- Txuas GND ntawm LED kab txaij rau hauv av ntawm lub khob cij.
- Txuas tus +5V ntawm LED sawb mus rau 5V ntawm lub khob cij.
- Txuas cov xov hlau nruab nrab ntawm LED sawb rau tus pin 6 ntawm Arduino.
Kauj Ruam 3: Muab Txoj Cai Rau Arduino
Luam thiab paste cov cai txuas rau Arduino ntawm lub khoos phis tawj. Tom qab txuas Arduino rau lub khoos phis tawj, tso nws.
Kauj Ruam 4: Ua Si Game
- Lub teeb xiav yuav qhib rau nruab nrab ntawm LEDs
- Lub teeb daj yuav tig rau ntawm qhov tsis sib xws LED
- Tuav tus joystick nrog cov xov hlau taw tes rau.
- Tsiv tus joystick mus rau sab laug yog tias lub teeb daj tig mus rau sab laug ntawm kab txaij kom tig nws xiav.
- Tsiv tus joystick mus rau sab xis yog tias lub teeb daj tig mus rau sab xis ntawm txoj hlua kom tig nws xiav.
- Yog tias nruab nrab LED tig daj, nias lub pob ntawm tus joystick, yog li nws teeb xiav.
- Yog tias tus neeg ua si txav lawv cov joystick mus rau qhov tsis raug, LEDs yuav ci liab.
- Ua si kom pom pes tsawg zaus koj tuaj yeem txav koj lub joystick mus rau qhov raug.
Cov vis dis aus txuas nrog qhia tias kev ua si li cas.
Pom zoo:
MESOMIX - Automated Xim Xim Xim Tshuab: 21 Cov Kauj Ruam (nrog Duab)
MESOMIX - Automated Xim Xim Xim Tshuab: Koj puas yog tus tsim qauv, tus kws kos duab lossis tus neeg muaj tswv yim uas nyiam tha xim rau ntawm koj daim ntaub, tab sis feem ntau nws nyuaj thaum nws los ua qhov ntxoov ntxoo uas xav tau. uas tawm tsam rau huab cua nyias. Raws li cov cuab yeej no, koj
Raspberry Pi Oled Moos Saib Nws hnov Nws thiab hnov Nws: 5 Kauj Ruam (nrog Duab)
Raspberry Pi Oled Clock Watch Nws hnov Nws thiab hnov Nws: Qhov no yog lub moos ntse uas qhia lub sijhawm ntawm cov zaub OLED thiab tseem koj tuaj yeem hnov lub sijhawm nyob rau lub sijhawm sib txawv ntawm lub sijhawm uas yog pab puv rau qhov muag tsis pom thiab Nws tseem hloov cov xim coj nrog lub sijhawm zoo li lub teeb nyob rau yav tsaus ntuj lub teeb nyob rau yav tsaus ntuj mus txiv kab ntxwv rau daj thiab zoo li t
Sau nws! Ua Nws! Qhia Nws!: 4 Kauj Ruam
Sau nws! Ua Nws! Qhia Tawm!: Kuv cov tub ntxhais kawm tau siv Legos pab ntxiv kev muaj tswv yim rau lawv txoj kev sau, koom haum sau ntawv, thiab nthuav tawm lawv cov haujlwm ua digitally nrog lawv tsev neeg thiab nrog lawv cov phooj ywg hauv chav kawm
Yuav Ua Li Cas Tau Txais Cov Nkauj Los Ntawm Txhua Qhov (Haha) Lub Vev Xaib (Ntev Li Koj Tau hnov Nws Koj Yuav Tau Txais Nws Ok Zoo Yog Nws Tau Ntxig Hauv Flash Koj Yuav Tsis Muaj Peev Xwm) EDITED !!!!! Ntxiv Info: 4 Cov Kauj Ruam
Yuav Ua Li Cas Tau Txais Cov Nkauj Los Ntawm Txhua Qhov (Haha) Lub Vev Xaib (Ntev Li Koj Tau hnov Nws Koj Yuav Tau Txais Nws … Ok Zoo Yog Nws Tau Ntxig Hauv Flash Koj Yuav Tsis Muaj Peev Xwm) EDITED !!!!! Ntxiv Cov Lus Qhia: yog tias koj tau mus rau lub vev xaib thiab nws ua nkauj nkauj uas koj nyiam thiab xav tau nws ntawm no yog cov lus qhia rau koj tsis yog kuv qhov txhaum yog tias koj cuam tshuam qee yam (tsuas yog txoj hauv kev nws yuav tshwm sim yog tias koj pib tshem cov khoom yam tsis muaj laj thawj. ) Kuv tuaj yeem tau txais cov nkauj rau
Cov Neeg Hais Lus Tsis Txaus Dej Uas Ntab - " Nws Ntws, Nws Totes thiab Nws Pob Zeb Sau Ntawv! &Quot;: 7 Cov Kauj Ruam (nrog Duab)
Cov Neeg Hais Lus Tsis Txaus Dej Uas Ntab - " Nws Ntws, Nws Totes thiab Nws Pob Zeb Sau Ntawv! ). Peb yuav ntab hauv tus dej, lossis txuas kab rau ntawm ntug dej kom peb cov ntab nyob ntawm qhov chaw peb nyob. Txhua tus neeg