Cov txheej txheem:

Yuav Ua Li Cas Thiaj Tsis Tiv Thaiv Neeg Hlau: 6 Kauj Ruam
Yuav Ua Li Cas Thiaj Tsis Tiv Thaiv Neeg Hlau: 6 Kauj Ruam

Video: Yuav Ua Li Cas Thiaj Tsis Tiv Thaiv Neeg Hlau: 6 Kauj Ruam

Video: Yuav Ua Li Cas Thiaj Tsis Tiv Thaiv Neeg Hlau: 6 Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim
Yuav Ua Li Cas Thiaj Tsis Txhob Cuam Tshuam Neeg Hlau
Yuav Ua Li Cas Thiaj Tsis Txhob Cuam Tshuam Neeg Hlau

Obstacle Zam Txim Neeg Hlau yog neeg hlau yooj yim uas ua haujlwm los ntawm arduino thiab nws ua dab tsi yog tias nws tsuas yog ncig ib puag ncig thiab zam dhau cov teeb meem. Nws kuaj pom qhov teeb meem nrog HC-SR04 lub ntsuas hluav taws xob ua lwm yam lus yog tias tus neeg hlau hnov cov khoom nyob ze nws, nws yuav siv kev hloov pauv thiab txav mus rau qhov chaw nyab xeeb (Sab laug lossis Txoj Cai) thiab zam kev sib tsoo rau ib yam khoom ib puag ncig tus neeg hlau. Nws yog ib txoj haujlwm yooj yim uas txhua tus tuaj yeem tsim tau. Yog li Yog Koj Puas Tau Xav txog kev tsim tus neeg hlau tab sis xav tias nws nyuaj heev thiab raug nqi, ua tib zoo sim qhov no, nws tsis yog. hauv kev ua ntawm no Ua Yeeb Yaj Kiab

Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau

Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau

1xArduino Uno R31xHC SR- 04 (ultrasonic sensor) 1xL293D Tsav tsheb IC1xRobot chassis2xWheels2x Gear Motor1x Castor wheel1x Lub txhab nyiaj lossis 5v roj teeb 1xBreadBoard txuas cov xov hlau

Kauj Ruam 2: Txuas mus Yuav Cov Khoom Siv

Txuas mus Yuav Cov Khoom
Txuas mus Yuav Cov Khoom

Kos Ntawm No Peb Pom

Kauj Ruam 3: Daim duab Circuit Court

Daim duab Circuit Court
Daim duab Circuit Court

Kauj ruam 4: Cov kauj ruam

Cov kauj ruam
Cov kauj ruam

Ua kom lub chassis npaj thiab nrhiav qhov chaw zoo los txhim kho arduino, qhob cij bord & Power Bank ntawm lub chassis nrog kev pab ntawm Ob daim kab xev. Tam sim no ua raws cov kauj ruam no: -✔ HC SR-04 Ultrasonic Sensor1. tus pin 2 ✔ L293d IC1. Txuas tus pin 1, 8, 9 thiab 16 ua ke thiab txuas nws mus rau 5v ntawm Arduino2. Txuas tus pin 8 rau Vin ntawm Arduino3.. Connect koj lub cav thib 1 rau tus pin 3 thiab 65. Txuas koj lub cev thib ob rau tus pin 11 thiab 146. Txuas tus pin 15 rau Arduino tus lej digital 87. Txuas tus pin 10 rau Arduino tus lej digital 98. Txuas tus pin 2 rau Arduino tus lej digital 109. 7 mus rau Arduino tus lej pin 1110. Tom qab Kev Tsim Kho Arduino Siv Lub Usb Cable ntawm Arduino nrog PowerBank thiab Tsis Muaj Lub Hwj Chim Ntxiv Xav Tau Rau Lub Cev Muaj Zog.

Kauj ruam 5: Arduino Program

Arduino Txoj Haujlwm
Arduino Txoj Haujlwm

Cov cai yog ib qho yooj yim heev. Koj kuj tseem tuaj yeem hloov pauv thiab hloov kho cov cai thiab sim sib txawv. Koj tuaj yeem rub daim ntawv txuas "Obstacle Zam Txim Tus Neeg Hlau los ntawm sk.ino" cov ntaub ntawv thiab qhib ncaj qha rau hauv Arduino IDE. Obstacle Zam Txim Neeg Hlau los ntawm sk.ino

Kauj Ruam 6: Muaj Kev Lom Zem

Muaj Kev Lom Zem
Muaj Kev Lom Zem
Muaj Kev Lom Zem
Muaj Kev Lom Zem

Yog li kuv vam tom qab ua raws txhua kauj ruam ua tib zoo koj yuav ua Obstacle zam tus neeg hlau siv Arduino, L293d IC & ultrasonic sensor. Muaj Kev Lom Zem !!

Yuav tsum Mus Saib: Peb Soj Ntsuam

Pom zoo: