Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
OnlineHelp: Modules Battery
Enabling ADC inputs
Most boards CANNOT tolerate more than 3.3V brought into them. Make sure you are using an appropriate sensor for your board, such as this one
- Enable the Battery module using the Modules - Enable page.
- Configure the ADCRouting to indicate what the channels are. This is done by setting ADCRouting->ChannelMap[ADC#] to either Disabled, BatteryVoltage, BatteryCurrent, AnalogAirspeed or Generic. Make sure that you only try and use ADC# that are valid for the board you are using. REBOOT Otherwise the following page is not enabled!
- If you are using the battery module, then make sure the values in FlightBatterySettings are appropriate for your battery type and sensor.
- Reboot the board.
TODO: fill this out more
|Sensor||Voltage Factor mV/Volt||Voltage Offset V||Current Factor mV/Amp||Current Offset|
|RCTimer 90 A||63.69||-0,15||36.60||-0,6|