08. OpenTx sensors (Smartport) - dgatf/msrc GitHub Wiki
Depending on your configuration some the following sensors will be available in Opentx. After configuration go to sensors screen and update with Search new sensors
ESC:
- ESC RPM: Erpm (0x0b60)
- ESC voltage: EscV (0x0b50)
- ESC cell average: Cells (0x300)
- ESC current: EscA (0x0b50)
- ESC consumption: EscC (0x0b60)
- ESC temp FET (HW) or ESC temp linear (Castle): EscT (0x0b70)
- ESC temp BEC (HW) or ESC temp NTC (Castle): EscT (0x0b71)
- ESC ripple voltage: EscV (0x0b51)
- ESC BEC voltage: BecV (0x0e50)
- ESC BEC current: BecC (0x0e50)
GPS:
- GPS Lat/Lon: GPS (0x800)
- GPS altitude: GAlt (0x820)
- GPS speed: GSpd (0x820)
- GPS compass: Hdg (0x840)
- GPS date/time: Date (0x850)
- GPS sats: 0x5103
- GPS PDOP: 0x5105 (2 decimals)
- Vario: 0x111 (calculated)
- Distance to home: 0x5104 (calculated)
Analog:
- Voltage: A3 (0x0900)
- Thermistor: Tmp1 (0x0400)
- Current: Curr (0x020f)
- AirSpeed: ASpd (0x0a00)
I2C:
- Altitude: Alt (0x0820)
- Temperature: T1 (0x0401, 0x0402)
- Vario: 0x110 (calculated)
Some of the sensors have to be adusted in openTx
8.1. Adjust RPM sensor (Erpm)
If not adjusted in MSRC config you can adjust in the sensor parameters in opentx:
- Blades/poles: number of pair of poles * main gear teeth
- Multiplier: pinion gear teeth
8.2. Adjust voltage sensors (A3, A4)
Remark: Instead of adjusting the sensor in opentx, it is recommended to use Voltage multiplier to increase the sensor resolution.
Measure the voltage of the battery with a voltmeter and adjust Ratio in A3, A4 sensor.
8.3. Adjust analog current sensor (Curr)
Remark: Instead of adjusting the sensor in opentx, it is recommended to use Current multiplier to increase the sensor resolution
If using a hall effect sensor, adjust the ratio: 25.5 x 1000 / output sensitivity (mV/A)
To calculate the battery consumption add a new sensor:
- Type: Calculated
- Formula: Consumption
- Sensor: Curr
8.4. Calculate current consumption
Battery consumption is calculatd since MSRC v0.9
Alternatively can be calculated by adding a calculated sensor in openTx:
- Type: Calculated
- Formula: Consumption
- Sensor: EscA or Curr
8.5. DIY sensors
Set number of decimals with Precision in the sensor menu.
If using ETHOS you have to create DIY sensors manually (they are not discovered).