-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Hardware Design Guidelines
This document aims at documenting the INAV's team recommendations for hardware manufacturers looking to create a new Flight Control board to run INAV.
INAV is similar in architecture to Betaflight and runs on a subset of Betaflight supported MCUs, so a lot of the Betaflight Manufacturer Design Guidelines and the Betaflight Connector Standard also apply to INAV designs and we will highlight a few points where INAV differs from their recommendations.
MCU | Flash Size | Remarks |
---|---|---|
STM32H743 | 2M | |
STM32F7x5 | 1M-2M | |
STM32F405 | 1M | Requires extra hardware for SBUS port |
AT32F435 | 1M | Requires extra hardware for SBUS port |
STM32F7x2 | 512K | Reduced feature set. Not recommended for new designs. First in line for deprecation. |
All INAV flight controllers should include:
- Supported IMU
- Supported Barometer
- I2C pads (used for magnetometer, pitot tubes, temperature sensors, etc...)
- If the FC supports, we recommend using a separate I2C bus for the onboard peripherals and the external port.
- At least 3 UARTS broken out. (RX, Digital VTX and GPS)
- Always expose RX and TX pins
- USB Powered 4v5 lines for RX and GPS
The supported MCU architectures timers group multiple pins on the same timer (up to 4 pins on one timer), and different protocols require different timer settings (Servo PWM, DShot, Addressable LEDs, etc...), so the different functions can't share the same timer.
Based on this limitation, INAV mixer resource allocation algorithm will assign timers for motor usage in the order they appear on your target.c
file, so having consecutive timer assignments is preferred over reusing the same timer a few outputs down the line.
In this example, TIMER2 was used for S3, S4 and S9. This causes S9 to not be usable as servo, if you are using S3 and S4 as motors. In extreme scenarios this will result in the loss of flexibility or even making it impossible to use servos and S1-S4 as motors, unless you set the LED output as a servo output.
In this example, the timer allocations are on consecutive outputs, and the first 4 outputs are on separate timers, which gives the most flexibility between fixed wing and quad flight controllers/
The current Betaflight recommendation for TIMERS is to use the same timer on S1-S4. Given airplanes with 1 or 2 motors are the most common setup and INAV's resource allocation. INAV's recommendation is to Have the S1-S2 on one TIMER, and S2-S3 on a different timer. This is not a hard requirements, but provides fixed wing users with the best experience out of the box, and may still give flexibility to maximize PWM outputs.
Platform | Motors | Servos |
---|---|---|
Airplane | 1-2 | 2-6+ |
Y-Vtol | 3 | 6+ |
H-Vtol | 5+ | 2-6+ |
Most of Betaflight power delivery recommendations match INAV's, but servos are a lot more common on INAV than Betaflight, so it is worth mentioning our recommendations here.
- Servos should have its own BEC, not shared with other sensors or the main MCU.
- Servo BECs should support configurable voltage 5V, 6V, 7.2-8.4V(2S) are common servo voltages, but ship as 5V by default.
- Servo power traces on the PCB should be sized according to BEC rating/Servo power requirements.
- Disabling the onboard BEC and providing power directly to the servo rail should be an option. (2S flight pack, or ESC BEC)
Include a current sensor in your FC to measure total system current consumption. Quad FCs usually include the current sensor in the 4-in-1 BEC.
We understand there are often space constraints on selecting what MCU pins gets broken out to connectors, PADs or both. We are going to add our general recommendations here.
- Wing flight controllers should use standard Servo connectors for all servo outputs. LED output should also use the same pinout/connector, so it can easily be reassigned as motor/servo
- Break out connector pins in PADs as an option. (Eg.: Have a Digital VTX connector, but also break out SBUS, VTX Power, GND and OSD Uart on pads).
- Follow the Betaflight Connector Standard
- Don't push the limit of your silk screen resolution. Too small or blurry silkscreen labels will be unreadable.
- Label your connectors
- Label your solder pads / configuration jumpers
INAV Version Release Notes
7.1.0 Release Notes
7.0.0 Release Notes
6.0.0 Release Notes
5.1 Release notes
5.0.0 Release Notes
4.1.0 Release Notes
4.0.0 Release Notes
3.0.0 Release Notes
2.6.0 Release Notes
2.5.1 Release notes
2.5.0 Release Notes
2.4.0 Release Notes
2.3.0 Release Notes
2.2.1 Release Notes
2.2.0 Release Notes
2.1.0 Release Notes
2.0.0 Release Notes
1.9.1 Release notes
1.9.0 Release notes
1.8.0 Release notes
1.7.3 Release notes
Older Release Notes
QUICK START GUIDES
Getting started with iNav
Fixed Wing Guide
Howto: CC3D flight controller, minimOSD , telemetry and GPS for fixed wing
Howto: CC3D flight controller, minimOSD, GPS and LTM telemetry for fixed wing
INAV for BetaFlight users
launch mode
Multirotor guide
YouTube video guides
DevDocs Getting Started.md
DevDocs INAV_Fixed_Wing_Setup_Guide.pdf
DevDocs Safety.md
Connecting to INAV
Bluetooth setup to configure your flight controller
DevDocs Wireless Connections (BLE, TCP and UDP).md\
Flashing and Upgrading
Boards, Targets and PWM allocations
Upgrading from an older version of INAV to the current version
DevDocs Installation.md
DevDocs USB Flashing.md
Setup Tab
Live 3D Graphic & Pre-Arming Checks
Calibration Tab
Accelerometer, Compass, & Optic Flow Calibration
Alignment Tool Tab
Adjust mount angle of FC & Compass
Ports Tab
Map Devices to UART Serial Ports
Receiver Tab
Set protocol and channel mapping
Mixer
Outputs
DevDocs ESC and servo outputs.md
DevDocs Servo.md
Modes
Modes
Navigation modes
Navigation Mode: Return to Home
DevDocs Controls.md
DevDocs INAV_Modes.pdf
DevDocs Navigation.md
Configuration
Failsafe
Failsafe
DevDocs Failsafe.md
PID Tuning
EZ-Tune
PID Attenuation and scaling
Fixed Wing Tuning for INAV 3.0
Tune INAV PIFF controller for fixedwing
DevDocs Autotune - fixedwing.md
DevDocs INAV PID Controller.md
DevDocs INAV_Wing_Tuning_Masterclass.pdf
DevDocs PID tuning.md
DevDocs Profiles.md
OSD and VTx
DevDocs Betaflight 4.3 compatible OSD.md
OSD custom messages
OSD Hud and ESP32 radars
DevDocs OSD.md
DevDocs VTx.md
LED Strip
DevDocs LedStrip.md
Advanced Tuning
Programming
DevDocs Programming Framework.md
Adjustments
DevDocs Inflight Adjustments.md
Mission Control
iNavFlight Missions
DevDocs Safehomes.md
Tethered Logging
Log when FC is connected via USB
Blackbox
DevDocs Blackbox.md
INAV blackbox variables
DevDocs USB_Mass_Storage_(MSC)_mode.md
CLI
iNav CLI variables
DevDocs Cli.md
DevDocs Settings.md
VTOL
DevDocs MixerProfile.md
DevDocs VTOL.md
TROUBLESHOOTING
"Something" is disabled Reasons
Blinkenlights
Pixel OSD FAQs
TROUBLESHOOTING
Why do I have limited servo throw in my airplane
ADTL TOPICS, FEATURES, DEV INFO
AAT Automatic Antenna Tracker
Building custom firmware
Default values for different type of aircrafts
Features safe to add and remove to fit your needs.
Developer info
INAV MSP frames changelog
INAV Remote Management, Control and Telemetry
Lightweight Telemetry (LTM)
Making a new Virtualbox to make your own INAV
MSP Navigation Messages
MSP V2
OrangeRX LRS RX and OMNIBUS F4
Rate Dynamics
Target and Sensor support
UAV Interconnect Bus
Ublox 3.01 firmware and Galileo
DevDocs 1wire.md
DevDocs ADSB.md
DevDocs Battery.md
DevDocs Buzzer.md
DevDocs Channel forwarding.md
DevDocs Display.md
DevDocs Fixed Wing Landing.md
DevDocs GPS_fix_estimation.md
DevDocs LED pin PWM.md
DevDocs Lights.md
DevDocs OSD Joystick.md
DevDocs Servo Gimbal.md
DevDocs Temperature sensors.md
OLD LEGACY INFO
Supported boards
DevDocs Boards.md
Legacy Mixers
Legacy target ChebuzzF3
Legacy target Colibri RACE
Legacy target Motolab
Legacy target Omnibus F3
Legacy target Paris Air Hero 32
Legacy target Paris Air Hero 32 F3
Legacy target Sparky
Legacy target SPRacingF3
Legacy target SPRacingF3EVO
Legacy target SPRacingF3EVO_1SS
DevDocs Configuration.md
Request form new PRESET
DevDocs Introduction.md
Welcome to INAV, useful links and products
iNav Telemetry
DevDocs Rangefinder.md
DevDocs Rssi.md
DevDocs Runcam device.md
DevDocs Serial.md
DevDocs Telemetry.md
DevDocs Rx.md
DevDocs Spektrum bind.md