Cov txheej txheem:

Tsheb Teeb LED: 4 Kauj Ruam
Tsheb Teeb LED: 4 Kauj Ruam

Video: Tsheb Teeb LED: 4 Kauj Ruam

Video: Tsheb Teeb LED: 4 Kauj Ruam
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Hlis ntuj nqeg
Anonim
Tsheb Teeb LED
Tsheb Teeb LED

Tau los ntawm:

Arduino Traffic Light yog txoj haujlwm nrawm, yooj yim, thiab lom zem uas tuaj yeem ua tiav tsawg dua ib teev.

Hloov pauv:

- Khawm

Thawj qhov haujlwm yog tias nws tsuas yog ua kom hloov lub teeb yam tsis muaj khawm. Kuv hloov nws mus yog tias koj nias lub pob LED teeb yuav qhib.

- Ib lub pob rau 1 lub teeb

Kuv teeb tsa 3 khawm, ib qho rau txhua xim. Txhua lub khawm tswj ib qho xim, yog li thaum koj xav siv xim koj tsis tas yuav tos, hloov koj tuaj yeem nias lub pob.

Kauj Ruam 1: Kauj Ruam 1: Cov Khoom

Npaj cov ntaub ntawv

-Breadboard x1

-Qhov x 1, Ntsuab x1, Liab x1 LEDs

- Txuas Cov Xov

- Laub khawm x3

- 220-ohm resistors x3

-10k-ohm resistor x3

Kauj Ruam 2: Kauj Ruam 2: Lub Tsev

Kauj Ruam 2: Lub Tsev
Kauj Ruam 2: Lub Tsev
Kauj Ruam 2: Lub Tsev
Kauj Ruam 2: Lub Tsev
Kauj Ruam 2: Lub Tsev
Kauj Ruam 2: Lub Tsev

Txuas cov xov hlau nrog cov laub khawm thiab LEDs.

1. Txuas lub anode ntawm LED rau tus lej tus lej 8, 9, 10 tom qab ntawd txuas cov cathodes rau lub rooj tsavxwm uas qhia hauv daim duab #2 thiab #3

2. Txuas cov xov hlau mus rau LEDs

3. Rov ua cov kauj ruam qub qub qub ib zaug

3. Txuas cov xov hlau mus rau lub pob txhawm rau txhawm rau tswj cov LED pom hauv daim duab #3 thiab #4

4. Rov ua cov kauj ruam qub ib zaug ob zaug kom txhua LED tau txais lub pob

Kauj Ruam 3: Kauj Ruam 3: Upload

Kauj ruam 3: Upload
Kauj ruam 3: Upload

Txuas thiab upload

Txoj Cai yog qhov txuas hauv qab no

create.arduino.cc/editor/chloesheu/a8f2e1b…

Kauj Ruam 4: Kauj Ruam 4: Tiav lawm

Kauj ruam 4: Tiav lawm!
Kauj ruam 4: Tiav lawm!

Kuv siv ib lub thawv los kho kom zoo nkauj

www.youtube.com/embed/brvvxEPYTKc.

Pom zoo: