Cov txheej txheem:
- Kauj ruam 1: Cov ntaub ntawv
- Kauj ruam 2: Txuas koj lub LED
- Kauj Ruam 3: Txuas Koj Cov Tiv Thaiv
- Kauj Ruam 4: Txuas Koj Cov Khawm
- Kauj Ruam 5: Txuas Txuas Cov Hluav Taws Xob
- Kauj ruam 6: Coding
- Kauj Ruam 7: Kauj Ruam Ntxiv rau Kev Ua Haujlwm Zoo
- Kauj Ruam 8: Xaus/Khoom Kawg
Video: Yuav Ua Li Cas Tsim Kom Muaj Yeeb Yaj Kiab LED Arduino Tsuav: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Hauv qhov kev qhia no, koj yuav kawm paub tsim kom muaj xim zoo nkauj LED Arduino tsuav, uas tuaj yeem "dov" los ntawm kev nias lub pob. Kuv yuav piav qhia yuav tsim Arduino li cas, thiab yuav ua li cas rau nws. Nws yog kev qhia yooj yim haum rau cov uas nyob qib pib.
Kauj ruam 1: Cov ntaub ntawv
Kauj Ruam 1: Thawj kauj ruam thaum tsim Arduino no yog kom tau tag nrho koj cov ntaub ntawv ua ke. Lub koom haum yog qhov tseem ceeb yog tias koj xav tsim kom muaj txiaj ntsig zoo.
Cov ntaub ntawv: Cov no yog cov khoom uas koj yuav xav tau rau txoj haujlwm no:
- Xya xim sib txawv LEDs
- Cov qhob cij
- Arduino UAS
- Khawm
- Ib 10k resistor
- Xya 220k lossis 330k resistors
- Kaum peb cov xov hlau (aka txuas cov xov hluav taws xob)
- Arduino Software
- USB qaum
- Laptop
Nyob rau hauv rooj plaub koj yog tus pib thiab yuav tsis paub tias cov khoom siv no yog dab tsi, lossis lawv lub hom phiaj yog dab tsi, hauv qab no yog phau ntawv qhia ntawm txhua tus neeg sawv cev.
LED- Ib qho LED lossis Lub Teeb Emitting Diode, tsuas yog siv lub teeb me me xwb.
Breadboard- Lub Breadboard yog qhov uas koj ua koj tus qauv sim ntawm tus qauv ntawm kev siv hluav taws xob. Arduino UNO- Ib qho Arduino yog lub rooj tsav xwm hauv lub cev uas siv tau.
Khawm- Ib lub pob tau siv los txhawm rau txhawm rau ua haujlwm lwm lub cuab yeej
10k/22k Resistor- Tus tiv thaiv yog ib lub cuab yeej uas tiv thaiv kev hla qhov hluav taws xob
Cov Hlau- Hlau uas tau rub tawm los tsim cov nyias nyias cov hlua lossis cov xov
Arduino Software- Cov software Arduino tuaj yeem rub tawm ntawm koj lub khoos phis tawj thiab yog qhov uas koj yuav sau koj cov cai USB Cord- Koj siv lub xov tooj USB txuas txuas Arduino rau koj lub laptop, thiab yog li koj tuaj yeem xa cov cai rau koj lub laptop
Laptop- piav qhia tus kheej zoo nkauj, tab sis koj xav tau lub khoos phis tawj kom tau qhov tsuav no los ua haujlwm vim tias koj yuav siv nws los sau cov lus qhia rau lub tsuav.
Kauj ruam 2: Txuas koj lub LED
Txuas koj cov LEDs rau koj daim ntawv tais. Nws yog qhov tseem ceeb uas koj yuav tsum txuas koj lub LEDs ua ntej, tsis yog nyob rau lwm qhov kev txiav txim vim tias koj yuav tsim tawm ntawm qhov chaw uas lawv nyob. Koj tuaj yeem tso cov LEDs nyob txhua qhov chaw ntawm daim ntawv qhia zaub mov raws li koj nyiam, txawm li cas los xij lawv yuav tsum nyob hauv tib qho kev txiav txim. Hauv qab no yog kab ntawv rau qhov kev txiav txim uas lawv yuav tsum tau ua. Ntxiv rau daim duab, muaj daim duab uas qhia pom yuav ua li cas sib txawv ntawm qhov zoo/tsis zoo txhais ceg ntawm LED.
Kauj Ruam 3: Txuas Koj Cov Tiv Thaiv
Tom qab koj txuas koj cov LEDs, koj yuav tsum khawm ntawm 220k resistors rau lawv cov LEDs sib xws. Ntawm sab laug ntawm daim ntawv qhia zaub mov, koj yuav tsum muaj lawv txuas nrog rau qhov zoo, thiab ntawm sab xis ntawm lub khob cij, lawv yuav tsum txuas nrog qhov tsis zoo.
Kauj Ruam 4: Txuas Koj Cov Khawm
Tam sim no tias koj lub rooj noj mov muaj cov LEDs thiab lawv cov 220k resistors, koj yuav tsum ntxiv cov khoom siv xav tau rau lub pob. Koj tuaj yeem tso lub pob nyob txhua qhov chaw uas koj nyiam rau ntawm lub khob cij, tsuas yog tsis nyob ze ntawm LEDs uas nws cuam tshuam nrog txhua lub xov hlau. Lub pob yuav tsum muaj ob txhais ceg hauv ob sab ntawm Arduino. Cov kauj ruam tom ntej kom tau txais koj lub pob kom ua haujlwm yog txhawm rau txuas 10k resistor hauv kab ib yam li khawm, thiab sab tsis zoo ntawm lub khob cij (sab laug sab tes).
Kauj ruam kawg hauv kev muab cov tsuav tso ua ke yog txuas cov xov hlau los ntawm Arduino Uno mus rau lub khob cij. Txhawm rau pib nrog, tus lej #3 yuav txuas nrog khawm. (Kuv paub nws nyeem #2 ntawm daim duab tab sis kuv tau hloov nws ib tus pin). Cov pins yog qhov qhib ntawm Arduino Uno suav los ntawm 0-13, thiab txoj cai zoo ntawm tus ntiv tes xoo yog ib txwm ua haujlwm nruab nrab ntawm cov lej, tsis yog ntawm lawv. Tom qab ntawd, tus pin 4-10 yuav txuas nrog LEDs.
Kauj Ruam 5: Txuas Txuas Cov Hluav Taws Xob
Tam sim no koj tau txuas cov xov hlau mus rau LEDs thiab khawm, seem ntawm cov xov hlau yuav txuas nrog qhov tseeb Arduino los ua lub khob cij ua haujlwm. Ob lub xov hlau yuav txuas ob sab ntawm Arduino mus rau GND (Hauv av) tus pin, thiab ib lub xov hlau yuav txuas nws mus rau 5V (tsib volts). Thaum kawg, xaim mus los ntawm qhov zoo ntawm lub khob cij rau lub khawm xaus qhov kev tsim kho ntawm Arduino.
Kauj ruam 6: Coding
Tam sim no koj tau ua tiav Arduino ua tiav, cov kauj ruam tom ntej yog txhawm rau sau nws ntawm Arduino software. Hauv kev xaus, cov software no tso cai rau koj qhia rau Arduino tias koj xav ua dab tsi lossis koj xav kom tshwm sim li cas ntawm daim ntawv.
Muaj qhov yuav tsum yog lub ntsiab lus coding hauv qhov kev qhia no, thiab hauv qab no yog cov cai muab (txuas) rau qhov tsuav no thiab piav qhia tag nrho ntawm nws ua dab tsi. Ib yam yuav tsum nco ntsoov yog cov pins yuav tsum sib phim nrog cov lej hauv tus lej, piv txwv li, yog tias koj muaj xaim txuas rau koj lub tsuav hauv tus pin #3 nws yuav tsum hais ib yam hauv tus lej. Ua ntej, thawj pawg yog cov lej uas tau muab ntxig yog cov pins uas lawv txhua tus yuav raug txuas nrog. Lub ntsiab lus tsis txhob hais tias, "4" koj tsuas tuaj yeem hais hauv qab sab laug nyob txhua qhov chaw ntawm cov cai. Pawg tom ntej yog qhia LEDs rau OUTPUT thiab khawm rau INPUT. Tom ntej no los ntawm lub voj, uas yog qhov twg Arduino tau cim rau "yob" tus lej tsis raug. Qhov no tshwm sim vim tias koj ntxig randNumber.
Kauj Ruam 7: Kauj Ruam Ntxiv rau Kev Ua Haujlwm Zoo
Cov xov hlau ntawm lub khob cij tuaj yeem ua rau me ntsis zais cov LEDs, yog li rau kev tshaj lij, koj tuaj yeem txiav daim ntawv los yog daim ntawv tuab ua kom nrawm dua cov LEDs, thiab npog cov xov hlau thiab cov tiv thaiv. Qhov no yog qhov kev xaiv ua tiav, thiab nce mus rau koj tus saj.
Kauj Ruam 8: Xaus/Khoom Kawg
Hauv qhov xaus, koj yuav tsum muaj lub luag haujlwm Arduino tsuav, tsuas yog nias lub pob. Kuv suav nrog hauv qhov kev qhia nyeem kab lus no, duab, thiab yees duab ua haujlwm luv los pab koj nrog qhov no, yog li koj yuav tsum muaj peev xwm ua tiav nws. Raws li kuv tau hais ua ntej, qee qhov kev hloov kho uas koj tuaj yeem ua tau yog; ntxiv daim npav los npog rau kev tshaj lij, uas ua rau koj txoj haujlwm zoo dua qub thiab nthuav tawm.
Cov ntaub ntawv
Pom zoo:
Yuav Ua Li Cas Kho Yeeb Yaj Kiab Siv Adobe Premiere Pro ntawm Mac: 5 Kauj Ruam
Yuav Kho Li Cas Cov Yees Duab Siv Adobe Premiere Pro ntawm Mac: Intro: Xav kawm paub yuav kho cov vis dis aus li cas nrog kev yooj yim siv tsis tau tshaj lij software? Saib tsis muaj ntau dua li Adobe Premiere Pro. Nrog nws, koj tuaj yeem tsim cov duab swb yooj yim lossis cov yeeb yaj kiab nyuaj thiab txhua yam nyob nruab nrab. Kawm paub txog qhov pib hauv o
Yuav Ua Li Cas Nres Facebook Los Ntawm Kev Ua Yeeb Yaj Kiab Yeeb Yaj Kiab ntawm Android !!: 10 Kauj Ruam
Yuav Ua Li Cas Nres Facebook Los Ntawm Kev Ua Yeeb Yaj Kiab Yeeb Yaj Kiab ntawm Android !!: Cov lus qhia no yuav qhia koj yuav ua li cas thiaj tsis tso facebook los ntawm kev ua yeeb yaj kiab tsis siv neeg ntawm ob qho tib si cov ntaub ntawv thiab wifi ntawm ib qho khoom siv hauv AndroidPlease subscribe to my channelThanks
Yuav Ua Li Cas Tsim thiab Kho Yeeb Yaj Kiab hauv Premiere: 7 Kauj Ruam
Yuav Ua Li Cas Tsim thiab Kho Yeeb Yaj Kiab hauv Premiere: Nov yog cov lus qhia yooj yim yuav tsim thiab kho cov vis dis aus li cas hauv Adobe Premiere Elements 8.0
Yuav Ua Li Cas Ntsuas Ntsuas Yeeb Yaj Kiab Los Ntawm App: 5 Kauj Ruam
Yuav Ua Li Cas Ntsuas Duab Ntsuas Duab Los Ntawm App: Hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas thiab siv lub vijtsam ntsuab rau ua cov duab thiab yeeb yaj kiab. Muaj ob peb lub vijtsam ntsuab nyob rau ntawd koj tuaj yeem siv kom tau txais cov txiaj ntsig raug. Cov ntaub ntawv xav tau: Cov vis dis aus ntaus ntawv (tuaj yeem yog iPod, iPad, lossis
Yuav Ua Li Cas Teem Koj Tus Kheej Yeeb Yaj Kiab Yeeb Yaj Kiab hauv New York City Subway Thaum Koj Tsis Tuaj Yeem Tso Cai: 12 Kauj Ruam
Yuav Ua Li Cas Thiaj Li Yeeb Yaj Kiab Yeeb Yaj Kiab Yeeb Yaj Kiab Hauv New York City Subway Thaum Koj Tsis Muaj Peev Xwm Tso Cai: Qhov no yog cov lus qhia yooj yim rau cov neeg ua yeeb yaj kiab ywj pheej tawm muaj leej twg muaj kev npau suav ntawm tua qhov xwm txheej zoo nkauj hauv New York City txoj kev tsheb ciav hlau zoo nkauj tab sis leej twg tsis tuaj yeem them taus ntau txhiab daus las uas xav tau kom tau txais daim ntawv tso cai tua raug cai