Cov txheej txheem:
- Kauj Ruam 1: Qhov Chaw thiab Los Ua Ke
- Kauj Ruam 2: Nws Ua Haujlwm Li Cas
- Kauj Ruam 3: Ua Si Nrog Lub Rooj Sib Tham
Video: Tsim Arduino Simon Game hauv 2 feeb!: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Tsis muaj Jumpers! Tsis muaj xov hlau! Tsis muaj Soldering! Tsis muaj Breadboard!
Xav sab nraum lub thawv.
Yog li koj xav qhia tawm koj lub micro-maub los hauv kev hais kwv txhiaj nrog qee qhov ntxiv ntawm cov qauv siv sab hauv nrawm heev, ua ntej cov phooj ywg lossis txheeb ze tab tom taug kev …
Muab tso ua ke Qhov Ceev & Yooj Yim ntawm Simon "rov ua dua kuv" game hauv feeb xwb. Albeit, monochromatic (nrog txhua tus LEDs liab). Txhua yam uas yuav tsum tau muaj yog nyob ntawm tes: Ib qho Arduino microcontroller (nyiam dua Nano), ib qho qauv nrog teeb ntawm LEDs, 4 khawm module, thiab lub suab nrov, nrog rau roj hmab-qhab.
Kauj Ruam 1: Qhov Chaw thiab Los Ua Ke
LED & Key/khawm modules tuaj yeem pom ntawm no: www.ebay.com/itm/181563923440 (<$ 4) Buzzers muaj nyob ntawm no: https://www.ebay.com/itm/281280117872 (<$ 2)
[ua haujlwm txuas ntxiv] BTW: Nov yog qhov yooj yim - cov cuab yeej siv https://itty.bitty.site [ua haujlwm txuas ntxiv]
Qhov no yuav tsum tau muab tshem tawm.
app dawb
Cov Lus Qhia Ntxiv
Nano 3.0 https://www.ebay.com/itm/131517734419 (<$ 3)
Kuv pom zoo kom siv cov roj hmab me me, yog li koj tsis tas yuav qhwv nws ib puag ncig ua ke kom nws nruj.
Lwm yam Arduinos tuaj yeem siv tau, tab sis yuav xav tau (lossis tso cai) qhov chaw sib txawv ntawm cov txheej txheem ib puag ncig; thiab raws li kev hloov pauv tus lej hauv cov cai siv. Nano 3.0 yog qhov tshwj xeeb tshaj yog qhov nws ua rau kev sib sau me me, tuav tau yooj yim thiab ua haujlwm nrog ib txhais tes.
Kev sib dhos ua tiav los ntawm kev yooj yim ntsaws rau hauv cov qauv thiab ruaj ntseg nrog cov roj hmab-qhab. Qhov "nquag" piezo buzzer yuav tsuas ua haujlwm yog tias lub polarity tau sib txuas kom raug. Thov nco ntsoov tias nws (+) tau ntxig rau hauv D8, thiab (-) rau D11.
Qhov tseem ceeb module pins K4-K3-K2-K1-GND mus ncaj qha rau A1-A5. Saib duab saum toj no.
LED module pins GND-D1-D2-D3-D4-D5-D6 mus ncaj qha rau D7-D6-D5-D4-D3-D2-GND feem.
Kauj Ruam 2: Nws Ua Haujlwm Li Cas
LED thiab Cov Qauv Tseem Ceeb yog npaj kom nquag muaj ib tus pin txuas rau hauv av. Txhawm rau kom haum qhov txuas ncaj qha rau Nano qhov no tsis tshwm sim. Yog li hloov tus pin txuas nrog 'GND's ntawm cov qauv no tau ua haujlwm raws li cov txiaj ntsig thiab teeb tsa' LOW '. MCU (MicroControllerUnit) yuav tsav nws cov zis mus txog 30 ma. Uas yog txaus rau lub txhab nyiaj ntawm plaub (4) LEDs. Thaum nws nyob deb dua yog xav tau rau cov nyees khawm tsis muaj kev phom sij raws li qhov tam sim no tau txwv (thiab lawv tsuas yog kos tam sim no thaum nias). LED module muaj inline resistors ntxiv txwv qhov tam sim no uas dhau los ntawm txhua LED.
Rub tawm
Kuv hloov kho thiab hloov kho ob qhov sib txawv ntawm 'Simon' ua raws kuv teeb thiab suab game kom ua haujlwm nrog txoj haujlwm no. Cov qhab nia rau cov ntawv qub yog nyob hauv cov npe teev npe.
Ib daim duab kos (FastEasy_SimonSings) tsuas yog siv cov ntawv suav nrog ('pitches.h' kom nyob hauv daim nplaub tshev nrog nws). Thaum lwm tus (FastEasy_SimonSays) siv lub tsev qiv ntawv 'Tone'. Yog li koj yuav xav tau ib lossis ob qho ntawm cov ntawd, nyob ntawm seb cov duab kos uas koj xaiv siv.
Cov tsev qiv ntawv saum toj no yuav tsum yog ib feem ntawm Arduino IDE los ntawm lub neej ntawd. Yog tias tsis yog thiab koj xav tau kev pab nrog qhov no ntawm no yog Yuav Ua Li Cas Nruab Lub Tsev Qiv Ntawv.
Kauj Ruam 3: Ua Si Nrog Lub Rooj Sib Tham
Kev ua si yog ncaj ncaj rau pem hauv ntej. Cov ntaub ntawv qhov chaws muaj qee cov ntaub ntawv hauv lawv. Txhua yam koj yuav xav paub tiag tiag yog tias 'Simon Says' version pib pib nrog ib qho nyem. thiab 'Simon Sings' version pib nrog tus qauv ntawm 4, tab sis nws tos tos qhov tseem ceeb nias ua ntej pib txhua puag ncig.
Koj yuav zoo li pom cov LED thiab Cov qauv tseem ceeb ua ke rau ua lwm txoj haujlwm ceev pov thawj ntawm cov ntsiab lus. Txoj haujlwm no thiab cov lej cuam tshuam yuav ua haujlwm nrog tus hais lus. Nws yuav suab zoo dua, tab sis koj yuav tsis tuaj yeem ua nws yam tsawg kawg qee tus dhia.
Daim ntawv ceeb toom tias raws li cov qauv kab kos no tau sau tseg, Nano 3.0 lossis Uno yuav ua haujlwm (Plug-&-Play) ncaj qha, lwm tus yuav xav siv cov koob sib txawv ntawm cov koob vim lawv kev teeb tsa lub cev; thiab tejzaum qee qhov kev hloov pauv.
Pom zoo:
Ua Qhov Zoo Tshaj Plaws 3D Tau Txais ntawm Koj li PCB Tsim hauv 5 feeb: 6 Kauj Ruam
Ua Qhov Zoo 3D Tau Txais ntawm Koj Tus Qauv PCB hauv 5 feeb: Txij li thaum kuv nquag tsim cov ntaub ntawv cov ntaub ntawv nrog cov lus piav qhia ntawm Luam Ntawv Circuit Board (PCB) ib feem thiab cov khoom kuv tau tsis meej pem txog cov duab tsis tseeb ntawm PCBA cov ntaub ntawv. Yog li kuv pom txoj hauv kev yooj yim kom ua rau nws muaj tiag thiab zoo nkauj
Tsim Cov Tsav Tsheb Dinosaur Siv Cov Tsiaj Yas, hauv 55 feeb lossis Tsawg!: 11 Kauj Ruam (nrog Duab)
Tsim kom muaj Lub Tshuab Dinosaur Siv Lub thoob yas, hauv 55 feeb lossis tsawg dua!: Nyob zoo. Kuv lub npe yog Mario thiab kuv nyiam tsim cov khoom siv pov tseg. Ib lub lim tiam dhau los, Kuv raug caw tuaj koom ua yeeb yam thaum sawv ntxov ntawm lub teb chaws TV channel ntawm Azerbaijan, los tham txog " Waste to Art " nthuav qhia. Qhov xwm txheej nkaus xwb? Kuv muaj t
Yuav Ua Li Cas Rho Tawm Router Tawm Hauv Is Taws Nem (Hauv Qab 10 feeb): 6 Cov Kauj Ruam
Yuav Ua Li Cas Rho Tawm Router Tawm Hauv Is Taws Nem (Hauv Qab 10 feeb): Hauv qhov kev qhia no kuv yuav qhia koj yuav ua li cas khiav DOS (tsis kam muab kev pabcuam) tawm tsam router. Qhov no yuav thaiv tib neeg los ntawm kev siv lub router uas koj tawm tsam. Cia peb pib tawm nrog XKCDTus ntawv qhia no tsuas yog qhia yuav ua li cas thiaj khiav tawm
Kev tshaj lij ART Tracing Lightbox DAWB nyob rau hauv 15 feeb !!! ($ 100 hauv Khw): 3 Kauj Ruam
Kev tshaj lij ART Tracing Lightbox DAWB nyob rau hauv 15 feeb !!! ($ 100 hauv Khw Muag Khoom): Ua tib zoo saib txhua tus kws kos duab, kws kos duab, kws yees duab, thiab nyiam ua haujlwm: Koj puas tau pom nws nyuaj rau taug qab cov duab kos, duab, lossis lwm yam xov xwm? Koj puas tau ua haujlwm ntawm daim duab kos thiab pom cov ntawv sau tsis yooj yim, tsis muaj txiaj ntsig, lossis
Minimalist IR Pen: Tsis Siv Tshuaj, Hauv Ib feeb, Hauv Ib Duas: 3 Kauj Ruam
Minimalist IR Pen: Tsis Muaj Soldering, Hauv Ib Qhov Tseeb, Hauv Ib Duas.: Kuv thawj qhov kev qhia, vam tias nws muaj txiaj ntsig: Yog tias koj xav sim JC Lee (JC sawv rau Johnny Chung, tab sis nws kuj ua yam txuj ci tseem ceeb ib yam. ..) lossis Smoothboard program ntawm www.smoothboard.net (xyoo tom ntej, vim tias Boon Jin pib