Cov txheej txheem:

Qhov Teeb Pom Kev: 8 Kauj Ruam
Qhov Teeb Pom Kev: 8 Kauj Ruam

Video: Qhov Teeb Pom Kev: 8 Kauj Ruam

Video: Qhov Teeb Pom Kev: 8 Kauj Ruam
Video: Tus Neeg Ruam - R-Lin Thoj | New Song [ Official MV ] Nkauj Tawm Tshiab 2023 Hmong Song 2023 2024, Kaum ib hlis
Anonim
Khiav Teeb
Khiav Teeb

Zoo siab txais tos rau kuv Thawj Kev Qhia rau kuv thawj qhov Arduino project!

Kauj Ruam 1: Kauj Ruam 1: Cov Khoom

Kauj ruam 1: Cov ntaub ntawv
Kauj ruam 1: Cov ntaub ntawv

-Arduino Leonardo

-Solderless Breadboard

-3mm LEDs x 10 (koj tuaj yeem siv txhua xim uas koj nyiam), 3.2-3.4V

-100-ohm resistors (xav tau 10)

- Creadboard jumper xov hlau (xav tau 31)

Kauj Ruam 2: Kauj Ruam 2: Kev Sib Txuas Breadboard: LEDs

Kauj Ruam 2: Kev Sib Txuas Breadboard: LEDs
Kauj Ruam 2: Kev Sib Txuas Breadboard: LEDs

Rau txoj haujlwm no, peb yuav siv lub lauj kaub tais diav uas tsis txhuam kom yooj yim los ua ke. Peb yuav pib nrog cov LEDs.

-Qhov pib ntawm kab ntawv twg ntawm daim ntawv qhia zaub mov koj xav tau, txuas qhov anode (tus pin ntev dua) ntawm txhua LED hauv ntu ua ke rau Kab J ntawm lub khob cij. Nov yog kab hauv qab ua ntej lub tsheb ciav hlau.

-Connect cathode (tus pin luv) rau kab "-" kab ntawm txoj kev tsheb nqaj hlau.

-Connect tus so ntawm LEDs hauv kab no tib lub zam, tawm hauv qhov chaw me me ntawm txhua qhov yog tias koj xav tau. Vim tias qhov anode ntawm txhua LED nyob hauv ib kem cais ntawm lub khob cij, nws yuav tau txais nws tus kheej lub zog los ntawm tus lej tshwj xeeb ntawm Arduino, tso cai rau tus kheej tswj. Txhua qhov cathodes tau txuas nrog "-" kab ntawm txoj kev tsheb nqaj hlau kom lawv tuaj yeem sib qhia sib txuas hauv av rov qab mus rau Arduino.

Kauj Ruam 3: Kauj Ruam 3: Kev Sib Txuas Breadboard: Resistors

Kauj Ruam 3: Kev Sib Txuas Breadboard: Resistors
Kauj Ruam 3: Kev Sib Txuas Breadboard: Resistors

Txhua LED nyob rau hauv ib theem zuj zus yuav xav tau tus tiv thaiv yog li nws tsis rub ntau dhau tam sim no thiab tsis muaj kev puas tsuaj loj.

-Cov ze tshaj qhov tiv thaiv uas kuv muaj yog 100Ω yog li kuv siv qhov ntawd. Nws cov xim xim yog Xim av-Dub-Xim av-Kub.

-Txuas ib kawg ntawm txhua tus tiv thaiv kab hauv kab (hauv tib kab) nrog nws LED, sab xis ntawm qhov txuas txuas.

Kauj Ruam 4: Kauj Ruam 4: Kev Sib Txuas Breadboard: Jumpers

Kauj Ruam 4: Kev Sib Txuas Breadboard: Jumpers
Kauj Ruam 4: Kev Sib Txuas Breadboard: Jumpers

-Kev siv kab "A" rau ib kawg ntawm txhua lub jumper hlau uas yuav txuas rau Arduino. Nco ntsoov tias txhua lub xov hlau jumper txuas nrog tib kab ntawv raws li nws qhov cuam tshuam tiv thaiv thiab LED. Yuav tsum muaj 10 ntawm cov dhia no.

-Lub 11 jumper txuas cov cathodes ntawm txhua LED rov qab rau GND ntawm Arduino. Muab ib qho kawg ntawm cov jumper no tso rau hauv kab "-", ua kom nws tsis dhau los ntawm kev tawg hauv lub khob cij.

Kauj Ruam 5: Kauj Ruam 5: Kev Sib Txuas Arduino

Kauj Ruam 5: Kev Sib Txuas Arduino
Kauj Ruam 5: Kev Sib Txuas Arduino

Peb yuav siv tus pin 3-7 thiab 9-13 ntawm Arduino mus rau qhov hluav taws xob tso tawm rau tus kheej LEDs. Rau qhov rov qab los, Kuv siv tus pin hauv av ntawm Arduino uas nyuam qhuav dhau tus pin 13. Peb tsis siv tus pin 0-1 vim tias lawv tau koom nrog hauv kev sib txuas lus. Txwv tsis pub, qhov sib nrug ntawm kev sib txuas yog qhov ncaj ncees yam tsis yog qhov ua kom haum. Koj tuaj yeem pib los ntawm ntsaws cov xaim hluav taws xob txuas rau hauv Arduino lossis ua kab A ntawm lub khob cij. Kuv tso qee qhov khoob me me hauv lub khob cij tsuas yog li cov kab xev tsis dhau.

Kauj Ruam 6: Kauj Ruam 6: Muab Txoj Cai Rau Hauv Arduino

Kauj Ruam 6: Muab Txoj Cai Rau Hauv Arduino
Kauj Ruam 6: Muab Txoj Cai Rau Hauv Arduino

koj yuav tsum tso tus lej Kuv yuav muab rau koj hauv qib 11 rau hauv koj li Arduino

Kauj Ruam 7: Kauj Ruam 7: Txaus siab rau Cov Txiv Hmab Txiv Ntoo ntawm Koj Txoj Haujlwm

Kauj Ruam 8: Kauj Ruam 8: Txoj Cai Nws Tus Kheej

create.arduino.cc/editor/luanli/817ecf2a-55da-4c9d-bfe4-7a7286b9c524/preview

Pom zoo: