Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    AI updates from the previous week: Anthropic launches Claude 4 fashions, OpenAI provides new instruments to Responses API, and extra — Might 23, 2025

    May 23, 2025

    Crypto Sniper Bot Improvement: Buying and selling Bot Information

    May 23, 2025

    Upcoming Kotlin language options teased at KotlinConf 2025

    May 22, 2025
    Facebook X (Twitter) Instagram
    • About Us
    • Contact Us
    • Disclaimer
    • Privacy Policy
    • Terms and Conditions
    TC Technology NewsTC Technology News
    • Home
    • Big Data
    • Drone
    • Software Development
    • Software Engineering
    • Technology
    TC Technology NewsTC Technology News
    Home»Drone»How one can Set Up Optical Circulate & Rangefinder Sensors in iNav – Place/Altitude Maintain for FPV Drones
    Drone

    How one can Set Up Optical Circulate & Rangefinder Sensors in iNav – Place/Altitude Maintain for FPV Drones

    adminBy adminJune 24, 2024Updated:June 25, 2024No Comments7 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    How one can Set Up Optical Circulate & Rangefinder Sensors in iNav – Place/Altitude Maintain for FPV Drones
    Share
    Facebook Twitter LinkedIn Pinterest Email
    How one can Set Up Optical Circulate & Rangefinder Sensors in iNav – Place/Altitude Maintain for FPV Drones


    5

    Flying an FPV drone in Place Maintain and Altitude Maintain modes could be considerably improved with the addition of Optical Circulate and Sonar (rangefinder) sensors. These sensors assist keep a secure hover by offering exact knowledge in regards to the drone’s place and altitude. On this tutorial, I’ll information you thru organising these sensors in iNav.

    sponsor-banner

    A number of the hyperlinks on this web page are affiliate hyperlinks. I obtain a fee (at no additional value to you) when you make a purchase order after clicking on certainly one of these affiliate hyperlinks. This helps help the free content material for the neighborhood on this web site. Please learn our Affiliate Hyperlink Coverage for extra info.

    This information is predicated on the directions supplied by the producer of the optical circulation sensor I bought. These steps won’t work for different forms of optical circulation/sonar sensors.

    Why Add a Rangefinder and Optical Circulate Sensor?

    Including a rangefinder and optical circulation sensor enhances your quadcopter’s stability and precision. The optical circulation sensor works just like the sensor in a pc mouse, capturing pictures of the bottom to find out motion. The rangefinder (sonar) supplies extra correct altitude measurements in comparison with a barometer, which is particularly helpful throughout touchdown, although the utmost efficient altitude is usually lower than just a few meters.

    Required Parts

    You’ll need two issues:

    • Optical Circulate and Rangefinder Sensor
    • A drone with an iNav-compatible flight controller and a spare UART

    Microair Mtf 01 Ranger Finder Optical Flow Sensor Module

    I’m utilizing the MicroAir MTF-01, a rangefinder sensor with built-in Optical Circulate functionality. It’s an ideal module as a result of the connection and setup are very easy, and it helps iNav. You may get the MTF-01 right here:

    I like to recommend getting the bundle that features the USB to TTL programmer (FTDI adapter), as you would possibly want it to alter settings, or you should buy a generic one if that’s cheaper, additionally works high-quality: https://oscarliang.com/fpv-tools/#FTDI-Adapter

    MTF-01 Specs:

    • Helps Ardupilot, PX4, and iNav
    • PMW3901 optical circulation sensor
    • Excessive-performance TOF sensor
    • Output mode: UART
    • Output frequency: 100Hz
    • TOF Vary: 0.02-8m
    • Vary accuracy: 2%
    • Wavelength: 830-870nm
    • Resistance to ambient gentle: 70K Lux illumination
    • Distance FOV: 6°
    • Optical circulation FOV: 42°
    • Ambient gentle demand of optical circulation: >60Lux
    • Optical circulation working distance: >80mm
    • Energy consumption: 500mW
    • Working voltage: 4.0- 5.5V
    • Module weight: 4.5g
    • Dimensions: 29 * 16.5 * 15mm

    For the drone, I’m utilizing the GEPRC Cinebot25. I’m not snug testing place maintain indoors with any drones with out prop guards, so a small cinewhoop is an ideal selection. See my overview of this drone right here: https://oscarliang.com/geprc-cinebot25/

    Nevertheless, the GEPRC flight controller doesn’t help iNav (but), so I needed to swap it out with the Flywoo GN745 V3. Listed below are particulars about this FC and the way I changed it: https://oscarliang.com/flywoo-goku-gn745-aio-v3-fc/

    New to iNav? Try my newbie tutorial on methods to arrange iNav on an FPV drone: https://oscarliang.com/setup-inav-fpv-drone/

    Step 1: Configuring the Module

    The MTF-01 module helps the next output protocols:

    • Microlink: a customized protocol which helps FMT
    • MSP: helps iNav
    • Mavlink_APM: Mavlink protocol for Ardupilot
    • Mavlink_PX4: Mavlink protocol for Pixhawk 4

    My unit was set to Microlink by default, so I needed to change it to MSP protocol to work with iNav. You’ll be able to simply change the output protocol of the MTF-01 utilizing the MicoAssistant software program, however you have to a USB to TTL programmer.

    Obtain MicoAssistant software program: https://github.com/micoair/MTF-01_USER_MANUAL

    Join the MTF-01 to your PC utilizing the USB to TTL module.

    Microair Mtf 01 Ranger Finder Optical Flow Sensor Module Usb To Ttl Programmer

    Open the MicoAssistant software program, choose the right COM port within the higher proper nook, set the baud price to 115200, and click on on the connection icon.

    Microair Mtf 01 Ranger Finder Optical Flow Sensor Module Usb Microassistant Configure Connection

    As soon as related, click on on the Setup Menu (gear icon), choose the protocol you wish to use (on this case, MSP), after which click on the WRITE button.

    Microair Mtf 01 Ranger Finder Optical Flow Sensor Module Usb Microassistant Configure Output Protocols Msp

    Step 2: Wiring the Sensors

    Join the 4 wires from the MicroAir MTF-01 sensor to any spare UART in your flight controller. I related it to UART4 on my FC.

    • 5V to 5V
    • GND to GND
    • TX to RX
    • RX to TX

    Observe: If the rangefinder and optical circulation sensor don’t get powered by way of the USB cable, you may need to plug in a battery to energy these sensors.

    Microair Mtf 01 Ranger Finder Optical Flow Sensor Module Wiring Diagram Flight Controller Fc Uart Tx Rx

    Flywoo Goku Gn745 45a Aio V3 Fc Flight Controller Replace Geprc Cinebot25 Taker G4 Wiring Gps Optical Flow

    Mount the sensor on the underside of the quad, guaranteeing there’s nothing obstructing the view of the sensors. Use touchdown gears to make sure there’s ample clearance between the bottom and the sensors throughout takeoff, ideally a few centimeters or extra.

    Microair Mtf 01 Ranger Finder Optical Flow Sensor Module Install Geprc Cinebot25 Fpv Drone Cinewhoop Bottom

    Step 3: Configuring iNav

    Earlier than continuing, take away the propellers out of your quadcopter for security. Join the battery after which join the flight controller to your pc.

    Ports

    Open iNav Configurator, go to the Ports tab, and configure the UART you wired up as MSP. Save and reboot.

    Inav Configurator Ports Setup Ranger Finder Optical Flow Sensor Msp

    Configuration

    Within the Configuration tab, discover the “Sensors & buses” part. For Rangefinder and Optical Circulate, set them to MSP. Save and reboot.

    After rebooting, the “Circulate” and “Sonar” sensor icons on the highest of iNav Configurator ought to flip blue, indicating they’re working accurately. If these sensors don’t flip blue however crimson, examine that the TX and RX wires are accurately related and that the battery is powering the sensors.

    Inav Configurator Configuration Setup Ranger Finder Optical Flow Sensor

    CLI Settings

    Inav Configurator Cli Setup Ranger Finder Optical Flow Sensor Pid

    Copy and paste the next strains within the CLI (these are configurations recommended by the maker of MTF-01).

    • Lifeless Reckoning: by enabling iNav_allow_dead_reckoning within the CLI, it enhance efficiency throughout temporary GPS outages.
    • Most Peak Setting: by setting the inav_max_surface_altitude within the CLI, it defines the utmost top at which the rangefinder is efficient, in cm.
    set nav_mc_vel_z_p = 150 set nav_mc_vel_z_i = 250 set nav_mc_vel_z_d= 25 set nav_mc_pos_xy_p = 80 set nav_mc_vel_xy_p = 50 set nav_mc_vel_xy_i = 40 set nav_mc_vel_xy_d = 60 set debug_mode = FLOW_RAW set inav_allow_dead_reckoning = ON set nav_max_terrain_follow_alt = 200 set inav_max_surface_altitude = 200 save

    Debug

    Within the Sensors tab, gently tilt the quad facet to facet and entrance to again. The waveform of Debug 0 ought to look much like Debug 2, whereas Debug 1 ought to look much like Debug 3.

    Debug 0/1 represents the accelerometer readings, whereas 2/3 are from the optical circulation sensor. This check verifies the orientation of the optical circulation sensor. The amplitude won’t be the identical, but when they transfer in the wrong way, you would possibly want to alter the configuration in MicroAssistant (or set align_opflow=cw180 in CLI).

    Inav Configurator Debug Setup Ranger Finder Optical Flow Sensor

    Calibration

    Maintain the drone round 50-60 cm above the bottom and carry out the optical circulation sensor calibration in iNav Configurator. This includes gently tilting the quad facet to facet and entrance to again barely and gently for about 30 seconds with none horizontal actions. Hit save and reboot when carried out.

    MTF-01 recommends a scale worth between 4 to six. In case you get a price exterior this vary, repeat the calibration at a greater top with extra regular fingers.

    Inav Configurator Calibration Setup Ranger Finder Optical Flow Sensor Scale

    Modes

    Assign a change that may allow ANGLE, NAV POSHOLD (place maintain), NAV ALTHOLD (altitude maintain), HEADING HOLD, and SURFACE on the identical time.

    Inav Configurator Modes Setup Ranger Finder Optical Flow Sensor Altitude Position Hold

    Step 4: Testing the Setup

    1. Arm the drone and elevate it right into a hover. If it doesn’t arm because of the lack of GPS lock, bypass this by pushing the throttle/yaw follow the underside proper whereas arming.
    2. Swap to Place Maintain mode and observe the soundness.
    3. Swap to Altitude Maintain mode and examine the altitude stability.

    Troubleshooting and Professional Ideas

      • Sensor Initialization Failure: Make sure the wiring is appropriate and the sensors are powered.
      • Inaccurate Place Maintain: Regulate the Optical Circulate scaler worth.
      • Altitude Drifting: Recheck the Rangefinder configuration and calibration.
      • Initialization Clearance: Guarantee there’s not less than a few centimeters of clearance between the sensor and the bottom when powering up the quadcopter to keep away from incorrect readings.

    Conclusion

    Including the MTF-01 rangefinder and optical circulation sensor to your iNav FPV drone is an easy course of that considerably enhances the soundness and precision of your drone in Place Maintain and Altitude Maintain modes, in addition to touchdown accuracy. With these sensors, your quadcopter will carry out extra like a DJI digicam drone, holding its place and altitude with larger precision. Completely happy flying!



    Supply hyperlink

    Post Views: 102
    drones Flow FPV hold iNav Optical PositionAltitude Rangefinder Sensors set
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    admin
    • Website

    Related Posts

    State Drone Legal guidelines Tighten: Ohio and Florida Lead the Approach

    May 2, 2025

    AVILUS is a Licensed Drone Operator (LUC) – sUAS Information

    May 2, 2025

    SiFly Launches NDAA-Compliant Lengthy-Endurance Drones

    May 1, 2025

    China’s Shift to Small Drones Alerts Reshaping of Fashionable Warfare

    April 30, 2025
    Add A Comment

    Leave A Reply Cancel Reply

    Editors Picks

    AI updates from the previous week: Anthropic launches Claude 4 fashions, OpenAI provides new instruments to Responses API, and extra — Might 23, 2025

    May 23, 2025

    Crypto Sniper Bot Improvement: Buying and selling Bot Information

    May 23, 2025

    Upcoming Kotlin language options teased at KotlinConf 2025

    May 22, 2025

    Mojo and Constructing a CUDA Substitute with Chris Lattner

    May 22, 2025
    Load More
    TC Technology News
    Facebook X (Twitter) Instagram Pinterest Vimeo YouTube
    • About Us
    • Contact Us
    • Disclaimer
    • Privacy Policy
    • Terms and Conditions
    © 2025ALL RIGHTS RESERVED Tebcoconsulting.

    Type above and press Enter to search. Press Esc to cancel.