Cov txheej txheem:
- Kauj Ruam 1: LED Matrix
- Kauj ruam 2: Tus nyeem ntawv RFID
- Kauj Ruam 3: Cov Khawm
- Kauj ruam 4: Txoj Cai
- Kauj ruam 5: Rooj plaub
- Kauj Ruam 6: Cov Khoom Ua tiav
Video: Arduino RFID Maze Game: 6 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Hnub no kuv yuav nthuav tawm qhov kuv muab tso ua ke me ntsis RFID tshawb nrhiav game rau Arduino. Cov cai thiab 3D cov ntaub ntawv luam tawm tau suav nrog, yog li xav ua kom koj tus kheej ua raws cov theem hauv qab no!
Kuv xav ua khoom ua si rau menyuam yaus, uas yuav muab kev paub ua lub cev thiab lub cev. Nrog rau cov cuab yeej no lawv tuaj yeem tshuaj xyuas cov khoom ib txwm muaj uas muaj daim npav RFID (daim npav npav, tsiaj, khaub ncaws, thiab lwm yam) thiab ua rau cov khoom no ua si ntau dua thiab muaj kev sib tham. Txhua lub sijhawm koj pom daim npav RFID tshiab, arduino tsim lub maze rau koj los daws. Ua kom tiav qhov tshawb nrhiav thiab koj yuav hnov lub suab nrov zoo siab los ntawm tus neeg hais lus piezo. Qhov ntau mazes koj daws tau, ntau lub suab paj nruag koj yuav tuaj yeem hnov!
Nov yog yam koj yuav xav tau rau txoj haujlwm no:
- Arduino UAS
- 1588AS LED Matrix,
- 2 x 74HC595 hloov npe rau npe
- 8 x 220 Ohm resistors
- MFRC522 RFID module
- RFID cim npe
- 4 x loj laub khawm
- 2 x xaim hlau xaim (rau pob khawm)
- xov hlau, kab laug sab, perfboard thiab lwm yam.
- 3D tshuab luam ntawv
Kuv qhia koj kom ua tiav txoj haujlwm ntawm lub khob cij ua ntej ua ntej sib dhos txhua yam ua ke.
Yog tias koj xav kom koj tus kheej mob siab rau tsim koj tus kheej tus lej tsav tsheb nrog kev hloov pauv rau npe koj kuj tsuas yog yuav qhov pheej yig heev MAX7219 LED Matrix uas muaj tib lub haujlwm ua hauv.
Kauj Ruam 1: LED Matrix
Peb yuav nthuav tawm qhov kev ua si ntawm 8x8 coj matrix, siv los ntawm ob 74HC595 hloov npe. Txog qhov no kuv siv cov lus qhia hauv qab no https://www.instructables.com/id/Arduino-88-Led-Matrix-Driver-With-2-74HC595-Shift-/. Koj tuaj yeem mus rau qhov ntawd cov lus qhia ntxaws ntxiv, tab sis kuv yuav piav qhia cov txheej txheem luv luv ntawm no.
Peb yuav siv peb tus pin ntawm arduino xa cov ntaub ntawv, moos thiab latch rau thawj qhov kev hloov pauv npe. Qhov hloov pauv thib ob yuav qhia lub moos thiab lub latch, tab sis peb yuav thaj los ntawm cov ntaub ntawv daisychained los ntawm thawj qhov kev hloov pauv rau npe. Peb tseem yuav txuas peb qhov hluav taws xob thiab hauv av rau ob qho ntawv sau npe. Peb tseem yuav rub khaws cov ntaub ntawv HIGH thiab kaw qhov tso tawm qis.
Tam sim no rau thaiv cov npe hloov pauv no mus rau LED matrix. Teem lub LED matrix nrog cov ntawv ntawm ib sab tig koj thiab tus pin tig mus rau sab saud. Cov pins tau suav nrog zoo li hauv daim duab 4. Hauv daim duab thib ob koj yuav pom qhov hloov pauv ntawm cov npe tso tawm yuav tsum txuas nrog cov pins ntawm koj tus lej.
Kauj ruam 2: Tus nyeem ntawv RFID
Tom ntej no yog RFID nyeem ntawv, ua tsaug nws yooj yim dua. Rub tawm thiab teeb tsa lub tsev qiv ntawv rau hauv koj li IDE los ntawm:
Txuas cov RFID pins hauv qab no rau cov no ntawm koj cov arduino:
- RST/Rov Pib RST 9
- SPI SS SDA (SS) 10
- SPI OSI MOSI 11 / ICSP-4
- SPI MISO MISO 12 / ICSP-1
- SPI SCK SCK 13 / ICSP-3
Kauj Ruam 3: Cov Khawm
Peb yuav siv lub PULLUP ua haujlwm sab hauv ntawm Arduino yog li peb tsuas tuaj yeem txuas cov hloov pauv ncaj qha rau tus pin thiab tom qab ntawd mus rau hauv av. Koj tseem tuaj yeem ua rub tawm sab nraud zoo li hauv daim duab.
Kauj ruam 4: Txoj Cai
Rub tawm cov cai los ntawm saum toj no thiab saib ntawm txhua lub tabs. Cov pins siv tau piav qhia nyob rau sab saum toj ntawm txhua lub tab, hloov pauv kom haum rau tus pin uas koj txiav txim siab siv.. Upload nws rau koj arduino thiab sim qhov kev ua si!
Kauj ruam 5: Rooj plaub
Rub cov ntaub ntawv ob zaug hauv zip thiab xa nws mus rau qhov koj nyiam hloov pauv tus lej. Khiav nws hla lub tshuab luam ntawv 3D thiab koj yuav tsum muaj cov ntaub ntawv uas haum rau txhua yam ntawm koj cov khoom.
Muab txhua yam tso ua ke thiab haum rau hauv rooj plaub. Ua tib zoo khaws koj cov xov hlau kom luv li sai tau, vim tias qhov chaw muaj tsawg. Muab cov hinges ntawm rooj plaub ua ke thiab khiav me me hlau xaim hla lub qhov hauv lub hinges. Tom qab txuas ob sab, koj yuav tsum muaj cov khoom tiav.
Kuv vam tias koj nyiam nyeem txog qhov haujlwm no thiab thov txaus siab!
Kauj Ruam 6: Cov Khoom Ua tiav
Pom zoo:
3D Maze Game Siv Arduino: 8 Kauj Ruam (nrog Duab)
3d Maze Game Siv Arduino: Nyob zoo cov phooj ywg, yog li niaj hnub no peb tab tom yuav ua qhov maze game siv ARDUINO UNO.As Raws li Arduino Uno yog pawg thawj coj siv feem ntau nws txias heev los ua game nrog nws. Hauv Cov Lus Qhia no ua rau kev ua si tshawb nrhiav uas yog tswj siv joysticks. Tsis txhob hnov qab
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
Arduino Pocket Game Console + A -Maze - Maze Game: 6 Cov Kauj Ruam (nrog Duab)
Arduino Pocket Game Console + A -Maze - Maze Game: Zoo siab txais tos rau kuv thawj qhov kev qhia! Txoj haujlwm kuv xav qhia rau koj hnub no yog Arduino tshawb nrhiav game, uas dhau los ua lub hnab ntim khoom muaj peev xwm zoo li Arduboy thiab zoo ib yam li Arduino raws cov khoom siv. Nws tuaj yeem ua rau pom nrog kuv (lossis koj) kev ua si yav tom ntej ua tsaug rau nthuav tawm
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
Maze Game los Tswj Nrog Smartphone: 5 Kauj Ruam (nrog Duab)
Maze Game los Tswj Nrog Smartphone: Maze game los tswj nrog lub xov tooj ntse.Qhov tshawb pom txav mus raws txoj kab nqes hav ntawm lub xov tooj. Ua ntej tshaj plaws, thov saib daim vis dis aus. Raspberry Pi yog Websocket server.2. Lub xov tooj ntawm tes yog Websocket tus thov kev pab. 3. Lub xov tooj smartphone xa lub