Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: Saib qhov Demo
- Kauj Ruam 2: Nrhiav Txhua Yam Ncej
- Kauj ruam 3: Programming
- Kauj Ruam 4: Kev Txuas Hluav Taws Xob thiab Kev Siv Hluav Taws Xob
- Kauj Ruam 5: Kub Kub thiab Ruaj Ntseg
- Kauj Ruam 6: Lwm Qhov Siv
Video: Cyclone (Arduino LED Game): 6 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Hauv qhov kev qhia no, Kuv yuav qhia koj yuav ua li cas los tsim LED game nrog cov lej me me lossis kev paub dhau los! Kuv muaj lub tswv yim no ib pliag thiab thaum kawg tau ncig los tsim nws. Nws yog kev lom zem ua si uas ua rau peb nco txog txhua qhov kev ua si arcade. Muaj lwm yam kev qhia uas kuv yuav txuas rau cov ntawv qhia ntxiv. Qhov no tuaj yeem ua tiav hauv ib teev ntawm kev ua haujlwm hnyav thiab tsim nyog rau kev ua haujlwm:)
Khoom siv
WS2812B LEDS x 24
Arduino Nano Cov
Momentary laub khawm
Kauj ruam 1: Saib qhov Demo
Kauj Ruam 2: Nrhiav Txhua Yam Ncej
Hauv qhov no, kuv siv daim duab thav duab. Lub tsev ib txwm yog qhov kev xaiv tab sis kuv xav kom ua tiav txoj haujlwm no sai. Kuv txoj haujlwm muaj 20 LEDs uas qhwv ib ncig ntawm tus ncej. Txawm li cas los xij, tus lej no tuaj yeem hloov pauv ib txwm raws qhov nyiam lossis xav tau kev siv lub zog.
Kauj ruam 3: Programming
Qhov program no tsis yog qhov ua tau zoo tshaj plaws.. tab sis nws ua haujlwm zoo kawg nkaus. Qhov kev ua si muaj tsib qhov sib txawv gamestates. Gamestate xoom sawv cev rau lub xeev tsis ua haujlwm kom txog thaum lub pob nyem. Lwm tus gamestates sawv cev rau qib uas tus neeg uas ua ntawv nyob. Txhawm rau tawm tsam qhov kev nthuav tawm ntawm lub pob, Kuv siv lub luag haujlwm millis () tsis txhob ncua (). Txoj kev no qhov kev ua si tseem tuaj yeem ua haujlwm thaum lub pob ua haujlwm.
Txhawm rau hloov kho qhov nrawm rau qhov nyiam, txo qis ledSpeed sib txawv yuav ua rau kom nrawm dua. Kev nrawm yog nyob ntawm qhov nyuaj.
Kauj Ruam 4: Kev Txuas Hluav Taws Xob thiab Kev Siv Hluav Taws Xob
Txoj haujlwm no tuaj yeem siv tau los ntawm 5v qaum khiav mus rau Arduino Nano lossis los ntawm 3 AA roj teeb pob kom nws nqa tau.
Laum ib lub qhov rau khawm thawb tam sim lossis cais nws los ntawm tus ncej. Txuas ib sab rau hauv av thiab lwm sab rau tus pin 4.
(Tsis teb los tau) -Connect lub roj teeb pob nrog qhov hloov ntawm 5v kab rau VIN thiab Av pins ntawm Arduino Nano. Nco ntsoov tias lub teeb liab yog 5v thiab cov zis tuaj yeem tswj tau lub zog Arduino thiab LED. Txhawm rau ua kom lub roj teeb nyob ntev dua, tso lub peev xwm ci ci ntawm LED.
Txuas ob qho tib si ntawm LED's mus rau 5v txoj kev tsheb nqaj hlau ntawm Arduino thiab txuas Cov Chaw. Thaum kawg, ua raws cov kab Din rau qhov xav tau tus pin ntawm Arduino.
Kauj Ruam 5: Kub Kub thiab Ruaj Ntseg
Kuv siv ntau cov kua nplaum kub thiab Zip Tie los tiv thaiv cov xov hlau. Sim npog txhua yam khoom ntse thiab ua kom cov xov hlau ruaj khov. Tes yuav tuav tau qhov no.
Kauj Ruam 6: Lwm Qhov Siv
Kev qhia paub ntau ntxiv Kuv pom muaj txuas. Ua tsaug rau koj lub sijhawm thiab kuv vam tias koj tau siv qee qhov ntawm txoj haujlwm no. Mus ntsib kuv lub vev xaib (www.neehaw.com) kom tau txais cov ntaub ntawv ntau ntxiv thiab cov phiaj xwm lom zem. Txaus siab rau!
Qhia Ib
Instructable Ob
Pom zoo:
Arduino Cyclone Game: 5 Kauj Ruam (nrog Duab)
Arduino Cyclone Game: Kuv yeej tsis tau ua si tiag cyclone arcade game tab sis kuv nyiam lub tswv yim los ua si nrog peb lub sijhawm tshuaj tiv thaiv.Kuv tsim cov game me me. Nws suav nrog 32 LEDs tsim lub voj voog, LEDs teeb ib ntawm ib qho ua tus coj chaser. Lub hom phiaj yog txhawm rau nias lub pob
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Yuav Ua Li Cas Thiaj Li Tshem Tawm Lub Computer Nrog Cov Kauj Ruam Yooj Yim thiab Duab: 13 Kauj Ruam (nrog Duab)
Yuav Tsum Tshem Tawm Lub Khoos Phis Tawj Li Cas Nrog Cov Kauj Ruam Yooj Yim thiab Duab: Nov yog cov lus qhia txog yuav ua li cas tshem lub PC. Feem ntau ntawm cov khoom siv yooj yim yog hloov pauv thiab tshem tawm tau yooj yim. Txawm li cas los xij nws yog ib qho tseem ceeb uas koj tau koom nrog nws. Qhov no yuav pab tiv thaiv koj kom tsis txhob poob ib feem, thiab tseem ua rau kev rov ua dua tshiab
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv
Dynamic LED Teeb Pom Duab Duab Lub thawv thiab Ncej rau Kos Duab :: 16 Cov Kauj Ruam (nrog Duab)
Dynamic LED Lighting Shadow Box and Frame for Art :: Teeb pom kev yog qhov tseem ceeb ntawm kev kos duab. Thiab yog tias teeb pom kev zoo tuaj yeem hloov pauv nrog lub sijhawm nws tuaj yeem dhau los ua qhov tseem ceeb ntawm kev kos duab. Txoj haujlwm no tau pib nrog koom nrog kev ua yeeb yam pom thiab pom tias lub teeb pom kev zoo tuaj yeem hloov pauv li cas