Cov txheej txheem:

Simon Says Memory Game: 4 Kauj Ruam
Simon Says Memory Game: 4 Kauj Ruam

Video: Simon Says Memory Game: 4 Kauj Ruam

Video: Simon Says Memory Game: 4 Kauj Ruam
Video: Simon Says Game - THE KIBOOMERS Preschool Songs - Brain Break 2024, Kaum ib hlis
Anonim
Simon Says Memory Game
Simon Says Memory Game

Nov yog kev ua si uas peb txhua tus nyiam thiab nco tau los ntawm peb thaum yau. Tsis yog tsuas yog peb rov qab nco txog kev nco nostalgic tab sis peb tab tom ntxiv nws rau hauv lub computer engineering ntiaj teb! Qhov kev ua si no muaj ntau qib sib txawv uas cov LEDs nrog kev pab ntawm lub suab nrov yuav ua rau lub suab sib dhos los ntawm lub teeb ci LEDS hauv cov qauv tshwj xeeb, thaum koj pom tus qauv uas tus neeg siv yuav sim rov ua cov qauv ua ntej mus rau qib tom ntej, yog tias koj tsis poob!

Kauj Ruam 1: Sau Cov Khoom

1 x Arduino UNO

8 x 220 Ohm Resistors

4 x lwd

4 x Pushbutton

1 x Buzzer

1 x Breadboard

Cov xim sib txawv sib txawv Jumper Cables

Kauj Ruam 2: Schematics/Assembly

Schematics/Assembly
Schematics/Assembly

Nco ntsoov tsim lub Circuit Court raws li daim duab schematic saum toj no qhia. Tsis txhob hnov qab siv 220 ohm resistors lossis 340 ohm resistors nrog rau ob zaug xyuas qhov thaiv ntawm LEDs rau Arduino kom txo qis qhov ua yuam kev. Sab xis ntawm LEDs sawv cev rau sab ntev dua uas txuas nrog Arduino.

Kauj ruam 3: Upload Code

Tshaj tawm cov cai no uas tau muab rau Arduino IDE. Txheeb ob zaug kom pom tias koj tau xaiv qhov chaw nres nkoj raug. Txoj cai no tsis suav nrog ib lub tsev qiv ntawv tsim nyog uas ua rau nws zoo rau cov neeg siv. Xav tias yuav hloov kho cov cai xws li hloov lub sijhawm ntawm lub sijhawm LEDS ntsais muag, ntxiv ntau qib lossis txawm tias hloov lub suab nrov nrov rau koj nyiam. Piv txwv li koj tuaj yeem ua kom nws ua si ntev dua lossis koj tuaj yeem tshem nws tag nrho, tab sis nws yog txhua yam rau koj! Kuv tau muab koj nrog txoj haujlwm no tab sis kev muaj tswv yim dag hauv koj txhais tes!

Kauj Ruam 4: Kuaj thiab Ua Si

Tam sim no koj tau ua tiav txoj cai kev ua haujlwm thiab kev sib tw ua si hauv ntej ntawm koj, nws yog lub sijhawm kom txaus siab! Nws yog lub sijhawm los pib ua si. Saib cov vis dis aus txuas mus saib yuav ua li cas qhov kev ua si thiab nws zoo li cas rau dhia mus rau hauv lub computer engineering txheej txheem ntawm qhov kev ua si peb txhua tus nyiam SIMON hais !!! Qhov kev ua si no ntsuas koj lub cim xeeb, ua kom koj lub cim xeeb zoo dua qib koj tau nce mus, koj puas tuaj yeem ua tiav qhov kev ua si?

Pom zoo: