Cov txheej txheem:

DARKNESS LEVEL INDICATOR: 8 Kauj Ruam
DARKNESS LEVEL INDICATOR: 8 Kauj Ruam

Video: DARKNESS LEVEL INDICATOR: 8 Kauj Ruam

Video: DARKNESS LEVEL INDICATOR: 8 Kauj Ruam
Video: 20 MOMENTS YOU WOULDN'T BELIEVE IF NOT FILMED 2024, Hlis ntuj nqeg
Anonim
DARKNESS LEVEL INDICATOR
DARKNESS LEVEL INDICATOR

Koj yuav tau pom ntau txoj haujlwm arduino uas lub teeb tau qhib thaum lawv tsaus ntuj. Tab sis koj puas tau xav ntau npaum li cas qhov tsaus ntuj yuav tsum yog lawv qhib lub teeb.

Yog li tam sim no peb yuav kawm paub yuav ua li cas qhov ntsuas qhov tsaus ntuj siv qhov arduino hauv ob peb kauj ruam yooj yim

Kauj ruam 1: Sau cov hauv qab no

1. Arduino UNO R3: Nyem qhov no!

2. Jumper xov hlau: Nyem qhov no!

3. Cov laug cam tsis muaj kab: Nyem rau ntawm no!

4. L. E. D teeb: nyem ntawm no!

5. LDR lossis photoresistors: Nyem qhov no!

6. Jumper xov hlau: Nyem qhov no!

Kauj Ruam 2: Muab L. E. D.s tso rau ntawm Breadboard

Muab L. E. D.s tso rau ntawm Breadboard
Muab L. E. D.s tso rau ntawm Breadboard

Tom qab sau tag nrho cov khoom siv xav tau. Tam sim no, tso L. E. Ds nyob rau hauv ib txoj kev uas txhua tus anode pins (-ve terminals) txuas nrog ua ke tab sis tsis yog cathode pins raws li qhia hauv daim duab.

Kauj Ruam 3: Txuas Jumper Wires

Txuas Jumper Wires
Txuas Jumper Wires

Tam sim no tom qab kev txhim kho tag nrho cov LE, txuas lub xaim hluav taws xob txuas rau cathode pins ntawm txhua qhov LEES Tsis tas li, txuas lub xov hlau jumper qhov twg txhua tus pin anode txuas nrog ib leeg.

Kauj Ruam 4: Txuas LEAD nrog Arduino

Txuas LEAD nrog Arduino
Txuas LEAD nrog Arduino

Tam sim no, txuas cov xov hlau jumper nrog arduino li

L. E. D. 1 -------- PIN 3 ntawm arduino

L. E. D. 2 -------- PIN 4 ntawm arduino

L. E. D. 3 -------- PIN 5 ntawm arduino

L. E. D. 4 -------- PIN 6 ntawm arduino

L. E. D. 5 -------- PIN 7 ntawm arduino

L. E. D. 6 -------- PIN 8 ntawm arduino

L. E. D. 7 -------- PIN 9 ntawm arduino

L. E. D. 8 -------- PIN 10 ntawm arduino

L. E. D. 9 -------- PIN 11 ntawm arduino

txhua qhov anode pins hlau -------- GND ntawm arduino

Kauj Ruam 5: Txuas LDR

Txuas LDR
Txuas LDR

Tam sim no, txuas LDR lossis photoresistor nrog arduino rau analog pin0 nrog rau resistors.

Kauj Ruam 6: Tshaj Tawm Txoj Cai

Rub tawm Txoj Cai
Rub tawm Txoj Cai

Tam sim no txuas arduino board nrog Laptop/ PC txhawm rau tso cai rau hauv pawg thawj coj

CODE: NYEEM NTAWV

Kauj Ruam 7: Xeem

Kev Xeem
Kev Xeem

Tom qab xa cov cai, sim nws !!

Kauj Ruam 8: Txhawm rau nkag siab zoo dua

Kom nkag siab qhov haujlwm no zoo dua. Saib cov vis dis aus no thiab nug koj qhov ua xyem xyav muaj feem cuam tshuam nrog cov haujlwm no. Nyem qhov no !!

Txhawm rau kawm paub ntau ntxiv txog qhov txias thiab zoo tshaj txoj haujlwm

SUBSCRIBE NAWB: NYEEM NTAWV NO

Pom zoo: