MicoAir MTF-01 Optical Flow Sensor

The is a lightweight 2 in 1 optical flow sensor including a short range lidar which uses the serial MAVLink protocol to communicate with the autopilot. This can be used to improve horizontal position control especially in GPS denied or indoor environments.

../_images/MTF-01.png

Where to Buy

The sensor is available from Aliexpress and other resellers

Sensor Setup

Use MicoAir’s MicoAssistant software using an FTDI adapter (USB to serial) to set its output protocol to “mav-apm”.

Note

With firmware versions 4.5.0 or above, MTF-01 may not be recognized by Ardupilot unless you use MicoAssistant to modify its “mav_id” to 200(any value other than 1) and configure whichever serial port’s SERIALx_OPTIONS its connected to on the autopilot from “0” to “1024”(“Don’t forward mavlink to/from” option).

Connection to Autopilot

../_images/MTF-01-wiring.jpg
  • The flow sensor should be mounted on the underside of the copter with the camera lens pointing downwards.

  • Connect the sensor to the autopilots’ serial port

Parameters

For the following we will assume it will be connected to Serial1 port of the autopilot. Any serial port can be used, however.

Once the sensor is active you should be able to observe the optical flow and range sensor data on the Mission Planner’s “Status” page. The “opt_qua” and “rangefinder1” should have some value.

Optical Flow Use and Calibration

Be sure to follow the setup and calibration instructions and parameters for Optical Flow setup and how to switch between outdoor(GPS) and indoor (Optical Flow) positioning.