Cov txheej txheem:

VL53L0X Sensor System: 9 Kauj Ruam
VL53L0X Sensor System: 9 Kauj Ruam

Video: VL53L0X Sensor System: 9 Kauj Ruam

Video: VL53L0X Sensor System: 9 Kauj Ruam
Video: Датчик абсолютной ориентации BNO055+BMP280. Лучший датчик! 10DOF AHRS 2024, Hlis ntuj nqeg
Anonim
VL53L0X Sensor System
VL53L0X Sensor System

Kev tsim hluav taws xob rau siv ntau VL53L0X cov laug cam. Hauv kev tsim qauv no, peb muaj lub ntsej muag tig ntsej muag rau pem hauv ntej, sab laug, sab xis, thiab nce. Daim ntawv thov ntawm lub rooj tsavxwm no yog txhawm rau zam kev zam rau WiFi drones.

Khoom siv

VL53L0X Sensor x4

Txoj cai lub taub hau (5 tus pin) x4

Dupont header txuas (5 tus pin) x4

Cov hlua txuas

PCB (30 hli x 70 hli)

Solder + Soldering Iron

Hlau Stripper thiab Cutter

Tes ntawm resistors

Kauj Ruam 1: Tsim Kev Xaiv

Xaiv Tsim
Xaiv Tsim
Xaiv Tsim
Xaiv Tsim
Kev Xaiv Tsim
Kev Xaiv Tsim
Xaiv Tsim
Xaiv Tsim

Txhawm rau kom yooj yim hloov cov ntsuas (yog tias lawv mus rau qhov tsis zoo, lossis ua tsis tau zoo), nws yog qhov zoo dua los txhawm rau txuas lub taub hau txuas rau PCB hloov pauv ntawm lub ntsuas lawv tus kheej, uas yog vim li cas peb siv Dupont header txuas. Qhov no ua rau nws yooj yim los swb VL53L0X hauv thiab tawm ntawm PCB pawg thawj coj saib.

Rau ntau qhov kev sib koom ua ke, peb tsis xav tau VDD lossis GPIO pins ntawm VL53L0X pawg thawj coj tawm. Qhov no tawm 5 tus pin uas yuav tsum tau siv: Vin, GND, SDA, SCL, XSHUT. Tsuas yog XSHUT tsis sib koom ntawm txhua qhov ntsuas.

Qhov nyuaj tseem ceeb nyob hauv kev sib qhia Vin, GND, SDA, thiab SCL kab ntawm ntau qhov ntsuas, thaum txhua tus xav tau ntsib lub ntsej muag sib txawv.

Kauj Ruam 2: Cuam Tshuam Lub Taub Hau rau Lub Cev

Solder Headers rau Sensors
Solder Headers rau Sensors
Solder Headers rau Sensors
Solder Headers rau Sensors

Xyuas kom tseeb tias lub taub hau zoo ib yam nrog cov ntsuas ntsuas ntau li ntau tau. Tej zaum yuav tsum muaj tus tuav.

Kauj Ruam 3: Solder Dupont Headers rau PCB

Solder Dupont Headers rau PCB
Solder Dupont Headers rau PCB
Solder Dupont Headers rau PCB
Solder Dupont Headers rau PCB

Hauv qhov kev taw qhia no, qhov txuas nyob hauv nruab nrab yog rau qhov taw qhia taw tes taw tes.

Zoo li cov kauj ruam dhau los, rov ua kom ntseeg tau tias lub taub hau ncaj ncaj li sai tau. Siv lub tshuab txiav kom txiav tawm qhov xaus ntxiv hauv qab PCB.

Kauj Ruam 4: Up thiab Pem Hauv Ntej Sensors

Up thiab Pem Hauv Ntej Sensors
Up thiab Pem Hauv Ntej Sensors
Up thiab Pem Hauv Ntej Sensors
Up thiab Pem Hauv Ntej Sensors

Siv cov xov hlau tseem ceeb, lossis cov xov hlau los ntawm cov tiv thaiv, txuas plaub kab sib koom nruab nrab ntawm qhov ze ntawm ob lub ntsuas. Nco ntsoov tias koj tsis txuas Vin pins, tsis yog XSHUT pins, uas yog rau sab xis ntawm daim duab saum toj no.

Kauj ruam 5: Sab laug thiab Txoj Cai Sensors

Sab laug thiab Txoj Cai Sensors
Sab laug thiab Txoj Cai Sensors
Sab laug thiab Txoj Cai Sensors
Sab laug thiab Txoj Cai Sensors
Sab laug thiab Txoj Cai Sensors
Sab laug thiab Txoj Cai Sensors

Tig lub PCB rov qab dua, txuas plaub kab sib koom nruab nrab ntawm sab laug thiab sab xis. Txhawm rau ua qhov no, txiav thiab hle cov hlua sib txuas ua ke kom ntev. Twist qhov kawg yog ntau txoj xov, thiab ntxiv cov laug rau cov lus qhia.

Ib zaug ntxiv, xyuas kom tseeb tias koj tau siv Vin, tsis yog XSHUT. Ntxiv cov ntsuas hluav taws xob tawg rau hauv Dupont tuaj yeem pab qhia meej txog cov pins raug rau cov laug.

Ua li no plaub zaug.

Kauj Ruam 6: Sab laug Sensor mus rau Nruab Nrab

Sab laug Sensor mus Nruab Nrab
Sab laug Sensor mus Nruab Nrab
Sab laug Sensor mus Nruab Nrab
Sab laug Sensor mus Nruab Nrab

Nov yog kauj ruam txaus ntshai tshaj plaws. Nyob rau sab hauv qab ntawm PCB, muab tshuaj txhuam ntawm plaub kab ntawm nruab nrab mus rau ib qho ntawm cov cim sab (qhov no peb tau xaiv lub sensor sab laug).

Kauj Ruam 7: Ntxiv Sensors

Ntxiv Sensors
Ntxiv Sensors
Ntxiv Sensors
Ntxiv Sensors

Txij ntawm no mus, cov ntsuas yuav tsum yooj yim tuaj yeem xaub mus rau DuPont cov khoom sib txuas. Rau kev nyab xeeb, xub xub txheeb xyuas qhov sib txuas ib zaug rau txhua tus DuPont txuas, tom qab ntawd ntsuas ntau qhov kev teeb tsa lub ntsuas.

Qhov hnyav tag nrho yuav tsum tawm mus txog 13g.

Kauj Ruam 8: Ntxiv Jumper Cables

Ntxiv Jumper Cables
Ntxiv Jumper Cables
Ntxiv Jumper Cables
Ntxiv Jumper Cables

Txiav cov jumper cables mus rau qhov ntev w.r.t. RPi lossis lwm lub microcontroller, yog tias koj lub microcontroller muaj lub taub hau lawm. Yog tias tsis muaj lub taub hau, tom qab ntawd koj tsuas tuaj yeem txuas ncaj qha nrog ib qho xaim.

Peb siv daim kab xev thiab duab los qhia kom ruaj ntseg txhua yam ua ke, tab sis muaj lwm txoj hauv kev.

Kauj Ruam 9: Cov ntawv thov

Cov ntawv thov
Cov ntawv thov
Cov ntawv thov
Cov ntawv thov

Qhov kev tsim no tseem tso cai nkag tau yooj yim rau txhua qhov tsim nyog cov khoom siv ntawm Raspberry Pi Zero W. Ntawm no, peb tau siv ntau lub tshuab ntsuas hluav taws xob rau kev sib tsoo zam nrog Tello.

Saib cov chaw cia khoom ntawm no:

Pom zoo: