The M5 flight controller is a compact, stackable control board used in FPV drones and small RC aircraft to stabilize flight and process pilot inputs. It is not a single product but a family of boards that share a similar form factor and connector layout, so the exact features depend on the specific M5 model you have. This page explains what an M5 is, what to look for when buying one, and how to set it up for your build.
What the M5 Flight Controller Does
The flight controller is the brain of your drone. It reads signals from your receiver, combines them with data from its onboard gyroscope and accelerometer, and sends commands to the electronic speed controllers (ESCs) that spin the motors. The M5 series is popular because it fits neatly into small and medium-sized frames, and its pin layout is designed to work with common 4-in-1 ESCs and stackable power distribution boards.
Most M5 boards include a barometer for altitude hold, a black box data logger for reviewing flights, and multiple UART ports for connecting a receiver, GPS, or other peripherals. The exact number of ports and the processor speed vary by model, so check the product listing or the manual for your specific board.
How to Choose an M5 Board for Your Build
Start by matching the board to your frame size and motor type. M5 boards are typically used in five-inch and smaller quads, but some models work in larger builds. Look at the mounting hole pattern on the board and compare it to your frame’s stack holes. The M5 standard uses a 30.5 by 30.5 millimeter pattern, but some boards use a smaller 20 by 20 pattern with an adapter plate.
Next, check the voltage rating of the board. Most M5 boards accept a battery voltage range that covers common LiPo packs, but if you plan to use a higher-voltage battery, you may need a separate BEC or a board rated for that input. The manual will state the input voltage range.
Also consider the firmware the board supports. Many M5 boards run Betaflight or INAV, and the choice affects what features you get. Betaflight is common for acro and racing, while INAV adds GPS navigation and autonomous modes. Make sure the board you pick is compatible with the firmware you want to use.
What to Check Before You Buy
- Processor and memory: A faster processor handles more complex filtering and features like bidirectional DShot. Check the chip model and flash size.
- Number of UARTs: Count how many serial ports you need for your receiver, GPS, VTX control, and other add-ons. Some M5 boards have only three, which may be tight.
- Onboard features: Some boards include a current sensor, a black box chip, or a barometer. Decide which you need.
- Connector types: Look at the pads and plugs. Do they match your ESCs and receiver? Some boards have JST connectors, others have bare pads for soldering.
- Mounting holes: Verify the hole spacing and the size of the screws. Most M5 boards use M3 screws, but check.
If you are unsure, ask the seller or the manufacturer’s support for a wiring diagram. That will show you exactly what plugs where.
Setting Up Your M5 Flight Controller
Once you have the board, the first step is to mount it in the frame. Use the rubber grommets or soft mounts that come with the board to reduce vibration. Then connect the ESCs, receiver, and any other peripherals according to the wiring diagram in the manual.
Before you power up, double-check the polarity of all connections. A reversed battery lead can destroy the board instantly. Also confirm that the battery voltage is within the board’s rated range.
After wiring, connect the board to your computer with a USB cable. Install the firmware using the configurator software recommended by the board’s manufacturer. The configurator will guide you through selecting the correct board target and flashing the firmware.
Next, calibrate the accelerometer and set up your receiver. In the configurator, go to the receiver tab and select the protocol your receiver uses (like SBUS, CRSF, or PWM). Then bind your transmitter and verify that the stick inputs move the correct channels.
Finally, set the motor directions and test them without propellers. Use the motor test tab to spin each motor individually and confirm they turn the correct way. If a motor spins the wrong way, swap two of its three wires or use the software to reverse the direction.
Common Setup Mistakes and How to Avoid Them
One common mistake is connecting the battery before checking the polarity. Always trace the positive and negative wires from the battery lead to the board’s pads. Another is using the wrong firmware target; flashing the wrong target can brick the board. Read the label on the board or the manual to find the exact target name.
People also forget to set the correct flight controller orientation. If the board is mounted with the arrow pointing backward, the drone will flip on takeoff. In the configurator, set the board alignment to match how it sits in the frame.
Finally, do not skip the vibration damping. A rigidly mounted board can cause oscillations in flight, especially with high-frequency motors. Use the soft mounts and check that the board does not touch the frame anywhere.
Where to Find the Exact Specs for Your M5
The numbers that matter—input voltage, current rating, UART count, firmware support—are printed in the manual that comes with your board. If you lost it, look up the model name on the manufacturer’s website. They usually provide a downloadable PDF with the full specifications and a wiring diagram.
For the mounting hole pattern, measure the distance between the holes on your frame and compare it to the board’s dimensions. You can also search for the board’s name plus “dimensions” to find a drawing.
If you are buying a used board, ask the seller for the original manual or a photo of the board’s silkscreen. The silkscreen often lists the board name and the pad labels, which helps you identify what you have.
Remember that firmware updates and configurator versions change over time. Check the manufacturer’s website for the latest instructions and any notes about your specific board revision.