Page 1
15/05/2024, 08:56 Grove - TF Mini LiDAR | Seeed Studio Wiki Grove Grove Sensor Proximity Grove - TF Mini LiDAR Grove - TF Mini LiDAR This product is based on ToF (Time of Flight) principle and integrated with unique optical and electrical designs, so as to achieve stable, precise, high sensitivity and high-speed distance detection.
15/05/2024, 08:56 Grove - TF Mini LiDAR | Seeed Studio Wiki Prevent dust or any other foreign matter from entering the lens; otherwise it may affect the light transmission. Version Product Version Changes Released Date Grove-TF Mini LiDAR V1.0 Initial...
15/05/2024, 08:56 Grove - TF Mini LiDAR | Seeed Studio Wiki Product Name TFmini Operating temperature -20℃-60℃ Light sensitivity 70,000lux Weight 4.7g Communication interface UART 115200 LED peak current 800ma Serial port TTL voltage level 3.3V Electromagnetic Compatibility(EMC) EN 55032 Class B More details about Grove modules please refer to [Grove System] (https://wiki.seeedstudio.com/Grove_System/)
Grove-TF Mini LiDAR Get One Now Get One Now Get One Now Step 2. Connect Grove-TF-Mini-LiDAR to D2 port of Base Shield and connect Seeeduino to PC through a USB cable. Step 3. Download the Demo code and copy the whole Seeed_Arduino_TFlidar file and paste it into your Arduino IDE library file.
Page 5
Grove - TF Mini LiDAR | Seeed Studio Wiki Software Step 1. The Grove-TF Mini LiDAR is a hexadecimal output data. Each frame data is encoded with 9 bytes, including 1 distance data (Dist). Each distance data has corresponding signal strength information (Strength).
Page 6
15/05/2024, 08:56 Grove - TF Mini LiDAR | Seeed Studio Wiki Byte Data encoding interpretation Byte6 Strength_H is a high 8-bit. Byte7 Integration time. Byte8 Reserved bytes. Byte9 Checksum parity. Step 2. Copy the code into Arduino IDE and upload.
Page 7
15/05/2024, 08:56 Grove - TF Mini LiDAR | Seeed Studio Wiki void loop() { while(!SeeedTFLidar.get_frame_data()){ delay(1); // put your main code here, to run repeatedly: SERIAL.print("dist = "); SERIAL.print(SeeedTFLidar.get_distance()); //output measure distance value of LiDAR SERIAL.print('\t'); SERIAL.print("strength = "); SERIAL.print(SeeedTFLidar.get_strength()); //output signal strength value #ifdef USETFLUNA SERIAL.print("\t Chip Temprature = ");...
Page 8
15/05/2024, 08:56 Grove - TF Mini LiDAR | Seeed Studio Wiki You could delete **Line 41** to **Line 43** of the demo code if only the **Distance** is required: SERIAL.print("strength = "); SERIAL.print(SeeedTFLidar.get_strength()); //output signal strength value Play With Wio Terminal...
Page 9
15/05/2024, 08:56 Grove - TF Mini LiDAR | Seeed Studio Wiki Pinout https://wiki.seeedstudio.com/Grove-TF_Mini_LiDAR/ 9/13...
Page 10
Please refer to the pinout instruction above before you starting to connect Wio Terminal with Jumpers. Step 1 Plug Grove-TF-Mini-LiDAR to Wio Terminal via Jumpers and also connect Wio Terminal to PC through a USB cable. Step 2 Download the...
Page 11
15/05/2024, 08:56 Grove - TF Mini LiDAR | Seeed Studio Wiki delay(50); uint16_t get_Lidar_data() while(!SeeedTFLidar.get_frame_data()){ delay(1); return SeeedTFLidar.get_distance(); void display(uint16_t lidar_data,uint8_t mode){ spr.fillSprite(TFT_WHITE); //Settings for the line graph title auto header = text(0, 0) .value("Lidar Terminal") .align(center) .valign(vcenter) .width(tft.width()) .color(green) .thickness(3);...
Page 12
15/05/2024, 08:56 Grove - TF Mini LiDAR | Seeed Studio Wiki spr.drawLine(0, 50 + line_index, tft.width(), 50 + line_index, TFT_GREEN); auto header = text(0, 0) .thickness(1); spr.setFreeFont(&FreeSansBoldOblique24pt7b); spr.setTextColor(TFT_BLUE); spr.drawFloat(lidar_data / 100.00,2,80,110); spr.drawString(" M",80 + 90,110,1); spr.pushSprite(0, 0); An image will display on the screen of Wio terminal as below if everything goes well.
Page 13
15/05/2024, 08:56 Grove - TF Mini LiDAR | Seeed Studio Wiki [Datasheet] Grove-TF-Mini-LiDAR [Datasheet] Grove-TF-Luna-LiDAR [ZIP] Seeed_Arduino_TFlidar [ZIP] Seeed_Arduino_Linechart Tech Support & Product Discussion Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible.
Need help?
Do you have a question about the TF Mini LiDAR and is the answer not in the manual?
Questions and answers