1pc FPV RC Drone Optical Flow Module Hovering Altitude Hold Mini Sensor Balance Visual Position Board Quadcopter DIY Support APM
New uav fixed point light flow module, solid color tile floor can also locate
It is optimized for solid-colored ground, striped ground, and dark light environment. It can also have better data output on solid-colored ground, striped ground, and dark light.
Description:
- Ultra-small volume:1.1cm*1.4cm
- Wide voltage range:2.7v ~ 3.3v power supply
- Data update frequency 25Hz, serial data output
- Dark light environment provides reliable data
New optical flow performance optimization:
1. The output data is optimized to identify more subtle textures and the data is more reliable.
2. The volume is the smallest in the universe, 1.1 * 1.4cm is only half of the old model.
3. The power consumption is less than 26mA, which is 5 times lower than the old 120mA, and it does not generate heat at all
The actual test can maintain good data accuracy under the dark light environment of 20lux illumination (indoor illumination on sunny days is about 600lux, and indoor illumination on cloudy days is about 150lux)
The code provided is the control algorithm code used in video for fixed-point effects (a C file is packaged with an H file to provide fixed-point control algorithm code, but no flight control code is provided). , the need to integrate the fixed-point control algorithm code into their own flight control code, so the need to have a certain programming ability,
The optical flow module data is updated once every 40ms.
When the optical flow module has data update, the data is sent from uart-tx.
UART data format: baud rate 19200bps, data bit 8bit, no parity bit, no flow control
(packet head fixed value oxfe-0x04, packet tail fixed value OxAA, summation =4byte optical stream data summation)
This mini optical flow module has been supported by the open source flight control APM
Requires Pixhawk hardware configuration to achieve stable hover. For details, please see the following apm official website description:
http://ardupilot.org/copter/docs/common-cheerson-cxof.html
Open this page Among them, the FPV RC Drone Optical Flow Module is this module, the shape is the old product before, the data format is the same, fully compatible
We found that many people asked how to convert unsigned 8-bit data to signed 16-bit data. A function is provided below:
void flow_decode(void)
{
uint8_t Check_sum = 0;
static int16_t flow_x,flow_y;
if(UartRxOpticalFlow[0]==0xfe)//校??(Check head)
{
Check_sum=(uint8_t)(UartRxOpticalFlow[2]+UartRxOpticalFlow[3]
+UartRxOpticalFlow[4]+UartRxOpticalFlow[5]);
if(Check_sum == UartRxOpticalFlow[6])//校?和正? (Checksum is correct)
{
flow_x = UartRxOpticalFlow[2] + (UartRxOpticalFlow[3] << 8);
flow_y = UartRxOpticalFlow[4] + (UartRxOpticalFlow[5] << 8);
speed_x = flow_x;
speed_y = flow_y;
}
}
}
Coordinate definition:XY data direction
Note:the drone will not include.
Package included:
1PCs x Optical Flow Module
![](https://ae01.alicdn.com/kf/H00360a67cb514391ac114cc4c1308ea9g.jpg)
![](https://ae01.alicdn.com/kf/H88b9ee0656674dc0b6dc869788018980B.jpg)