VL53L0X: ngqo high laser isivamvo umgama

I-VL53L0X

Kwezinye iiprojekthi zakho kuya kufuneka ukuba ulinganise imigama. Ewe kufanelekile uyazi ukuba I-VL53L0X sisixhobo esivumela ukubulinganisa ngokuchaneka okuphezulu. Ukongeza, ubungakanani bayo obuncinci kunye nexabiso eliphantsi liyenza ilungele iiprojekthi zakho ze-DIY, ngakumbi ukudibanisa neArduino.

Zininzi izixhobo ezinokulinganisa umgama, ezinye zazo ziimitha zomgama ezisekwe kwi-ultrasound ekhupha isandi kwaye xa ugxume ngento ivumela ukwazi ngokuchaneka ngokwaneleyo umgama okhoyo. Kodwa ukuba ufuna olona hlobo luchanekileyo, ngenxa yoku kufuneka ube imitha yomgama obonakalayo. Olu hlobo lwezixhobo zokulinganisa isekelwe laser, njengoko kunjalo nge-VL53L0X.

Yintoni iToF?

Umgaqo we-TOF (isikimu)

Ixesha leNqwelomoya okanye iToF (Ixesha-leNqwelomoya) ikhamera bubuchule obusetyenziselwa ukulinganisa umgama. Isekwe kukukhanya, ukulinganisa ixesha elidlulileyo phakathi kokukhutshwa kwesibane sokukhanya kunye nolwamkelo. Banokuba zii-CCD, ii-CMOS sensors, kunye ne-pulses ezinokufakwa kwi-infrared, i-laser, njl. Inkqubo iya kudityaniswa ukuqala umlinganiso wexesha kanye xa ukubetha kwempembelelo kuchukunyiswa kwaye kuyekiswa ikhawuntari xa befumana i-bounce kwi-sensor.

Ngale ndlela Umgama ungabalwa ngokuchanekileyo. Kuthatha kuphela isekethe yokufaka eyongeziweyo edityanisiweyo kwi-chip ukwenza ubalo ukusukela ngela xesha umqadi ugqitywa de ube ufumaneke kwaye ke umisele umgama. Umgaqo ulungile ngokuthe ngqo.

ESP8266
Inqaku elidibeneyo:
I-ESP8266: imodyuli yeWIFI yeArduino

Olu hlobo lwesixhobo lusetyenziswa kwi robotics ukuvumela irobhothi okanye idrone ukuthintela imiqobo, ukwazi ukuba bakude kangakanani kwithagethi, ukubona intshukumo okanye ukusondela, kwiimvakalelo zemoto ezisetyenziselwa usetyenziso olwahlukeneyo, ukumilisela imitha ye-elektroniki, njengesixhobo seArduino sokwenza into xa ibona ukuba kufutshane kwento, njl.

Yintoni i-VL53L0X kunye ne-datasheet

I-VL53L0X

El I-VL53L0X isebenzisa lo mgaqo ukulinganisa umgama nge-infrared laser. Isizukulwana sokugqibela. Kunye neprosesa, njengeArduino, inokuba sisixhobo esinamandla sokulinganisa. Ngokukodwa, i-chip inokubamba umgama phakathi kwe-50mm kunye ne-2000mm, oko kukuthi, phakathi kweesentimitha ezi-5 kunye neemitha ezi-2.

Ukulinganisa umgama osondeleyo mhlawumbi ufuna umahluko wale chip ubizwa ngokuba yi-VL6180X ekuvumela ukuba ulinganise uluhlu oluphakathi kwe-5 kunye ne-200 mm, oko kukuthi, phakathi kwesiqingatha sesentimitha kunye neesentimitha ezingama-20. Ukuba ufuna ukufumana isixhobo esifanayo kodwa ngokusekwe kwi-ultrasound nangasiphi na isizathu sobuchwephesha, kuya kufuneka ujonge i-HC-SR04, enye imodyuli enexabiso eliphantsi edumileyo kubenzi.

El VL53L0X chip yenzelwe ukuba sebenza nokuba ukukhanya okukude kuphezulu kakhulu. Gcina ukhumbula ukuba xa usebenza ngokugqibeleleyo, kokukhona ukukhanya kokungcoliseka kwendalo, kokukhona kuya kuba nzima ngakumbi ukubamba umqondiso. Kodwa kule meko ayizisi ngxaki zininzi. Ukongeza, inkqubo yembuyekezo edibeneyo iyayivumela ukuba ilinganise nokuba uyisebenzisa ngasemva kweglasi yokukhusela.

Oko kuyenza inye yezona zivamvo zomgama zibalaseleyo Uya kufumana kwimarike. Ngobuchwephesha obuphezulu kakhulu kuneenzwa ezisekwe kwi-ultrasound okanye kwi-infrared (IR). Isizathu sokuchaneka kukuba i-laser ayizukuchaphazeleka yi-echoes okanye ukubonakaliswa kwezinto njengakwezinye iimeko.

Okwangoku ungayifumana idityanisiwe kwiimeyile kunye nenye eyongezelelweyo malunga ne- € 16 okanye kwiipleyiti ezilula ezingaphezulu kwe- € 1 okanye i- € 3 kwezinye iimeko. Sele uyazi ukuba uya kuyifumana kwiivenkile ezinje nge-eBay, AliExpress, Amazon, njl. Abavelisi bezi zixhobo bahlukahlukene, ke ukuba ufuna ukwazi iinkcukacha zemodeli oyithengileyo, kungcono ukujonga ugcino lwedatha lomenzi ukuba ukhethe. Umzekelo:

