Cov txheej txheem:

Nco Txog Tus Kheej Tus Kheej: 5 Kauj Ruam
Nco Txog Tus Kheej Tus Kheej: 5 Kauj Ruam

Video: Nco Txog Tus Kheej Tus Kheej: 5 Kauj Ruam

Video: Nco Txog Tus Kheej Tus Kheej: 5 Kauj Ruam
Video: pas dej nro -Noov yaj Tus kheej - [official Audio]-nkauj tawm tshiab 2022-2023 2024, Kaum ib hlis
Anonim
Image
Image
Nco Txog Tus Kheej
Nco Txog Tus Kheej

Kuv ntseeg tias peb txhua tus muaj qee qhov kev paub zoo ib yam ntawm kev hnov qab nqa peb cov khoom nrog peb tom qab tawm hauv peb lub tsev. Qhov ntawd yog ib qho yuam kev peb ua hauv peb txhua lub neej niaj hnub. Txhawm rau zam qhov ntawd, Kuv muaj lub tswv yim ntawm lub cuab yeej uas tuaj yeem ceeb toom peb kom tsis nco qab cov khoom ntawd. Hauv txoj haujlwm qhia no, Kuv yuav siv Arduino Leonardo Circuit los tsim lub tshuab uas yuav ceeb toom cov npe khoom uas peb xav tau nqa thaum mus nraum zoov kom peb tuaj yeem tshawb xyuas yog tias peb nqa nws los tsis tau. Tom qab koj txheeb xyuas txhua yam khoom, lub cav yuav txav mus, thiab lub xauv tig kom lub qhov rooj tuaj yeem qhib thiab koj tuaj yeem tawm sab nraum zoov nrog txhua yam ntawm koj cov khoom nrog koj.

Khoom siv

1. Arduino (Kuv siv Leonardo circuits)

2. Push Button (https://www.amazon.com/-/zh_TW/dp/B07SVTQ7B9/ref=l…)

3. Servomotor (https://www.jsumo.com/futaba-s3003-servo-motor)

4. LCD npo (https://www.eu.diigiit.com/lcd-screen-20x4-characte…)

5. Creadboard (https://www.adafruit.com/product/64)

6. Cov Hluav Taws Xob Hluav Taws Xob, tiv taus (https://www.evelta.com/33-ohm-resistance-pack-1-4-…)

7. Ntawv Box, Ntawv Board

Kauj Ruam 1: Txuas Cov Khoom Siv

Txuas Cheeb Tsam
Txuas Cheeb Tsam
Txuas Cheeb Tsam
Txuas Cheeb Tsam

Raws li daim duab qhia, ntsaws cov khoom sib txuas rau ntawm daim ntawv tais thiab tsis txhob hnov qab txuas lub khob cij nrog Arduino Circuit.

(qhov tsis kam hauv daim duab yuav tsum yog xiav, tsis yog daj)

Kauj ruam 2: Code

Code
Code
Code
Code

Kuv siv Ardublock los tsim cov cai.

Qhov txuas ntawm tus lej:

Koj tuaj yeem hloov cov khoom mus rau txhua yam koj xav tau raws li koj lub neej niaj hnub, hauv daim vis dis aus thaum pib, kuv tsuas yog "daim npog" rau qhov ua rau nco. Tab sis hauv txoj cai no, kuv kuj ntxiv xov tooj, hnab nyiaj, thiab lub kaus rau hauv daim ntawv teev npe

Nco ntsoov rub cov tsev qiv ntawv no rau hauv koj li chaws

1.

2.

3.

Kauj Ruam 3: Ua Daim Ntawv Qhov Rooj Xauv

Image
Image

Raws li cov vis dis aus tau qhia, Kuv siv daim ntawv los txiav lawv mus rau hauv cov duab uas kuv xav tau rau lub qhov rooj xauv (muaj qhov tshwj xeeb ntev thiab qhov loj ntawm qhov kuv txiav nws koj tuaj yeem xa nws hauv cov vis dis aus saum toj no) Thiab tom qab ntawd, vim kuv paub daim ntawv lub rooj tsavxwm tsis tuab txaus, Kuv txiav lwm daim ntawm cov duab zoo ib yam thiab lo lawv ua ke. Thaum kawg, Kuv siv daim kab xev txhawm rau kho daim ntawv rau ntawm servos motor. Tom qab kuaj daim ntawv tuaj yeem txav tau zoo, daim ntawv yooj yim kaw qhov rooj ib feem ua tiav!

Kauj ruam 4: Kho kom zoo nkauj

Kho kom zoo nkauj
Kho kom zoo nkauj

Kuv kho kuv lub tshuab los ntawm kev zais cov kab hluav taws xob thiab cov xov hlau rau hauv lub thawv ntawv, tsis muaj qhov txwv me me rau lub thawv, Kuv tsuas yog txiav nws rau qhov loj me kuv xav tau thiab txiav qee qhov rau lub vijtsam LCD thiab Push-button kom pom. Koj tseem tuaj yeem pleev xim lub thawv rau xim uas koj xav tau, Kuv pleev xim rau xim dub piv txwv. (nco ntsoov siv cov ntaub thaiv tsis txhob siv cov xim dej kom cov xim yuav qhuav yooj yim dua)

Kauj ruam 5: Ua tiav

Ua tiav!
Ua tiav!

Koj tuaj yeem teeb nws ntawm lub qhov rooj lossis muab tso rau ib sab ntawm lub qhov rooj, thiab koj tseem tuaj yeem hloov cov npe khoom raws li koj xav tau txhua hnub.

Pom zoo: