Cov txheej txheem:

Ntse USB LED Tswmciab: 7 Kauj Ruam
Ntse USB LED Tswmciab: 7 Kauj Ruam

Video: Ntse USB LED Tswmciab: 7 Kauj Ruam

Video: Ntse USB LED Tswmciab: 7 Kauj Ruam
Video: Военные тактические часы-Топ-10 самых жестких военных ч... 2024, Hlis ntuj nqeg
Anonim
Ntse USB LED Tswmciab
Ntse USB LED Tswmciab
Ntse USB LED Tswmciab
Ntse USB LED Tswmciab

Cov lus qhia no qhia yuav ua li cas thiaj ua USB LED tswm ciab uas tig rau thaum nws tsaus ntuj.

Txoj haujlwm no yog ua rau chav Kawm Yog Yog Li No, Tom Qab Qhov Uas Kuv Ua Raws Ntawm HKU.

NB: Txoj haujlwm no tau hloov pauv mus rau qhov zoo nkauj zoo nkauj thiab txhim kho thev naus laus zis.

Kauj ruam 1: Yuav tsum tau ua

- Arduino Ib

- LED teeb

- LDR (kws kho qhov muag)

- 220 thiab 10k ohm resistors

- cov kab

-daim ntawv qhia

-daim npav lub thawv ntawv

- qhwv ntawv

- tswm ciab

Kauj Ruam 2: Kev Sib Txuas Arduino

Arduino Kev Sib Txuas
Arduino Kev Sib Txuas
Arduino Kev Sib Txuas
Arduino Kev Sib Txuas
Arduino Kev Sib Txuas
Arduino Kev Sib Txuas

Nov yog qhov koj yuav tsum muab txhua yam ua ke.

Kauj ruam 3: Code

Code
Code

Yooj yim yooj yim, qhov no yog tus lej uas kuv tau qiv los ntawm cov lus qhia no nyob ntawm no.

Kauj ruam 4: TEST

TEST
TEST
TEST
TEST

Ib qho ntawm cov kauj ruam tseem ceeb tshaj plaws yuav yog TEST yog tias koj txoj haujlwm ua haujlwm. Koj tsis xav sau txhua yam ua ke ua ntej koj paub yog tias koj tab tom ua haujlwm li cas tiag.

Ntawm qhov tod tes, txoj hauv kev zoo tshaj plaws kom tsis txhob hnov qab qhov no yog ua kom hnov qab ob peb zaug ua ntej…

Kauj ruam 5: Pib Tsim

Pib Tsim!
Pib Tsim!
Pib Tsim!
Pib Tsim!
Pib Tsim!
Pib Tsim!
Pib Tsim!
Pib Tsim!

Tam sim no koj tuaj yeem pib scurrying ib puag ncig nrhiav lub thawv zoo rau koj txoj haujlwm. Hauv kuv qhov xwm txheej kuv muaj lub thawv ntawv me me los tuav Arduino nws tus kheej thiab tus tuav tswm ciab nrog qhov rau tswm ciab thiab cov xov hlau tawm.

Tom qab koj ua tiav tag nrho txhua ntu ua ke, tsis txhob hnov qab TEST !!!!

Kauj Ruam 6: Soldering & Wrapping

Soldering & Wrapping
Soldering & Wrapping
Soldering & Wrapping
Soldering & Wrapping

Tam sim no koj tuaj yeem tso lub khob cij tawm thiab muab tshuaj txhuam rau txhua qhov ua ke kom ntseeg tau tias txhua yam tau ruaj khov.

Kauj ruam 7: Txaus siab rau

Txaus siab rau!
Txaus siab rau!
Txaus siab rau!
Txaus siab rau!

Nrog koj zoo siab! Koj ua tau zoo heev thiab tseem ceeb dua, lub cuab yeej zoo nkauj heev uas tsis siv ntau qhov chaw ntawm koj lub rooj txhua!

Pom zoo: