Pretend we were doing cars, not drones
You need to be a member of diydrones to add comments!
Building a DIY drone is exciting, but one of the biggest challenges is reliable obstacle avoidance. Traditional sensors like ultrasonic or infrared modules often struggle with accuracy, range, and environmental interference. A compact laser distance sensor offers a precise, lightweight, and cost-effective alternative that integrates seamlessly with ArduPilot.
In this guide, we’ll walk through the key steps of integrating a laser distance sensor into your ArduPilot-powered UAV and show how it can dramatically improve obstacle avoidance.
Why Use a Laser Distance Sensor?
Compared to ultrasonic and infrared sensors, laser distance sensors (Time-of-Flight or phase-shift technology) offer:
Higher accuracy – millimeter-level precision.
Longer range – suitable for both indoor and outdoor flights.
Smaller beam angle – improved detection of thin obstacles like poles and wires.
Stable performance – less affected by lighting and temperature changes.
👉 For example, Meskernel’s compact laser distance modules are designed for UAV and robotics integration, offering lightweight builds and stable readings even in dynamic conditions.
Hardware Setup
Choose a Compatible Sensor
Select a laser distance sensor with UART or I²C output. Ensure it matches the voltage levels (3.3V/5V) supported by your flight controller.Wiring
Connect the sensor’s power pins to the drone’s regulated power supply.
Connect the UART/I²C pins to the flight controller (e.g., Pixhawk).
Double-check ground connections to avoid unstable readings.
Mounting
Place the sensor at the front of the UAV for forward obstacle detection.
Ensure vibration damping or a rigid mount for accurate measurements.
If possible, use multiple sensors for multi-directional avoidance.
ArduPilot Configuration
Enable Rangefinder Driver
In Mission Planner (or QGroundControl):Go to CONFIG → Rangefinder.
Select the appropriate driver for your sensor type (e.g.,
RNGFND1_TYPE
).
Set Parameters
RNGFND1_MIN_CM
andRNGFND1_MAX_CM
to define detection range.RNGFND1_ORIENT = 0
for front-facing sensor.Adjust baud rate or I²C address if necessary.
Enable Avoidance Behavior
In CONFIG → Advanced Params, enable Simple Avoidance or BendyRuler algorithm.
Test the UAV in a safe indoor environment before outdoor flights.
Testing and Calibration
Bench Test – Connect via USB and check real-time distance values in the Mission Planner status tab.
Hover Test – Fly at low altitude and check if the drone maintains safe distance from walls or objects.
Field Test – Introduce dynamic obstacles and verify the UAV avoids them smoothly.
Real-World Applications
Integrating laser distance sensors with ArduPilot opens up advanced capabilities:
Low-altitude precision flights in GPS-denied environments.
Indoor navigation for warehouse inspection drones.
Safer autonomous missions in cluttered outdoor areas.
For UAV enthusiasts looking for reliable and compact solutions, Meskernel offers ready-to-integrate laser distance modules tailored for UAVs, robotics, and industrial applications. Explore more at Meskernel.
Final Thoughts
By adding a laser distance sensor to your ArduPilot-based drone, you can significantly enhance obstacle avoidance without adding heavy payloads or costly LiDAR units. This integration is ideal for DIY projects, research drones, and lightweight autonomous UAVs.
If you’re ready to take your UAV builds to the next level, check out the laser distance measurement sensors at Meskernel and start building smarter, safer drones today.
In topographic surveying, drones equipped with laser ranging sensors and LiDAR (Light Detection and Ranging) technology are transforming the way data is captured and analyzed. These advanced tools significantly enhance the efficiency, precision, and scope of high-precision topographic surveys, 3D terrain modeling, vegetation analysis, land cover assessment, and disaster evaluation.
With the growing demand for precise geographical data in industries like urban planning, environmental management, and disaster response, the integration of LiDAR and laser ranging sensors into drone-based systems is reshaping the future of surveying.
1. High-Precision Topographic Surveying with Laser Range Technology
Detailed Terrain Mapping
LiDAR-equipped drones provide unparalleled accuracy in generating high-resolution 2D and 3D terrain maps. By emitting laser pulses and measuring their reflection times, LiDAR sensors gather precise distance data, enabling Geographic Information Systems (GIS) to create accurate and detailed topographic representations. This precision enhances mapping for applications such as urban planning, infrastructure development, and environmental assessments.
Wide Area Coverage and Efficiency
Drones equipped with LiDAR sensors can cover large areas in a short amount of time, making them ideal for surveying vast terrains, remote regions, or difficult-to-reach locations. This feature is especially valuable for engineering surveys, land resource management, and large-scale environmental projects, ensuring efficient data collection while reducing costs and manual labor.
2. 3D Terrain Modeling and Dynamic Change Monitoring
Accurate 3D Modeling
LiDAR technology produces highly detailed 3D models of terrain surfaces. The precision of these models is invaluable for geologists, engineers, and planners, allowing for better decision-making when analyzing the topography and structure of the land. These models are used in a variety of sectors including construction, forestry, and flood risk mapping.
Real-Time Change Detection
Laser range sensors on drones are capable of monitoring and detecting dynamic changes in terrain, such as soil erosion, landslides, or deforestation. The ability to capture and compare pre- and post-event data provides crucial insights into the rate of change, aiding in environmental management, disaster prevention, and recovery efforts.
3. Vegetation and Land Cover Analysis
Vegetation Height and Density Assessment
Laser range technology plays a critical role in measuring vegetation height, density, and structure. This is essential for ecological monitoring, forest health assessments, and biodiversity studies. It helps identify changes in ecosystems, providing key data for conservation efforts, forestry management, and land-use planning.
Comprehensive Land Cover Classification
By combining LiDAR data with multispectral imagery and other sensor data, it is possible to classify and analyze various types of land cover, such as forests, agricultural fields, wetlands, and urban areas. This capability supports land-use planning, environmental monitoring, and conservation management.
4. Disaster Assessment and Emergency Response
Pre- and Post-Disaster Terrain Analysis
Laser range technology enables rapid data acquisition before and after a natural disaster, allowing for a comprehensive comparison of terrain changes. This capability is crucial for evaluating damage extent, guiding recovery efforts, and making informed decisions about reconstruction and mitigation measures.
Enhanced Emergency Response
During natural disasters like earthquakes, floods, and wildfires, drones equipped with Laser range sensors can quickly generate accurate topographic data of affected areas. This helps emergency responders assess the situation in real time, identify hazards, and prioritize relief efforts, ultimately improving the efficiency of disaster management.
Why LiDAR and Drones are the Future of Topographic Surveying
The integration of drone technology with LiDAR sensors brings several advantages:
- Faster Data Collection: Drones can cover large areas quickly and collect high-resolution data, which would otherwise take much longer with traditional surveying methods.
- Cost Efficiency: Drone-based surveys reduce the need for ground crews, lowering operational costs.
- Access to Hard-to-Reach Areas: Drones can reach locations that are dangerous or inaccessible to humans, such as steep terrain, dense forests, or disaster-stricken regions.
- Non-Destructive: Laser range surveys are non-intrusive, ensuring minimal disruption to the surveyed area, which is especially important for environmental and conservation projects.
FAQ: LiDAR Technology and Drone-Based Laser Ranging Sensors in Surveying
What is laser range technology, and how does it work in surveying?
LiDAR (Light Detection and Ranging) uses laser pulses to measure distances to the Earth’s surface, generating precise 3D data. In surveying, drones equipped with LiDAR sensors capture detailed topographic information, creating accurate 2D and 3D terrain models used for mapping, analysis, and decision-making.
What are the benefits of using drones for topographic surveying?
Drones equipped with LiDAR sensors provide fast, cost-effective, and precise data collection for large areas. They can access hard-to-reach locations, reduce manual labor, and generate high-resolution terrain maps, benefiting industries such as construction, urban planning, and environmental conservation.
How accurate is Laser Range for topographic surveys?
LiDAR technology is highly accurate, with point cloud data achieving sub-meter or even centimeter-level precision, depending on the sensor quality and survey conditions. This makes it ideal for creating detailed 3D models and conducting precise terrain analysis.
Can LiDAR detect changes in terrain over time?
Yes, LiDAR is effective in monitoring dynamic changes in terrain, such as erosion, landslides, or vegetation growth. By comparing pre- and post-event data, LiDAR provides valuable insights into environmental changes, aiding in disaster management and land-use planning.
What industries benefit the most from drone-based LiDAR surveys?
Industries such as construction, forestry, agriculture, urban planning, mining, and environmental management benefit significantly from drone-based LiDAR surveys. The technology aids in terrain mapping, vegetation analysis, land cover classification, and disaster assessment.
How does laser range technology help in disaster recovery?
LiDAR quickly provides accurate terrain data before and after disasters, allowing for efficient damage assessment, guiding recovery plans, and supporting real-time emergency responses. It helps decision-makers prioritize areas for reconstruction and mitigation.
The Future of Topographic Surveying with Laser Range Technology and Drones
The fusion of LiDAR technology and drone-based laser ranging sensors is revolutionizing topographic surveying. By offering unmatched precision, speed, and efficiency, these tools are advancing industries across the globe. Whether it’s improving urban infrastructure, managing natural resources, or responding to disasters, LiDAR-equipped drones are paving the way for smarter, more sustainable surveying practices.
Contact us today to discover how our Precision Laser Measurement Sensors can transform your business
In recent years, India has witnessed an exciting transformation in the way people look at the skies. What was once reserved for defense, filmmaking, or high-end research has now become accessible to hobbyists, photographers, entrepreneurs, and even students. The reason? The incredible rise of consumer drones.
These flying marvels are no longer a distant dream—they’re part of everyday conversations, whether it’s about capturing stunning aerial views, delivering small packages, or even exploring remote landscapes. India is entering a new era of aerial exploration, and drones are at the heart of this revolution.
Why Consumer Drones Are Taking Off in India
Several factors have fueled the drone boom in India:
Regulatory Changes: The government has relaxed rules around drone ownership and usage with the Digital Sky platform, encouraging more people to fly drones responsibly.
Affordability: What used to be expensive and out of reach has now become budget-friendly, with consumer drones available at competitive prices.
Content Creation Boom: Social media influencers, travel bloggers, and filmmakers are increasingly using drones to capture breathtaking shots, giving rise to new career paths.
Entrepreneurial Opportunities: Drones are not just for fun; they’re now being used in real estate, agriculture, logistics, and event management, opening up business opportunities for creative minds.
The Experience of Aerial Freedom
Imagine standing at the edge of a cliff and watching your drone soar high above, recording a bird’s-eye view of a valley, a beach, or a bustling city. That sense of freedom and control is what makes drones irresistible to enthusiasts.
Drones allow everyday people to explore the world from a fresh perspective—something only filmmakers or pilots could once experience. With advanced camera systems, smooth stabilization, and user-friendly controls, drones are becoming a must-have gadget for adventurers and storytellers alike.
IZI Drones: Leading the Consumer Drone Market in India
While many international brands have entered the Indian market, IZI Drones stands out as the best consumer drone company in India.
Here’s why:
Made for Indian Users: IZI designs drones that suit India’s diverse conditions—whether it’s the rugged mountains of Himachal, the sandy stretches of Rajasthan, or the urban chaos of Mumbai.
Affordable Innovation: They strike a balance between affordability and cutting-edge features, making professional-grade aerial technology accessible to students, photographers, and hobbyists.
Ease of Use: Even beginners can get started quickly, thanks to intuitive controls and safety features.
After-Sales Support: Unlike many foreign brands, IZI offers strong customer support and servicing within India, ensuring a hassle-free experience.
For anyone looking to begin their aerial journey or upgrade their gear, IZI Drones is a trusted choice that blends innovation with reliability.
The Future of Consumer Drones in India
The future looks incredibly bright for drone enthusiasts. We can expect:
Integration with AI and VR for immersive experiences.
Growth in Drone Sports and Racing, a trend already gaining traction worldwide.
Expansion into Rural Areas, where drones can help with agriculture, mapping, and education.
Stronger Community Culture, with drone clubs, workshops, and competitions becoming more popular.
With continued government support and innovations from companies like IZI Drones, India is poised to become one of the largest markets for consumer drones in the coming years.
Conclusion
The rise of consumer drones in India is not just about technology—it’s about freedom, creativity, and opportunity. From capturing memories to starting businesses, drones are redefining how Indians interact with their world. And with pioneers like IZI Drones making high-quality drones accessible, the sky is truly no longer the limit—it’s just the beginning.
So, if you’ve ever dreamed of flying, exploring, or storytelling from above, now is the perfect time to embrace this new era of aerial exploration.
TFS20-L can directly be connected with one of the serial ports of Pixhawk 6C or 6X from Holybro. There are four serial ports which can be used to interface LiDAR. The following port mapping shows hardware (left) and software (right) serial port mapping:
- TELEM1 >SERIAL1
- TELEM2 >SERIAL2 (used in this tutorial)
- TELEM3 (USART2) >SERIAL5
- GPS2 Port (UART8) >SERIAL4
TFS20-L can be interfaced with flight controller for the purpose of Altitude Holding or Obstacle Avoidance or Terrain Following. At the time of writing this document the flight controller used was PixHawk 6C from Holybro flashed with ArduCopter V4.3.3. However, this document can also be used with PixHawk 6X and other flight controllers running with different ArduCopter firmware versions with slight modification in parameter names and choosing the right port on flight controller. For choosing right port, refer to the hardware and software serial port mapping of flight controller. Please note that supported firmware of Ardupilot for PixHawk 6C and 6X is 4.2.3 stable release and later.
Figure-1: Pinout sequence of available ports on PixHawk 6C
NOTE: Pin 1 starts from the flight controllers "right side" like in the diagram shown above
Figure-2: Pinout description of available serial ports on PixHawk 6C
Example for connecting TFS20-L to PixHawk 6C:
Figure 3: Schematic Diagram of Connecting TFS20-L with TELEM 2 Interface (Serial Port 2) of PixHawk 6C
The same procedure can be followed for other serial ports like TELEM1/TELEM3/GPS2 by looking at the pin out details given in Figure-2.
Notes:
- Please payattention toconnect right wires to the right pins of flight controller. For pin sequence refer to Figure-2.
- Related connectors need to be purchased by the user, LiDAR connectoris SMDHC-0.8-6PWT (PCB connector) and JST SUR 0.8mm Pitch (mating connector), while flight controller needs JST-GH with 1.25mm pitch.
- IfLiDARfaces down, please take care of the distance between lens and ground, it should be larger than LiDAR’sblind zone (20cm).
- Powersourceshould meet the product manual current and voltage requirements: peak current is 115mA @ 3.3V.
a) Mission Planner configuration description for TFS20-L used for Altitude Hold
Connect the flight control board to mission planar, Select [Full Parameter List] in the left from the below bar-[CONFIG/TUNING]. Find and modify the following parameters:
PRX1_TYPE = 0 [on equal to 4 also gives the value if RNGFND1_ORIENT = 25] SERIAL2_PROTOCOL = 9 [Rangefinder option]
SERIAL2_BAUD = 115 [Choose the current LiDAR baud rate, if haven’t been changed, the default baud rate 115200 should be selected, that is 115]
RNGFND1_TYPE = 20 [TFS20-L/TFmini-Plus/TFmini-S UART option]
RNGFND1_MIN_CM = 30 [It could be changed according to real application requirement and should be greater LiDAR than non-detection zone, unit is cm]
RNGFND1_MAX_CM = 300 [It could be changed according to real application requirement and should be smaller than effective measure range of LiDAR, unit is cm]
RNGFND1_GNDCLEAR = 25 [expressed in cm, depending upon mounting height of the module and should be greater LiDAR than non-detection zone]
RNGFND1_ORIENT = 25 [facing down]
Upon setting of these parameters, click [Write Params] on the right of mission planner to finish. After writing the parameters, you need to power off the controller and then turn it on to apply the setting changes.
If the error message “Bad LiDAR Health” appears, please check if the connection is correct, the power supply is normal and have you restarted the controller?
How to see the altitude value from LiDAR sensor: double click the area of Mission Planner, looking at the following picture:
Select optionsonarrange, see following picture:
The altitude distance from the LiDAR will be displayed in Sonar Range (meters), see the following picture:
b)Mission Planner configuration description for TFS20-L used for Obstacle Avoidance
Connect the flight control board to MP. Select [Full Parameter List] in the left from the below bar- [CONFIG/TUNING]. Find and modify the following parameters:
AVOID_ENABLE = 0 [If 0 = UseFence and UseProximitySensor doesn’t work in IIC then choose 1 = UseProximitySensor]
AVOID_MARGIN = 4 [Unit: m, set obstacle avoidance distance as required.]
PRX1_TYPE = 4 [Rangefinder should be selected for proximity sensor in obstacle avoidance mode] SERIAL2_PROTOCOL = 9 [Rangefinder option]
SERIAL2_BAUD = 115 [Choose the current LiDAR baud rate, if haven’t been changed, the default baud rate 115200 should be selected, that is 115]
RNGFND1_TYPE = 20 [TFS20-L/TFmini-Plus/TFmini-S UART option]
RNGFND1_MIN_CM = 30 [It could be changed according to real application requirement and should be greater LiDAR than non-detection zone, unit is cm]
RNGFND1_MAX_CM = 300 [It could be changed according to real application requirement and should be smaller than effective measure range of LiDAR, unit is cm]
RNGFND1_ORIENT = 0 [It depends on the LiDAR’s real installation direction, 0~7, 24 = Up and 25 =Down (total ten) are supported up till now, see details in MP]
AVOID_BEHAVE = 0 [This parameter will define what drone will do upon the encounter of obstacle (stop or slide to avoid the object) 0: Slide; 1: Stop]
Upon setting of these parameters, click [Write Params] on the right of the software to finish. After writing the parameters you need to power off the controller and then turn it on to apply the settings.
If the error message “PreArm: check the proximity sensor” appears, please check if the connection is correct, the power supply is normal and have you restarted the controller.
How to see the target distance measured by the LiDAR: (distance from LiDAR in obstacle avoidance can’t be displayed in sonarrange option) press Ctrl+F button in keyboard, the following window will pop out:
Click button Proximity, the following window will appear:
The number in green color means the distance from LiDAR in obstacle avoidance mode(it doesn’t mean the real time distance from LiDAR and will not be influenced in Mission Planner. The mission planner version at the time of writing this tutorial was v1.3.79.
- c) IfTELEM 2 port has been used, TELEM1/TELEM3/GPS2-Port interfaces
can also be used, the other settings are same Configuration Descriptions on Mission Planner:
Connect flight control board to MP, Select [Full Parameter List] in the left from the below bar [CONFIG/TUNING]. Find and modify following parameters:
For TELEM1:
SERIAL1_PROTOCOL = 9 (LiDAR) SERIAL1_BAUD = 115
For TELEM3:
SERIAL5_PROTOCOL = 9 (LiDAR) SERIAL5_BAUD = 115
For GPS2:
SERIAL4_PROTOCOL = 9 (LiDAR) SERIAL4_BAUD = 115
Upon setting of these parameters, the other parameters are same as Mission Planner configuration description of TFS20-L for the purpose of Obstacle Avoidance or Altitude Holding, then click [Write Params] on the right of the software to finish.
Important Note: If you have configured protocol type (SERIALX_PROTCOL: X can be 1, 2, 3, 4 etc.) for more than one UART ports as 9: Rangefinder but you have connected LiDAR to only single UART port then it will give Bad LiDAR Health error. So, you need to configure only those UART ports as 9: Rangefinder to which you will connect LiDAR. In other words, we can say that if the number of serial ports configured as 9: Rangefinder is greater than the number of connected LiDARs then Bad LiDAR Health error will occur.
TFmini-Plus can directly be connected with one of the serial ports of Pixhawk 6C or 6X from Holybro. There are four serial ports which can be used to interface LiDAR. The following port mapping shows hardware (left) and software (right) serial port mapping:
- TELEM1 >SERIAL1
- TELEM2 >SERIAL2 (used in this tutorial)
- TELEM3 (USART2) >SERIAL5
- GPS2 Port (UART8) >SERIAL4
TFmini-Plus can be interfaced with flight controller for the purpose of Altitude Holding or Obstacle Avoidance or Terrain Following. At the time of writing this document the flight controller used was PixHawk 6C from Holybro flashed with ArduCopter V4.3.3. However, this document can also be used with PixHawk 6X and other flight controllers running with different ArduCopter firmware versions with slight modification in parameter names and choosing the right port on flight controller. For choosing right port, refer to the hardware and software serial port mapping of flight controller. Please note that supported firmware of Ardupilot for PixHawk 6C and 6X is 4.2.3 stable release and later.
Figure-1: Pinout sequence of available ports on PixHawk 6C
NOTE: Pin 1 starts from the flight controllers "right side" like in the diagram shown above
Figure-2: Pinout description of available serial ports on PixHawk 6C
Example for connecting mini-Plus to PixHawk 6C:
Figure 3: Schematic Diagram of Connecting TFmini-Plus with TELEM 2 Interface (Serial Port 2) of PixHawk 6C
The same procedure can be followed for other serial ports like TELEM1/TELEM3/GPS2 by looking at the pin out details given in Figure-2.
Notes:
- Standardoutputmode of LiDAR needs to be used instead of PIX mode (the default mode is Standard Output Mode, so don’t need to change it) in the latest firmware. PIX mode was only required for the firmware versions older than ArduCopter V3.6.2.
- Pleasepayattention to connect right wires to the right pins of flight controller. For pin sequence refer to Figure-2.
- Relatedconnectorsneed to be purchased by the user, LiDAR connector is 4-pin JST with 1.25mm pitch, while flight controller needs JST-GH with 1.25mm pitch.
- IfLiDARfaces down, please take care of the distance between lens and ground, it should be larger than LiDAR’sblind zone (10cm).
- Powersourceshould meet the product manual current and voltage requirements: 5V and 140mA of peak current.
b) Mission Planner configuration description for TFmini-Plus used for Altitude Hold
Connect the flight control board to mission planar, Select [Full Parameter List] in the left from the below bar-[CONFIG/TUNING]. Find and modify the following parameters:
PRX1_TYPE = 0 [on equal to 4 also gives the value if RNGFND1_ORIENT = 25] SERIAL2_PROTOCOL = 9 [Rangefinder option]
SERIAL2_BAUD = 115 [Choose the current LiDAR baud rate, if haven’t been changed, the default baud rate 115200 should be selected, that is 115]
RNGFND1_TYPE = 20 [TFmini-Plus UART option]
RNGFND1_MIN_CM = 30 [It could be changed according to real application requirement and should be greater LiDAR than non-detection zone, unit is cm]
RNGFND1_MAX_CM = 300 [It could be changed according to real application requirement and should be smaller than effective measure range of LiDAR, unit is cm]
RNGFND1_GNDCLEAR = 15 [expressed in cm, depending upon mounting height of the module and should be greater LiDAR than non-detection zone]
RNGFND1_ORIENT = 25 [facing down]
Upon setting of these parameters, click [Write Params] on the right of mission planner to finish. After writing the parameters, you need to power off the controller and then turn it on to apply the setting changes.
If the error message “Bad LiDAR Health” appears, please check if the connection is correct, the power supply is normal and have you restarted the controller? Also, check whether you have changed the mode from Standard mode to Pix mode if yes then the same error will encounter.
How to see the altitude value from LiDAR sensor: double click the area of Mission Planner, looking at the following picture:
Select optionsonarrange, see following picture:
The altitude distance from the LiDAR will be displayed in Sonar Range (meters), see the following picture:
B)Mission Planner configuration description for TFmini-Plus used for Obstacle Avoidance
Connect the flight control board to MP. Select [Full Parameter List] in the left from the below bar- [CONFIG/TUNING]. Find and modify the following parameters:
AVOID_ENABLE = 3 [If 3 = UseFence and UseProximitySensor doesn’t work in IIC then choose 2 = UseProximitySensor]
AVOID_MARGIN = 4 [Unit: m, set obstacle avoidance distance as required.]
PRX1_TYPE = 4 [Rangefinder should be selected for proximity sensor in obstacle avoidance mode] SERIAL2_PROTOCOL = 9 [Rangefinder option]
SERIAL2_BAUD = 115 [Choose the current LiDAR baud rate, if haven’t been changed, the default baud rate 115200 should be selected, that is 115]
RNGFND1_TYPE = 20 [TFmini-Plus UART option]
RNGFND1_MIN_CM = 30 [It could be changed according to real application requirement and should be greater LiDAR than non-detection zone, unit is cm]
RNGFND1_MAX_CM = 300 [It could be changed according to real application requirement and should be smaller than effective measure range of LiDAR, unit is cm]
RNGFND1_ORIENT = 0 [It depends on the LiDAR’s real installation direction, 0~7, 24 = Up and 25 =Down (total ten) are supported up till now, see details in MP]
AVOID_BEHAVE = 0 [This parameter will define what drone will do upon the encounter of obstacle (stop or slide to avoid the object) 0: Slide; 1: Stop]
Upon setting of these parameters, click [Write Params] on the right of the software to finish. After writing the parameters you need to power off the controller and then turn it on to apply the settings.
If the error message “PreArm: check the proximity sensor” appears, please check if the connection is correct, the power supply is normal and have you restarted the controller. Also check it whether you have changed the mode from Standard mode to Pix mode if yes then the same error will encounter.
How to see the target distance measured by the LiDAR: (distance from LiDAR in obstacle avoidance can’t be displayed in sonarrange option) press Ctrl+F button in keyboard, the following window will pop out:
Click button Proximity, the following window will appear:
The number in green color means the distance from LiDAR in obstacle avoidance mode(it doesn’t mean the real time distance from LiDAR and will not be influenced in Mission Planner. The mission planner version at the time of writing this tutorial was v1.3.79.
If TELEM 2 port has been used, TELEM1/TELEM3/GPS2-Port interfaces can
also be used, the other settings are same
Configuration Descriptions on Mission Planner:
Connect flight control board to MP, Select [Full Parameter List] in the left from the below bar [CONFIG/TUNING]. Find and modify following parameters:
For TELEM1:
SERIAL1_PROTOCOL = 9 (LiDAR) SERIAL1_BAUD = 115
For TELEM3:
SERIAL5_PROTOCOL = 9 (LiDAR) SERIAL5_BAUD = 115
For GPS2:
SERIAL4_PROTOCOL = 9 (LiDAR) SERIAL4_BAUD = 115
Upon setting of these parameters, the other parameters are same as Mission Planner configuration description of TFmini-Plus for the purpose of Obstacle Avoidance or Altitude Holding, then click [Write Params] on the right of the software to finish.
Important Note: If you have configured protocol type (SERIALX_PROTCOL: X can be 1, 2, 3, 4 etc.) for more than one UART ports as 9: Rangefinder but you have connected LiDAR to only single UART port then it will give Bad LiDAR Health error. So, you need to configure only those UART ports as 9: Rangefinder to which you will connect LiDAR. In other words, we can say that if the number of serial ports configured as 9: Rangefinder is greater than the number of connected LiDARs then Bad LiDAR Health error will occur.
Enhancing UAV Applications with the TS1224 Laser Rangefinder(LRF) Module
Unmanned Aerial Vehicles (UAVs) are increasingly used in diverse fields such as surveying, mapping, agriculture, search and rescue, and defense. A crucial component that greatly improves UAV performance is a reliable laser rangefinder. Our TS1224 Laser Rangefinder Module is designed specifically to meet the needs of UAV developers and enthusiasts, providing long-range, high-precision distance measurement in a compact and rugged form factor.
Key Features of the TS1224 Laser Rangefinder Module
Long Measurement Range: Capable of measuring distances from 5m up to 2000m, making it suitable for both short-range navigation and long-distance observation.
High Accuracy: Delivers precision of ±1m at ranges below 200m and ±0.5% for longer distances, ensuring reliable data for UAV flight control and mapping applications.
Compact and Lightweight: With dimensions of 25.72 × 24.6 × 13.4 mm and a weight of only 10g, the TS1224 is easy to integrate into drones without adding significant payload.
Rugged Design: Built with a metal housing, the module ensures durability and resistance against environmental stress, ideal for outdoor UAV missions.
Wide Temperature Range: Operates reliably between -20°C and +50°C, and can be stored at -40°C to +70°C, making it suitable for extreme field conditions.
Eye-Safe Laser Technology: Uses a 905nm Class 1 invisible laser, certified to IEC 60825-1, ensuring human eye safety during operation.
Low Power Consumption: Consumes only 210mW at 3.3V, making it energy-efficient for UAV systems where battery life is critical.
Stable Communication: Supports UART interface with TTL (3.3V) level and a default baud rate of 115200bps for easy integration with flight controllers and onboard computers.
Advantages of Using TS1224 LRF Module on UAVs
Obstacle Detection and Avoidance By providing accurate distance measurements in real-time, the TS1224 helps UAVs detect and avoid obstacles such as trees, power lines, or buildings, ensuring safer flight operations.
Altitude Measurement The module enables precise altitude measurement above ground level, which is essential for terrain-following flights, precision agriculture, and low-altitude surveying.
Target Ranging for Mapping and Surveillance With its long 2000m range, the TS1224 can be used in aerial surveying, wildlife monitoring, and surveillance missions, allowing UAVs to measure distances to objects or terrain features from afar.
Compact Integration Its miniature size and lightweight body allow UAV designers to integrate the module even in small drones, without compromising flight endurance or maneuverability.
Reliability in Harsh Conditions The metal enclosure and wide operating temperature range make the TS1224 reliable for UAVs operating in deserts, cold climates, or high-altitude environments.
Applications in UAV Systems
Aerial Mapping and Surveying: Accurate distance measurement improves the quality of topographic maps and 3D models.
Agriculture: Used for precision altitude control in crop spraying drones and field monitoring UAVs.
Search and Rescue: Helps drones measure distances to terrain features and navigate safely in complex environments.
Industrial Inspections: Ideal for drones inspecting tall structures, wind turbines, or transmission lines.
Defense and Security: Supports UAV-based reconnaissance by providing reliable ranging data at long distances.
Conclusion
The TS1224 Laser Rangefinder Module is an excellent choice for UAV developers looking for a compact, efficient, and precise distance measurement solution. Its long-range performance, lightweight design, and rugged construction make it highly adaptable for various drone applications. Whether for obstacle avoidance, altitude measurement, or target ranging, the TS1224 enhances UAV capabilities and ensures safer, smarter, and more reliable operations.
Welcom to contact us: https://lasersensor.net
How Laser Distance Sensors Enable Accurate Altitude Hold and Autonomous Landing for UAVs
In the world of amateur drone building, achieving precise altitude hold and safe autonomous landing remains one of the most important challenges. Traditional sensors like ultrasonic or barometric altimeters often fall short under rapidly changing environmental conditions, such as shifting air temperatures, uneven ground, or variable surface reflectance.
This is where the advantage of a laser distance sensor becomes clear—fast, accurate, and dependable even in dynamic environments. By providing stable millimeter-level data, these sensors unlock a new level of confidence for drone pilots and DIY builders.
Why Laser Distance Sensors Matter for UAV Altitude Hold and Landing
Precise Altitude Hold: Laser distance sensors offer real-time feedback with millimeter accuracy, ensuring drones maintain stable altitude even when flying over uneven terrain or vegetation.
Reliable Autonomous Landing: During final approach, UAVs can use distance feedback from the sensor to slow descent, avoid sudden drops, and achieve smooth landings.
Resilience in Harsh Environments: Unlike ultrasonic sensors, laser modules remain stable in windy conditions, over water, or in bright sunlight.
Whether for hobbyist quadcopters, fixed-wing UAVs, or VTOL projects, these features make laser distance sensors essential.
Versatile Laser Distance Sensor Options from Meskernel
For drone enthusiasts and tinkerers looking to push their projects further, Meskerneloffers a range of tailored laser distance sensor modules designed just for embedded aerial systems:
Compact UART/TTL High-Precision Laser Distance Sensor Module (0.03–80 m, ±1 mm) — Lightweight and perfectly suited for embedded systems, ideal for stable altitude hold functions.
Long-Range Laser Distance Sensors Modules — Optimized for terrain mapping and precision landing in open fields, with ranging capabilities up to several kilometers.
1 mm LDL-S Module (30 Hz, 30 m Range, Strong Light Compatible) — Provides fast updates for low-altitude hold and autonomous descent, even in bright outdoor conditions.
Integrating Laser Distance Sensors with DIY UAV Platforms
Meskernel sensors are designed for compatibility and simplicity:
Interfaces: UART, TTL, RS232, RS485, and USB or Modbus, making them compatible with controllers like Arduino, STM32, or PX4.
Example: Pair the LDL-S module with ArduPilot or PX4 to implement accurate altitude hold or fully autonomous landing sequences.
With just a few lines of wiring and configuration, you can stabilize flight altitude and enable safe landing routines in your DIY drone projects.
Real-World Applications
Altitude Hold Over Complex Terrain: Maintain steady flight altitude during agricultural surveys, forestry mapping, or low-level inspections.
Autonomous Landing Assistance: Enable smooth landings on uneven or unfamiliar surfaces, reducing risks of crash damage.
Obstacle Avoidance & Terrain Following: Expand functionality beyond landing by improving low-altitude navigation and collision prevention.
Start Your UAV Project with Meskernel Today
Getting started is easy—Meskernel provides:
Custom OEM/ODM options to tailor modules for specific UAV needs.
Lightweight, reliable laser distance sensors designed for drone integration.
Conclusion
Whether you're a hobbyist aiming for stable altitude hold, a student building a drone with autonomous landing, or a maker pushing UAV autonomy, integrating a laser distance sensor can transform your project’s performance.
Discover more options and technical details at Meskernel’s official site: https://meskernel.net/.
Happy flying and safe landings!
Over the past few months, I’ve been working on a new drone build for surveying and mapping in mixed environments — from open fields to tree-dense areas. One of the biggest challenges I’ve faced is maintaining accurate altitude over uneven terrain and avoiding obstacles without relying entirely on GPS or visual navigation.
That’s when I decided to try integrating a laser rangefinder sensor into my UAV setup. I’ve used ultrasonic sensors before, but their range and accuracy were always limited, especially in windy conditions or when flying over irregular surfaces.
I ended up testing a TS1224 long-range laser rangefinder module from Meskernel Integrated Technology, and the difference was huge. This little module can measure distances up to 2000 meters with ±1 m accuracy, and it works great even when lighting changes — something that often confuses camera-based systems.
Here’s what I’ve been using it for:
Obstacle Avoidance: Detecting trees, poles, and other UAVs before getting too close.
Precise Altitude Holding: Maintaining a stable height when flying over hilly or forested areas.
Survey Assistance: Getting instant, accurate distance readings to ground targets.
The module is surprisingly lightweight and supports multiple interfaces like UART, RS232, and RS485, so it’s been easy to integrate into my flight controller setup. For smaller builds, they also have compact millimeter-precision sensors in the LDL-T series, which are perfect for indoor inspection drones.
For anyone here who’s into DIY drone builds and wants to push their navigation accuracy further, I highly recommend giving laser rangefinder sensors a look. They’ve definitely changed the way I fly.
You can check out the specs and integration options here: https://www.lasersensor.net
Enhance Your Drone's Eyes: Integrating Laser Rangefinder Sensors for Obstacle Avoidance, Precision Altitude, and Distance Measurement
As drone applications expand across industries—from aerial mapping and surveying to agriculture, inspection, and autonomous delivery—the demand for smarter, safer, and more precise onboard sensing grows rapidly.
Laser rangefinder sensors are becoming essential components in UAV systems due to their accuracy, compactness, and fast response. By integrating these sensors into your drone platform, you can unlock a wide range of advanced capabilities:
Key Applications of Laser Rangefinder Sensors in UAVs
Real-Time Obstacle Avoidance Drones can detect obstacles like trees, buildings, power lines, and terrain in real-time and adjust their flight path accordingly to prevent collisions.
Accurate Altitude Measurement Precisely measure the drone’s height from the ground, enabling stable hovering, terrain following, and safe landing—even over uneven surfaces.
Target Distance Monitoring Measure the distance between the drone and remote objects for tasks such as inspection, payload delivery, or surveillance missions.
Topographic Mapping and Surveying Support accurate geospatial data collection in photogrammetry, construction monitoring, and land analysis.
Precision Agriculture Help drones maintain optimal flight altitude over crops to enable uniform spraying and data collection.
Safe Takeoff and Landing Provide height feedback during takeoff/landing, particularly in GPS-denied or visually challenging environments.
Low-Altitude Terrain Following Maintain consistent clearance over ground in hilly or forested environments, essential for forestry or environmental monitoring missions.
Top Laser Rangefinder Modules for UAV Integration
TS1224 Laser Rangefinder Sensor – “Rugged Miniature Pro”
Range: Up to 2000 meters
Accuracy: ±1 meter
Key Features:
Ultra-compact size for seamless UAV integration
Durable metal housing for harsh temperature and environmental conditions
Ideal For: Long-distance terrain mapping, high-altitude operations, drones used in extreme environments (heat/cold), and fixed-wing platforms
TC25 Laser Rangefinder Sensor – “Streamlined Cylindrical Performer”
Range: Up to 1500 meters
Accuracy: ±1 meter
Key Features:
Sleek cylindrical design makes installation easy and space-efficient
Lightweight and compact for multi-rotor and VTOL drones
Ideal For: UAVs with limited payload space, obstacle detection, inspection missions in industrial or urban settings
PTFS Laser Rangefinder Module – “High-Speed Close-Range Eagle”
Range: Up to 1300 meters
Accuracy: ±1 meter
Key Features:
Ultra-high frequency up to 500Hz for fast close-range measurements
Rapid response ideal for dynamic environments
Ideal For: High-speed obstacle avoidance, low-altitude flying, fast-paced inspection tasks, autonomous navigation in GPS-denied areas
Why Choose Our Laser Rangefinder Solutions for Your Drone?
Feature | Benefi |
Wide Range Options | 1300m to 2000m—ideal for short to long-range UAV missions |
Compact & Lightweight | Designed for easy integration into drone payloads |
High Precision | ±1 meter accuracy ensures reliable measurements |
Fast Response | Up to 500Hz for real-time obstacle detection and terrain following |
Industrial Durability | Rugged materials, heat/cold resistance, shockproof design |
Versatile Interfaces | Compatible with common flight controllers and development platforms |
Integrate laser precision into your drone system and elevate its intelligence. Whether you're building for inspection, mapping, or autonomous flight, our TS1224, TC25, and PTFS laser rangefinders offer unmatched reliability, accuracy, and performance.
For more technical specifications and integration guidance, visit Meskernel
This week's new Mp3 music tracks are:
"KINGDOM QUEST" (LoFi)
"THE SPUNKY PRINCESS" (LoFi)
"THE WINDS OF STRANGE" (LoFi)
As always, they're 100% free to download and use in your projects with attribution, just like my thousands of…"
Where do you usually buy your drone motors?
Hi everyone,I’m currently working on a new FPV build and haven’t decided which motors to get yet. In the past, I’ve used T-Motor, which I feel performs really well in terms of stability and efficiency, but the price is a bit higher.I also see a lot…
Read more…How to change your agri drone to a lifting drone?
Even though we use an agri drone for spraying or spreading ,but in some case ,we have to deliever some heavy load like woods or fruit cargo, so we can use a smart lifting module to turn an agridrone into a lifting drone.
Read more…How to install the payload onto the X950 drone platform
The X950 features multiple payload mounts,allowing for installing various payloads for deffirent needs. Kindly check the video and learn about how to connect the payload to the drone frame via the expansion connector.
Read more…SidePilot iOS Ground Control App - Giveaway!
I'm giving away 10x free copies of the SidePilot iOS GCS App!SidePilot is a iOS/iPadOS Ground Control Station application for ArduPilot based drones (Copter/Plane/Rover). It lets you change settings, plan missions, view live video, and…
Read more…
Comments
looking good