El I-VL53L0X Inayo ngaphakathi kwe-chip emitter ye-laser pulse kunye nesenzi sokubamba umqadi obuyayo. Kule meko, i-emitter yi-940nm ye-laser wavelength yohlobo lwe-VCSEL (Vertical Cavity Surface-Emitting Laser). Ngokubhekiselele kwisenzi sokubamba, yi-SPAD (i-Photon Avalanche Diode enye). Ikwadibanisa i-elektroniki yangaphakathi ebizwa ngokuba yiFlightSense TM eya kubala umgama.

El I-angle yokulinganisa okanye i-FOV (Indawo yokujonga) ngu 25º kule meko. Oko kuguqulela kwindawo yomlinganiso we-0,44m ubukhulu kumgama we-1m. Nangona uluhlu lomlinganiso luya kuxhomekeka kwiimeko ezijikelezileyo. Ukuba yenziwa ngaphakathi endlwini iphezulu kancinci kunokuba yenziwe ngaphandle. Iya kuxhomekeka ekubonakalisweni kwento okhombe kuyo:

Ukuboniswa kwethagethi Iimeko Ngaphakathi phandle
Ithagethi emhlophe Ngokwesiqhelo 200cm 80cm
Ukulinganisa 120cm 60cm
Ithagethi engwevu Ngokwesiqhelo 80cm 50cm
Ubuncinci 70cm 40cm

Ukongeza, i-VL53L0X ineqela iindlela zokusebenza ezinokwahluka iziphumo. Ezo ndlela zishwankathelwe kule theyibhile ilandelayo:

Modo Isikhathi Fi kelela Ukuchaneka
Ukungagqibeki 30ms 1.2m Jonga itheyibhile engezantsi
Ukuchaneka okuphezulu 200ms 1.2m +/- 3%
Uluhlu olude 33ms 2m Jonga itheyibhile engezantsi
Isantya esiphezulu 20ms 1.2m +/- 5%

Ngokwale ndlela, sinezinto ezininzi Ukuchaneka okusemgangathweni kunye nokude onayo kule theyibhile:

Ngaphakathi phandle
Ukuboniswa kwethagethi Umgama 33ms 66ms Umgama 33ms 66ms
Ithagethi emhlophe kwi-120cm 4% 3% kwi-60cm 7% 6%
Ithagethi engwevu kwi-70cm 7% 6% kwi-40cm 12% 9%

Ukuphuma kunye nokunxibelelana

Umzobo we-VL53L0X

Ukuze konke oku kusebenze ngokufanelekileyo kufuneka ujongano nehlabathi langaphandle. Kwaye oko kufezekiswa ngezinye izikhonkwane okanye unxibelelwano. I-pinout ye-VL53L0X ilula kakhulu, inezikhonkwane ezi-6 kuphela. Ukudityaniswa kwayo neArduino, unxibelelwano lunokwenziwa nge-I2C.

Ukuyondla, unga qhagamshela izikhonkwane Ke:

  • VCC ukuya kwi-5v ukusuka eArduino
  • GND ukuya kwi-GND yeArduino
  • I-SCL kwipini ye-analog yeArduino. Umzekelo A5
  • I-SDA kwenye ipini ye-analog. Umzekelo A4
  • Izikhonkwane ze-GPI01 kunye ne-XSHUT akufuneki zisetyenziswe ngalo mzuzu.

Umdibaniso neArduino

I-VL53L0X iqhagamshelwe kwiArduino

Ngokubhekisele kwezinye iimodyuli, ze-VL53L0X nawe unamathala eencwadi (umz Iziqholo) yekhowudi ekhoyo onokuyisebenzisa ekusebenzeni nemisebenzi ethile xa ubhala ikhowudi yemithombo yokuphatha iprojekthi yakho kwiArduino IDE. Ukuba lixesha lakho lokuqala kunye noArduino, ndincoma incwadana yethu yenkqubo.

Umzekelo we Ikhowudi elula yokuba uthathe imilinganiselo kwaye ubonise ixabiso lokulinganisa ngezibuko le-serial ukuze uyibone kwiscreen sePC yakho ngelixa ibhodi yeArduino ixhunyiwe yile:

#include "Adafruit_VL53L0X.h"
 
Adafruit_VL53L0X lox = Adafruit_VL53L0X();
 
void setup() {
  Serial.begin(9600);
 
  // Iniciar sensor
  Serial.println("VL53L0X test");
  if (!lox.begin()) {
    Serial.println(F("Error al iniciar VL53L0X"));
    while(1);
  }
}
 
 
void loop() {
  VL53L0X_RangingMeasurementData_t measure;
    
  Serial.print("Leyendo sensor... ");
  lox.rangingTest(&measure, false); // si se pasa true como parametro, muestra por puerto serie datos de debug
 
  if (measure.RangeStatus != 4)
  {
    Serial.print("Distancia (mm): ");
   Serial.println(measure.RangeMilliMeter);
  } 
  else
  {
    Serial.println("  Fuera de rango ");
  }
    
  delay(100);
}

Kwithala leencwadi lakwa-Adafruit unemizekelo yokusetyenziswa ukuba uyayifuna ...


Yiba ngowokuqala ukuphawula

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.