Cov txheej txheem:

Cov Tshuab niaj zaus: 5 Kauj Ruam
Cov Tshuab niaj zaus: 5 Kauj Ruam

Video: Cov Tshuab niaj zaus: 5 Kauj Ruam

Video: Cov Tshuab niaj zaus: 5 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
Image
Image
Lub Tshuab
Lub Tshuab

Nov yog lub tshuab rau ceeb toom koj txog yam uas koj yuav hnov qab thaum koj tawm hauv koj lub tsev.

1. Muab tus yuam sij rau sab ntxiv ntawm lub tshuab. Muab txhua yam koj yuav tsum nqa nrog koj thaum koj tawm hauv koj lub tsev mus rau hauv lub thawv. Khaws ib co ntawv sau rau ntawm lub npov kom ceeb toom koj txog yam khoom.

2. Thaum koj tawm mus, tom qab koj nyeem daim ntawv ceeb toom ntawm lub npov, nyem lub pob, tom qab ntawd lub teeb liab liab yuav ci, thiab tus yuam sij yuav tig rau koj.

3. Nqa tus yuam sij mus, ua raws daim ntawv ceeb toom tom qab ntawd tawm mus.

Nco tseg: tus yuam sij tuaj yeem hloov nrog txhua yam uas koj xav nqa nrog koj thaum koj tawm mus.

Kauj ruam 1: Cov ntaub ntawv

1 - Arduino Leonardo Board (Arduino Uno)

1 - Daim ntawv qhia zaub mov

1 - Servo tsav

1 - Liab LED

1 - 100 ohm tsis kam

1 - 10k ohm tsis kam

7 - cov xov hlau txuas

1 - 9V roj teeb lossis lub txhab nyiaj fais fab

Jumper xov hlau

Kauj Ruam 2: Txuas Cov Hluav Taws Xob

Txuas Cov Hluav Taws Xob
Txuas Cov Hluav Taws Xob
Txuas Cov Hluav Taws Xob
Txuas Cov Hluav Taws Xob
Txuas Cov Hluav Taws Xob
Txuas Cov Hluav Taws Xob

5V - zoo

GND - tsis zoo

Khawm - Tus lej digital 2

Servo motor - Cov lej digital 10

LED - Tus lej pin 12

Kauj ruam 3: Coding

Txheeb cov cai ntawm no lossis rub tawm cov ntawv:

Kauj ruam 4: Txuas rau Roj Teeb

Txuas rau Roj Teeb
Txuas rau Roj Teeb

Kauj ruam 5: Kho nws

Kho nws!
Kho nws!
Kho nws!
Kho nws!

Ua ib lub thawv kom zais koj daim ntawv Arduino.

1. Poke qhov ntawm lub npov rau lub pob thiab lub tshuab servo.

2. Siv 2 txoj hlua txuas txuas txuas rau LED

3. Kaw kab ntawv, LED thiab servo motor ntawm lub npov

4. Kaw lub thawv

5. Ua tus pas kom koj cov yuam sij muab tso rau nws

6. Khaws lub iav ntawm lub cav servo rau ntawm tus pas koj tau ua

7. Txuas lub iav ntawm servo motor

Kuaj yog tias tus qauv ua haujlwm.

Tom qab ntawd, nws ua tiav!

Pom zoo: