Cov txheej txheem:

Yooj Yim Arduino Teeb Tsom Teeb!: 5 Kauj Ruam
Yooj Yim Arduino Teeb Tsom Teeb!: 5 Kauj Ruam

Video: Yooj Yim Arduino Teeb Tsom Teeb!: 5 Kauj Ruam

Video: Yooj Yim Arduino Teeb Tsom Teeb!: 5 Kauj Ruam
Video: Qhia Siv Program Screen Capture Camtasia Studio 8 Tutorial 2024, Kaum ib hlis
Anonim
Yooj Yim Arduino Teeb Tsom Teeb!
Yooj Yim Arduino Teeb Tsom Teeb!

Hnub no lub voj voog yog kev lom zem me ntsis Arduino project rau kev cais tawm! Lub voj voog no tsom mus rau ob yam khoom nthuav; Relay SPDT & Photoresistor. Ntxiv mus, lub hom phiaj ntawm kev xa xov yog los hloov pauv hauv Circuit Court hauv tshuab hluav taws xob. Ntxiv mus, photoresistor/LDR lub hom phiaj yog txhawm rau txheeb xyuas lub teeb & hloov pauv raws li qhov nyiaj.

Kauj ruam 1: Cov ntaub ntawv

- Cov Cij me me (1); pab txhim kho kom zoo dua qub

- Arduino Uno R3 (1)

- 1K Resistor (1)

- Tus kws kho qhov muag (1)

- Teeb Lub Teeb (1)

- Lub Hwj Huam (1); voltage & tam sim no yuav tsum yog 5

Relay SPDT (1); nce qhov hluav taws xob kom ntseeg tau tias Circuit yuav ua haujlwm

Kauj ruam 2: Circuit Court

Thawj zaug pib los ntawm kev tshem tawm koj lub khob cij nrog rau Arduino thiab txuas cov xov hlau rau cov pins pom hauv daim duab duab.

Kauj Ruam 3: Ntxiv Nta Ntxiv

Thaum koj tau ntxiv koj cov yam ntxwv yooj yim; tom qab ntawd koj tuaj yeem txuas ntxiv rau lub teeb, txuas, txuas, tiv thaiv hluav taws xob thiab LDR (koj tuaj yeem pom qhov kev tso kawm thiab txuas hauv daim duab).

Kauj ruam 4: Coding

Coding
Coding

Thaum kawg, tom qab ua tiav cov Circuit thiab thaiv koj tuaj yeem txav mus rau coding. Cov kauj ruam no yooj yim heev, saib cov duab hauv qab no thiab ntxig qhov coding no rau hauv koj li TinkerCAD cov cai nyob rau saum kaum sab xis. Cov kab saum toj kawg nkaus qhia tau tias tus pin analog A0 tam sim no tau muab tso rau hauv hom txuas. Ntxiv mus, tab tom tshuaj xyuas tus nqi tiag; tus lej digital 4 nyob qis qis yog tias tus lej A0 sib npaug lossis ntau dua 500 thiab yog tias tus nqi tsawg dua nws nyob ntawm siab. Thaum kawg, txoj cai qhia pom tias qhov txuas tau txuas nrog tus pin 4.

Kauj ruam 5: Koj ua tiav

Yog tias koj tau ua tiav tag nrho cov theem no koj lub Circuit Court yuav tsum tam sim no ua haujlwm! yog tias koj muaj lus nug txog qhov Circuit no thov tso lawv tseg hauv qab no.

Pom zoo: