Cov txheej txheem:

Kev Tiv Thaiv Cov Neeg Hlau Siv Ultrasonic Sensor (Proteus): 12 Cov Kauj Ruam
Kev Tiv Thaiv Cov Neeg Hlau Siv Ultrasonic Sensor (Proteus): 12 Cov Kauj Ruam

Video: Kev Tiv Thaiv Cov Neeg Hlau Siv Ultrasonic Sensor (Proteus): 12 Cov Kauj Ruam

Video: Kev Tiv Thaiv Cov Neeg Hlau Siv Ultrasonic Sensor (Proteus): 12 Cov Kauj Ruam
Video: Мужская команда Casio G-Shock Land Land Cruiser Rangeman | GPR-B1000TLC-1 Toyota Auto ... 2024, Hlis ntuj nqeg
Anonim
Kev Tiv Thaiv Kev Nyab Xeeb Neeg Hlau Siv Ultrasonic Sensor (Proteus)
Kev Tiv Thaiv Kev Nyab Xeeb Neeg Hlau Siv Ultrasonic Sensor (Proteus)

Peb feem ntau tuaj hla hla kev tiv thaiv neeg hlau txhua qhov chaw. Kev sim cov cuab yeej ntawm cov neeg hlau no yog ib feem ntawm kev sib tw hauv ntau lub tsev kawm qib siab thiab hauv ntau qhov xwm txheej. Tab sis software simulation ntawm qhov teeb meem neeg hlau tsis tshua muaj. Txawm hais tias yog peb tuaj yeem pom nws nyob qhov twg, cov ntaub ntawv muab los ntawm lawv tsis yog qhov tsis txaus los ua peb tes num.

Yog li, yam tsis ncua ntxiv, Cia peb pib!

Kauj ruam 1: Taw qhia

Yog tias koj tuaj ntawm no, koj yuav twb paub lawm tias dab tsi yog qhov ua kom tsis txhob muaj neeg hlau thiab nws ua dab tsi. Hauv ntej, Obstacle Zam Txim Tus Neeg Hlau yog tus neeg hlau ntse, uas tuaj yeem nkag siab thiab kov yeej cov teeb meem ntawm nws txoj hauv kev. Rau kev nkag siab qhov teeb meem, neeg hlau xav tau siv cov ntsuas. Ultrasonic sensor thiab Ir sensor tuaj yeem siv rau tshuaj xyuas cov khoom lossis teeb meem nyob nruab nrab ntawm txoj kev.

Obstacle Zam Txim Tus Neeg Hlau muaj lub zog ntsuas kev ua haujlwm uas ua kom ntseeg tau tias tus neeg hlau tsis tas yuav tsum nres ua ntej ntawm qhov teeb meem uas tso cai rau neeg hlau taug kev yooj yim hauv ib puag ncig tsis paub, zam kev sib tsoo. Lub ntsiab lus tseem ceeb ntawm tus neeg hlau no yog kom tsis txhob raug xwm txheej uas feem ntau tshwm sim hauv thaj chaw muaj neeg coob los ntawm kev thov nres thaum muaj xwm ceev.

Kauj ruam 2: Yuav tsum tau ua

Yuav tsum muaj
Yuav tsum muaj

Rau software simulation ntawm kev ua kom tsis txhob muaj neeg hlau, peb xav tau:

  1. Ib pc
  2. Proteus txog software
  3. Arduino tsev qiv ntawv rau kev tiv thaiv
  4. Ultrasonic sensor tsev qiv ntawv rau proteus
  5. potentiometer (muaj nyob hauv proteus) (POT-HG)
  6. L293D lub cev muaj zog tsav (muaj nyob rau hauv proteus software)
  7. Lub Cev Muaj Zog - DC (muaj nyob rau hauv kev tiv thaiv software)
  8. Virtual davhlau ya nyob twg (muaj nyob rau hauv proteus software)
  9. hwj chim thiab av (muaj nyob rau hauv proteus software)

Kuv tau ua kuv tus thawj Arduino neeg hlau siv proteus software. Kuv yuav muab cov kab ntawv txuas rau rub tawm cov software proteus thiab xav tau cov tsev qiv ntawv los tsim kev tiv thaiv neeg hlau. Nws yog ib qho kev tiv thaiv kev zam kev siv 3 lub ntsuas hluav taws xob ultrasonic. Feem ntau ntawm cov tsev qiv ntawv yuav muaj nyob hauv www.theengineeringprojects.com. Kuv tau ua haujlwm ntau ntawm cov lej arduino thiab ua qhov txheej txheem zoo tshaj plaws.

Kauj Ruam 3: Ntxiv Cheebtsam hauv Proteus Software

Los ntawm txhaj rau "p", peb tuaj yeem ntxiv cov khoom sib xyaw. Cov duab saum toj no yog rau koj siv rau kev ntxiv cov khoom sib xyaw rau hauv cov txheej txheem kev ntes ntawm proteus software.

Ntxiv tsev qiv ntawv hauv cov software proteus tuaj yeem kawm paub siv daim vis dis aus no:

www.youtube.com/watch?v=hkpoSDUDMKw

Kauj ruam 4: BLOCK DIAGRAM

BLOCK DIAGRAM
BLOCK DIAGRAM

Nov yog daim duab qhia chaw yooj yim ntawm peb cov khoom siv hluav taws xob. Peb tab tom tsim lub voj voog siv daim duab thaiv no.

Kauj ruam 5: Algorithm

Algorithm
Algorithm

Qhov no yog lub algorithm thaum koj siv peb lub ntsuas ultrasonic. Ua raws li cov txheej txheem no kom meej, thaum sau koj cov lej arduino. Kuv yuav muab cov cai arduino ib yam, tsis txhob txhawj.

Kev piav qhia Algorithm:

  • pib simulation.
  • Yog tias qhov nrug nruab nrab ntawm lub ntsuas nruab nrab thiab cov khoom yog ntau dua li qhov ntau tshaj tom qab ntawd nws txav mus tom ntej tsis hais txog qhov deb nruab nrab ntawm lwm ob lub ntsuas hluav taws xob ultrasonic thiab cov khoom. Kev txav mus los raug lees txais.
  • Yog hais tias qhov nrug nruab nrab ntawm txoj cai & nruab nrab lub ntsuas hluav taws xob tsawg dua qhov ntau thiab qhov deb ntawm sab laug sensor thiab cov khoom yog ntau dua nws txav mus rau sab laug.
  • Yog hais tias qhov nrug nruab nrab ntawm sab laug & nruab nrab lub ntsuas hluav taws xob tsawg dua qhov ntau thiab qhov deb ntawm txoj cai sensor thiab cov khoom yog ntau dua nws txav mus rau sab xis
  • Yog tias tag nrho cov ntsuas muaj tsawg dua qhov ntau tshaj plaws tom qab ntawd nws tshawb xyuas qhov uas zoo dua hauv lawv. Yog tias txoj cai sensor muaj qhov nrug ntau dua li ob qho ntxiv nws txav mus. Yog tias sab laug sensor muaj qhov nrug ntau dua li ob qho ces nws txav mus lawm. Yog tias qhov ntsuas nruab nrab muaj qhov nrug ntau dua li ob qho ntxiv nws txav mus rau tom ntej. Yog tias txhua lub ntsuas hluav taws xob muaj qhov sib nrug deb ces nws nres.
  • Yog tias qhov nrug nruab nrab ntawm sab xis, sab laug sensor thiab cov khoom muaj ntau dua li qhov ntau thiab qhov nrug nruab nrab ntawm lub ntsuas hluav taws xob tsawg dua qhov siab tshaj plaws tom qab ntawd nws kuaj xyuas uas deb dua ntawm sab xis thiab sab laug. Yog tias txoj cai nrug deb ntau dua li sab laug nrug deb nws txav mus thiab Yog tias sab laug lub cim nrug deb ntau dua li txoj cai ntsuas nrug nws txav mus.

Kauj Ruam 6: Daim duab Circuit Court

Daim duab Circuit Court
Daim duab Circuit Court

Ua koj cov kev sib txuas raws li daim duab kab lus saum toj no hauv cov proteus software. Mus los ntawm txhua qhov kev sib txuas qeeb thiab ua kom sib txuas kom raug.

Kauj ruam 7: Code

Rub tawm cov cai hauv qab no thiab khiav nws hauv lub tswv yim arduino ua ntej muab nws tso rau hauv qhov chaws ntawm tus tiv thaiv. Yog tias lub tsev qiv ntawv twg tsis tau teeb tsa, teeb tsa nws los ntawm kev mus rau Sketch> suav nrog tsev qiv ntawv> Tswj cov tsev qiv ntawv> tshawb nrhiav lub tsev qiv ntawv xav tau. Muab tshuaj txhuam nws tso rau hauv qhov chaws ntawm arduino hauv software proteus. koj tuaj yeem tshawb xyuas youtube kev qhia paub paub yuav ua li cas muab tshuaj txhuam cov lej tso rau hauv proteus software.

Kauj Ruam 8: Simulation

Simulation
Simulation
Simulation
Simulation
Simulation
Simulation

Peb qhov piv txwv saum toj no tau qhia yog neeg hlau txav mus rau txhua qhov ua tau qhia piv txwv li txav mus los, txav mus sab laug, txav mus sab xis.

Kauj Ruam 9: Simulation Video

Qhov no yog lub sijhawm tiag sim sim ua kom tsis txhob muaj neeg hlau hauv Proteus software. Kuv hloov qhov nrug nruab nrab ntawm cov ntsuas thiab cov khoom siv potentiometer txuas rau lub ntsuas ultrasonic.

Kauj ruam 10: Qhib Cov Ntaub Ntawv

Arduino tsev qiv ntawv:

www.theengineeringprojects.com/2015/12/arduino-uno-library-proteus.html

Ultrasonic Library:

www.theengineeringprojects.com/2015/02/ultrasonic-sensor-library-proteus.html

Kauj ruam 11: Kev teeb tsa

Ua raws cov kauj ruam hauv cov yeeb yaj kiab txhawm rau txhim kho qhov xav tau softwares rau simulating qhov teeb meem zam kev siv neeg hlau siv software.

Tus tsim tawm:

www.youtube.com/watch?v=31EabTgBnG8&feature=emb_logo

Software Arduino:

www.youtube.com/embed/TbHsOgtCMDc

Pom zoo: