Cov txheej txheem:

Nres! LED Game (siv los ntawm Arduino): 6 Kauj Ruam
Nres! LED Game (siv los ntawm Arduino): 6 Kauj Ruam

Video: Nres! LED Game (siv los ntawm Arduino): 6 Kauj Ruam

Video: Nres! LED Game (siv los ntawm Arduino): 6 Kauj Ruam
Video: $600 NYIAJ PAB CA * $3600 CHILD TAX * BIDEN SPEECH * INDIA KAB MOB HNYAV * TOP NEWS+ 04/29/2021 2024, Kaum ib hlis
Anonim

Los ntawm juggleboyFollow Ntau los ntawm tus sau:

Txhim Kho Koj Qhov Chaw Tshaj Tawm Nrog Lub Caij Nyoog Lub Caij Nyoog rau Kerbal Space Program
Txhim Kho Koj Qhov Chaw Tshaj Tawm Nrog Lub Caij Nyoog Lub Caij Nyoog rau Kerbal Space Program
Txhim Kho Koj Qhov Chaw Tshaj Tawm Nrog Lub Caij Nyoog Lub Caij Nyoog rau Kerbal Space Program
Txhim Kho Koj Qhov Chaw Tshaj Tawm Nrog Lub Caij Nyoog Lub Caij Nyoog rau Kerbal Space Program
Khoos phis tawj Tswj RGB Led
Khoos phis tawj Tswj RGB Led
Khoos phis tawj Tswj RGB Led
Khoos phis tawj Tswj RGB Led
Ua Mini LED Siren (siv los ntawm Arduino!)
Ua Mini LED Siren (siv los ntawm Arduino!)
Ua Mini LED Siren (siv los ntawm Arduino!)
Ua Mini LED Siren (siv los ntawm Arduino!)

Txoj haujlwm no tau tshoov siab los ntawm cov vis dis aus no los ntawm YouTube thiab Pendulum Challenge Kit (Cov ntawv txuas txuas. Sim no.) Los ntawm Makershed.com. Nws yog qhov kev ua si yooj yim suav nrog tsib lub teeb LED thiab ib lub khawm hloov. LEDs nyem ua ntu zus thiab tus neeg uas ua ntawv yuav tsum nias lub pob thaum nruab nrab LED lub teeb ci. Qhov nrawm uas lub teeb nyem nce ntxiv kom txog thaum tus neeg uas ua ntawv nias lub pob thaum lub sijhawm tsis raug.

Tsis txhob hnov qab ntsuas tus 'ible!

Ok, cia mus!

Kauj Ruam 1: Cov Khoom thiab Cov Cuab Yeej

Cov Ntaub Ntawv thiab Cov Cuab Yeej
Cov Ntaub Ntawv thiab Cov Cuab Yeej
Cov Ntaub Ntawv thiab Cov Cuab Yeej
Cov Ntaub Ntawv thiab Cov Cuab Yeej
Cov Ntaub Ntawv thiab Cov Cuab Yeej
Cov Ntaub Ntawv thiab Cov Cuab Yeej

Cov no yog cov ntu koj yuav xav tsim koj tus kheej StopIt! game.-Arduino Uno (Qhov no tswj cov LEDs thiab kuaj pom thaum lub pob raug nias.) -Cov tuaj yeem yuav daim ntawv makershed.com-USB AB cable (Qee zaum hu ua lub tshuab luam ntawv cable.)-Yuav tsum tuaj nrog koj li arduino. ib nrab qhov loj me) -Cov tuaj yeem yuav los ntawm makershed.com-5 Leds (Plaub ntawm ib qho xim, thiab ib qho ntawm lwm tus.)-Pushbutton hloov-Kuv yuav kuv li ntawm Radioshack-resistor me me (ntau dua yog tias koj txhawj xeeb txog hlawv koj cov LEDs.) Tsawg kawg yog 15 lossis ntau dua li lub khob cij rau ntawm lub khob cij -tuaj yeem yuav los ntawm makershed.com -Txhua me me ntawm cov duab los qhia nyias. Kuv siv lub khoob khoob khoob khoob khoob. Cov Cuab Yeej: -Soldering Iron-Electrical solder-Computer

Kauj Ruam 2: Solder Jumper Wires to the Button

Solder Jumper Wires rau Khawm
Solder Jumper Wires rau Khawm

Siv koj cov hlau txuas los txuas cov xov hlau txuas rau lub khawm. Xyuas kom koj muaj kev sib txuas zoo uas tsis kov.

Kauj Ruam 3: Program Arduino Board

Program lub Arduino Board
Program lub Arduino Board

yog tias koj tsis tau teeb tsa thiab teeb tsa Arduino software ntawm koj lub khoos phis tawj, koj yuav tsum ua qhov ntawd ua ntej. Nov yog phau ntawv qhia zoo. Rub tawm cov ntawv txuas nrog Arduino Sketch. Txuas koj Arduino rau koj lub khoos phis tawj. Qhib cov duab kos hauv Arduino software. Rub cov duab kos rau koj Arduino.

Kauj ruam 4: Tsim Circuit Court

Tsim Circuit Court
Tsim Circuit Court
Tsim Circuit Court
Tsim Circuit Court
Tsim Circuit Court
Tsim Circuit Court

Tam sim no nws yog lub sijhawm los tsim lub Circuit Court. Nco ntsoov tshem koj lub Arduino board ua ntej txuas nws. Lub zog thiab hauv av: -Txhua tus jumper hlau los ntawm arduino "5V" tus pin rau lub khob cij "+" kev tsheb nqaj hlau. -Lub jumper hlau los ntawm arduino "GND" tus pin rau breadboard "-" kev tsheb nqaj hlau. LEDs: -Qhia cov LEDs rau hauv koj daim ntawv qhia zaub mov raws li qhia, nrog rau kev coj mus deb tshaj plaws rau sab laug. Liab LED mus nyob nruab nrab. -Kev siv xov hlau los ntawm txhua kab ntawv ua kab lus nrog luv luv LED ua hauv nws mus rau "-" daim phiaj tsheb nqaj hlau. -Run cov xov hlau los ntawm txhua kab ntawv ua kab nrog ntev LED ua rau arduino pins 2 txog 6. Khawm: -Run ib qho ntawm cov xov hlau txuas rau lub khob cij "+" kev tsheb nqaj hlau. -Txhua tus xov tooj thib ob los ntawm lub khawm mus rau kab kab uas tsis muaj kab. -Txhua xov hlau los ntawm tib kab ntawm daim ntawv qhia zaub mov mus rau tus pin 8. Nco ntsoov tias koj teeb tsa sib phim cov duab.

Kauj Ruam 5: Nkaum Cov Hluav Taws Xob

Nkaum Cov Xov Tooj
Nkaum Cov Xov Tooj
Nkaum Cov Xov Tooj
Nkaum Cov Xov Tooj

Tam sim no, cia ua ib yam dab tsi los nkaum cov xov tsis zoo! Kuv txiav ib daim duab plaub me me tawm ntawm cov duab los qhia thiab swb nws ntawm cov LEDs thiab cov xov hlau. Nws ua haujlwm, tab sis nws tseem tsis zoo, yog li kuv tau luam tawm "Nres nws!" ntawm ib daim ntawv thiab kaw nws rau ntawm daim duab. Tam sim no nws zoo li ib yam dab tsi! Koj tuaj yeem ua qhov kuv tau ua lossis siv koj lub tswv yim thiab muaj tswv yim! Yog tias koj xaiv mus rau txoj kev kuv tau ua, koj tuaj yeem rub tawm thiab luam daim duab.

Kauj Ruam 6: Xeem Nws

Kuaj nws!
Kuaj nws!
Kuaj nws!
Kuaj nws!

Okay, tam sim no los txog qhov lom zem! Siv nws! Txuas koj Arduino rau koj lub khoos phis tawj. Cov LEDs yuav tsum pib ntsais muag. Yog tias tsis yog, koj yuav kom lawv tso tsis raug. Sim muab lawv tso rau hauv txoj kev rov qab. Cov coj ntev yuav tsum nyob rau sab laug. Thaum lawv tau ntsais muag, koj yuav tsum tau saib xyuas thaum nruab nrab (liab) LED los txog, uas yog thaum koj nias lub pob. Yog tias koj ua tiav, lub teeb nruab nrab yuav tsum ntsais thiab tua sai. Tam sim no qhov kev ua si nrawm dua thiab LEDs ntsais sai dua. Ua si kom txog thaum koj yuam kev nias lub pob thaum lub LED tsis yog ib qho nyob hauv nruab nrab tau taws. Qhov kev ua si nres. Saib thiab suav pes tsawg LEDs teeb pom kev seb koj ua tau zoo npaum li cas. Nrog 5 yog qhov zoo tshaj plaws thiab 1 yog qhov phem tshaj. Nrog koj zoo siab! Koj nyuam qhuav ua Arduino game! Yog tias koj qhib lub ntsuas hluav taws xob los ntawm Arduino software, koj yuav tuaj yeem pom cov ntaub ntawv ntxaws ntxaws txog koj cov qhab nia. Ua tsaug rau kev nyeem Cov Lus Qhia no txhua txoj hauv kev! Thiab tsis txhob hnov qab tawm lus yog tias koj muaj lus nug lossis tswv yim!

Pom zoo: