Cov txheej txheem:

TF03 Laser Tsev Ruaj Ntseg Tswb: 5 Kauj Ruam
TF03 Laser Tsev Ruaj Ntseg Tswb: 5 Kauj Ruam

Video: TF03 Laser Tsev Ruaj Ntseg Tswb: 5 Kauj Ruam

Video: TF03 Laser Tsev Ruaj Ntseg Tswb: 5 Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Kaum ib hlis
Anonim
TF03 Laser Lub Tsev Ruaj Ntseg Tswb
TF03 Laser Lub Tsev Ruaj Ntseg Tswb
TF03 Laser Tsev Ruaj Ntseg Tswb
TF03 Laser Tsev Ruaj Ntseg Tswb
TF03 Laser Tsev Ruaj Ntseg Tswb
TF03 Laser Tsev Ruaj Ntseg Tswb

Nrog rau kev txhim kho hauv zej zog, tib neeg mob siab rau kev nyab xeeb ntau dua. Kev nyab xeeb ib txwm muaj, uas tau ua los ntawm kev saib xyuas tas li los ntawm cov neeg ua haujlwm ruaj ntseg, tsis tsim nyog rau pej xeem vim tus nqi siab.

Thaum, Kuv tsis ntev los no tau ntsib nrog lub laser sib xws sensor-TF03, uas twb tau mus txog rau qib kev lag luam. Thiab nws qhov ntsuas pom yog 180m. Nws tuaj yeem ua haujlwm ib txwm nrog lub teeb pom kev zoo thiab los nag lossis qav. Nws qib ntau lawm yog IP67 thiab siv UART chaw nres nkoj. Cia peb ua TF03 lub tswb ntsuas kev nyab xeeb hauv tsev!

Tsim Tswv Yim

Xaiv arduino uno ua lub hauv paus tswj kev sib tham nrog TF03, uas saib xyuas qhov deb. Muab qhov kev saib xyuas nrug deb mus rau qhov ciam teb ntawm thaj chaw phiaj xwm, qhov kev sojntsuam yuav tsum ua ib sab mus rau ciam teb. Thaum ib yam khoom hla ciam teb, tus nqi ntawm kev ncua yuav hloov. Tom qab ntawd peb tuaj yeem nrhiav pom txoj haujlwm ntawm kev hla ciam teb los ntawm kev txheeb xyuas qhov txawv txav deb tus nqi, thiab qhia qhov nrug deb ntawm tus ntoo khaub lig taw tes taw tes mus rau qhov ntsuas. Tom qab ntawd peb tuaj yeem ceeb toom tus neeg nkag los ntawm lub tshuab raj thiab LED teeb thiab hu tus neeg saib xyuas.

Ntxiv mus, lub cuab yeej tau tsim nrog tus tswv khawm. Thiab lub tswb tsuas tuaj yeem tso tawm los ntawm tus tswv khawm. Nws tuaj yeem tso ntau thaj chaw, phab ntsa hauv tsev, kab lus ceeb toom kev nyab xeeb, khw muag khoom tiv thaiv tub sab.

Khoom siv

1. TF03 (ToF) Laser Range Sensor (100m) x1

2. DF Arduino UNO x1

3. IO Expansion Shield rau arduino x1

4. Hais lus Module x1

5. Lithium Battery (7.4V) x1

6. LED module x2

7. Khawm Khawm x1

8. LCD1602 Zaub Module x1

9. Jumper Wires

10. Nyias Tus Coj

Kauj Ruam 1: 3D Printing Housings

3D Printing Tsev
3D Printing Tsev
3D Printing Tsev
3D Printing Tsev

Kauj Ruam 2: Kev Kho Vajtse Txuas

Kho vajtse txuas
Kho vajtse txuas

Kauj Ruam 3: Nruab Qhov Chaw rau Lub Tsev

Nruab Qhov Chaw rau Lub Tsev
Nruab Qhov Chaw rau Lub Tsev
Nruab Qhov Chaw rau Lub Tsev
Nruab Qhov Chaw rau Lub Tsev
Nruab Qhov Chaw rau Lub Tsev
Nruab Qhov Chaw rau Lub Tsev
Nruab Qhov Chaw rau Lub Tsev
Nruab Qhov Chaw rau Lub Tsev

(1) Txhim kho lub rooj tsav xwm tswj hwm -DFRduino UNO, ntsaws -in IO nthuav dav daim thaiv thiab txhim kho lub roj teeb.

(2) Txhim kho cov zaub rau lwm lub tsev, uas muaj chaw seem ntau dua.

(3) Nruab 2 LEDs

(4) Nruab ib lub laub khawm thiab tus hais lus.

Kauj ruam 4: Kev thaiv kab

Thaiv
Thaiv
Thaiv
Thaiv
Thaiv
Thaiv

(1) Txuas lub LCD zaub rau IIC interface ntawm IO nthuav dav daim thaiv.

(2) Txuas 2 LEDs ntawm A0 thiab A3.

(3) Txuas lub laub khawm mus rau D13.

(4) Txuas tus neeg hais lus rau D8.

(5) Rau TF03 laser ntau qhov ntsuas, thov txuas lub Liab hlau rau D3, thiab xaim xaim rau D4, thiab sau cov xov hluav taws xob.

Tom qab ntawd npaj txhua lub xov hlau, muab 2 lub tsev nyob ua ke, thiab ntsia cov ntsia hlau hauv tsev.

Ua tau zoo!

Kauj Ruam 5: Ntsuas Qhov Ntsuas

Kev Ntsuam Xyuas
Kev Ntsuam Xyuas

Kuv tau sim nrog lub cuab yeej no. Los ntawm cov vis dis aus peb tuaj yeem pom tias thaum ib tus neeg dhau los ntawm qhov ntsuas pom lub ntsej muag, lub cuab yeej tsa lub tswb thiab qhia qhov nrug ntawm tib neeg mus rau lub ntsej muag ntawm lub vijtsam.

P.s. Thov koj xav mus ntsib DFRobot Blog rau cov cai thiab cov ntaub ntawv 3d.

Pom zoo: