Cov txheej txheem:
Video: 8x16 LED Matrix Pong Game (2 Paddles Per Player Version): 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Kuv tau txais kev tshoov siab los ntawm ntau qhov kev hloov pauv ntawm Pong kev ua si qub siv los ntawm Arduino siv 8x8 LED matrix. Hauv cov lus qhia no, kuv yuav qhia koj yuav tsim li cas kuv nyiam Pong version uas muaj ob lub duav - tus ntaus thiab lub hom phiaj - rau ib tus neeg ua si. Txij li 8x8 LED matrix muaj qhov txwv tsawg heev (lossis cov ntawv), Kuv yuav siv 8x16 LED matrix hloov ntawm txoj haujlwm no. Txhawm rau txuas yooj yim, Kuv yuav siv ob qhov 8x8 LED matrix nrog built-in MAX7219 thiab ib lub zog loj ib leeg rau ib tus neeg ua si rau kev tswj duav.
Kauj ruam 1: Cov ntaub ntawv
- Arduino Uno lossis sib npaug
- (2) 8x8 LED matrix nrog MAX7219
- (2) 10K potentiometer
- jumper cov xov hlau
- Lub roj teeb 9v & roj teeb 9v
- lub thawv ntawv (Kuv qhov kev daws teeb meem ib txwm yog lub thawv ntawv thawv)
Cov cuab yeej: phom phom, riam
Kauj ruam 2: Khoos phis tawj khoos phis tawj
Xa mus rau kuv cov vis dis aus thiab kab duab kab rau kev sib dhos kho vajtse.
Kauj ruam 3: Code
Txuas nrog yog tus lej Arduino Kuv siv rau qhov kev ua si qhia hauv video.
Txog qhov haujlwm no, Kuv siv lub tsev qiv ntawv max7219 yooj yim hu ua LedControl. Yog tias koj tsis muaj lub tsev qiv ntawv no tau teeb tsa ntawm koj li Arduino IDE, thov ua raws cov lus qhia ntawm lawv lub vev xaib rau rub tawm thiab teeb tsa.
Txhawm rau taug qab pob txav, Kuv siv 5 qhov sib txawv. Thaum nws zoo dua los khaws txhua qhov ntawd rau hauv qhov xwm txheej hauv qhov kuv xav tau ntau lub pob rau kev ua si tawg, txoj haujlwm no tau tsim los rau cov tub ntxhais kawm theem nrab yog li kuv ua qhov yooj yim no.
Txog kev tso cov neeg ua si, Kuv tab tom nyeem cov peev xwm tshwj xeeb uas rov qab qhov tseem ceeb ntawm 0 thiab 1023 thiab qhia lawv rau qhov tseem ceeb ntawm 0 thiab 7 rau Y ua haujlwm.
Siv lub platform no, koj tseem tuaj yeem sau lwm yam kev ua si xws li nab, tsav tsheb, tua, thiab tawm mus. Kuv tau sau ob tus neeg sib tw ua si sib tw nrog ob lub pob txav mus ib txhis tab sis vim qhov kev daws teeb meem qis thiab cov pob ib txwm txav hauv 45 degree, nws tsis ua haujlwm zoo li kuv xav tias nws yog. (Yog tias koj google, koj tuaj yeem pom ib tus neeg ua si sib ntaus sib tua.)
Pom zoo:
NeoPixels Matrix Game Snake Game: 4 Cov Kauj Ruam
NeoPixels Matrix Game Snake Game: Koj puas tseem nco tau game nab uas peb tau ua ntawm peb lub npov game lossis mobile thaum peb tseem me? Hnub no peb yuav kawm paub yuav ua li cas ua si nab nrog 8*8 NeoPixels Matrix. Peb xaiv Arduino uno ua lub chaw tswj hwm thiab Joystick breakout module los ua ke
Pong Tennis Nrog LED Matrix, Arduino thiab Joysticks: 5 Kauj Ruam (nrog Duab)
Pong ntaus pob tesniv nrog LED Matrix, Arduino thiab Joysticks: Qhov haujlwm no yog npaj rau cov neeg pib tshiab thiab paub txog cov tinkerers zoo ib yam. Nyob rau theem pib nws tuaj yeem ua tiav nrog lub khob cij, cov xov hlau txuas thiab txuas mus rau ib qho ntawm cov khoom seem (Kuv siv ntoo) nrog Blu-Tack thiab tsis muaj qhov txuas. Txawm li cas los ntawm kev ua ntej ntau dua
Cascadable 8x16 Rgb Led Matrix: 3 Kauj Ruam
Cascadable 8x16 Rgb Led Matrix: Hauv qhov haujlwm no kuv tau ua cascadable 8x16 rgb coj matrix thiab nws cov maub los. Microchip's 18F2550 tau siv rau nws qhov kev txhawb nqa USB. RGB leds tau tsav los ntawm 74hc595 hloov npe nrog cov tiv thaiv. Rau cov duab thiab cov ntaub ntawv teeb tsa; 24C512 sab nraud eeprom
Arduino Space Race Game Version _1: 5 Cov Kauj Ruam
Arduino Space Race Game Version _1: Nyob zoo cov phooj ywg. Hnub no kuv xav qhia koj yuav ua li cas koj tuaj yeem ua Space Space Game Game los ntawm LCD5110 npo thiab zoo siab
MATRIX Lub Suab thiab MATRIX Tus Tsim Khiav Alexa (C ++ Version): 7 Kauj Ruam
MATRIX Lub Suab thiab MATRIX Tus Tsim Tawm Alexa (C ++ Version): Yuav Tsum Kho Vajtse Ua ntej pib, cia peb tshuaj xyuas qhov koj yuav xav tau. Raspberry Pi 3 (Pom Zoo) lossis Pi 2 Qauv B (Txhawb Nqa). MATRIX Lub Suab lossis MATRIX Tus Tsim - Raspberry Pi tsis muaj lub microphone built -in, MATRIX Lub Suab/Tus Tsim muaj