Cov txheej txheem:

TinkerCAD Ultrasonic Distance Sensor Circuit (Computer Eng Final): 4 Kauj Ruam
TinkerCAD Ultrasonic Distance Sensor Circuit (Computer Eng Final): 4 Kauj Ruam

Video: TinkerCAD Ultrasonic Distance Sensor Circuit (Computer Eng Final): 4 Kauj Ruam

Video: TinkerCAD Ultrasonic Distance Sensor Circuit (Computer Eng Final): 4 Kauj Ruam
Video: simulation of Ultrasonic sensor with arduino in tinkercad 2024, Kaum ib hlis
Anonim
TinkerCAD Ultrasonic Distance Sensor Circuit (Computer Eng Kawg)
TinkerCAD Ultrasonic Distance Sensor Circuit (Computer Eng Kawg)

Tinkercad Cov Haujlwm »

Peb yuav tsim lwm qhov kev lom zem tinkerCAD Circuit kom ua thaum cais tawm! Niaj hnub no muaj qhov sib ntxiv ntawm cov khoom nthuav, koj puas tuaj yeem kwv yees? Zoo peb yuav siv lub Ultrasonic Distance Sensor! Ntxiv mus, peb yuav mus rau cov lej rau 3 LEDs uas yuav pab peb txiav txim siab qhov khoom nyob deb npaum li cas. Yog li, dab tsi txawm tias yog qhov deb sensor? Lub ntsuas ntsuas nrug siv echolocation/nthwv dej, xws li puav thiab qee yam tsiaj hiav txwv los txiav txim siab qhov sib thooj ntawm ib yam khoom. Qhov no tso cai rau Arduino program txhawm rau txiav txim siab tias cov khoom nyob deb npaum li cas los ntawm lub sensor. Lub voj voog no tau cuam tshuam los ntawm cov lus qhia hu ua "Ultrasonic Distance Sensor in Arduino With Tinkercad".

Khoom siv

- Arduino Uno r3 (1) Nqe: $ 13.29 CAD

- Cov Ntawv Caij Nyoog Me (1) Nqe: $ 10.99 CAD

- Zaum Sensor (1) Nqe: $ 3.68 CAD

- LED (3) Nqe: $ 10.18 CAD

- 300Ω Resistor (3) Nqe: $ 7.15 CAD

Cov Khoom Siv Hluav Taws Xob Tus Nqi: 17.99 CAD

Kauj Ruam 1: Pib Tsim Circuit Court

Pib Tsim Circuit Court
Pib Tsim Circuit Court
Pib Tsim Circuit Court
Pib Tsim Circuit Court

Thawj zaug pib los ntawm kev tshem tawm koj lub khob cij nrog rau Arduino los ntawm ntu ntu. Tom ntej no koj tuaj yeem txuas ob qho koj hauv av {-} & lub zog {+} thiab txuas rau sab nraum tus pin ntawm lub khob cij (raws li pom hauv duab). Tam sim no koj tuaj yeem rub koj tus lej 4 Tus Zauv Sensor, tso nws ntsia ntawm tus pin 26 mus rau tus lej 29 hauv kab C ntawm daim txiag ntoo. Txuas txuas ntxiv, koj lub ntsuas ntsuas nrug los ntawm kev ntxiv Arduino tus pin 4 mus rau tus pin 27 A ntawm daim txiag ntoo & Arduino tus pin -3 rau tus pin 28 A ntawm daim txiag ntoo.

Kauj Ruam 2: Teeb LED

Cov kab hluav taws xob LED
Cov kab hluav taws xob LED

Tam sim no koj tuaj yeem nqa 3 LED's rau koj lub khob cij; muab lawv tso ua kab G nrog thawj LED cathode pib ntawm tus pin 2. Tom qab ntawd txuas ntxiv tso txhua LED 2 tus pin ib feem (koj tuaj yeem hloov xim ntawm LED los ntawm tapping rau nws nrog koj nas). Tam sim no koj tuaj yeem txuas ntxiv rau ib qho 300Ω resistor rau txhua LED's anode (3 hauv tag nrho); cov resistors no yuav tsum tau muab tso los ntawm lawv tus pin sab saum toj hauv kab F thiab tus lej hauv qab hauv kab D. Ntxiv mus, ntxiv xaim txuas los ntawm LED lub cathode; kab F mus rau txoj kev tsheb nqaj hlau hauv av (-). Thaum kawg, ntxiv 3 xov txuas los ntawm Arduino pins rau breadboard hauv qab resistors (kab C); Arduino tus pin 12 mus rau daim txiag ntoo 4 C, Arduino tus pin 8 rau daim txiag ntoo 8 C & Arduino tus pin -5 mus rau daim txiag ntoo 12 C.

Kauj Ruam 3: Thaiv Txoj Cai

Thaiv Txoj Cai
Thaiv Txoj Cai

Txhawm rau pib qhib "chaws" (pom sab xis saum toj ntawm tinkerCAD) muaj ntau txoj kev xaiv nthuav tawm thaum qhib. Txhua qhov thaiv peb tau ntxiv yuav ua rau muaj kev cuam tshuam yooj yim thiab tswj peb 3 LED's. Ua ntej tshaj ntxiv thawj lub thawv pom hauv daim duab saum toj no. Tam sim no koj muaj ob peb lub thawv tso peb tuaj yeem hloov qee qhov txiaj ntsig. Hauv qhov kev hloov pauv "cov tswv yim" thaiv rau cm tus nqi ua rau peb txhua tus lej hauv qhov ntsuas no. Ntxiv mus, rau ob qhov kev teeb tsa lej (ntsuab thaiv), hloov qhov tseem ceeb rau <70 hauv thawj lub thawv ces <150. Ntxiv mus, koj tuaj yeem ntxiv 3 qhov tso tawm digital hauv kab lus nws tus kheej, teeb tus pin 12 rau siab thiab tus pin 3 & 5 rau qis (txuas nrog LED's); theej tawm ob zaug txawm li cas los hloov thib ob rau 12 thiab 5 qis thiab 3 rau siab, rov ua rau qhov thaiv kawg; 12 & 3 qis thiab 5 siab.

Kauj Ruam 4: Kev Ua Haujlwm tiav

Kev Ua Si Ua Ntej!
Kev Ua Si Ua Ntej!

ZOO SIAB !!! Yog tias koj tau ua tiav tag nrho cov theem no koj lub Circuit Court yuav tsum tam sim no ua haujlwm! Tam sim no koj tuaj yeem xaiv los tsim qhov kev hloov pauv tiag tiag ntawm Circuit no yog tias koj xav tau! yog tias koj muaj lus nug txog qhov Circuit no thov tso lawv rau hauv qab no!

Pom zoo: