Product overview
The Guangdong Fanya Technology HGP-V2 is a liquid-level sensor for fuel-monitoring integration with ArduPilot and PX4 flight controllers. Its module measures 49×39×22mm, weighs 36.2g and requires DC 5V (±0.3). An air nipple connects to a hose and weighted end immersed in the measured liquid. Installation above the container is recommended to prevent liquid entering the sensor through the hose. Supported liquid types include water, oil, gasoline, diesel, jet fuel and agricultural chemicals. The 0–35cm measurement range applies to 95-grade gasoline and is customizable.
Electrical integration uses S, 5V and G connections. The signal output provides either 3.3V, 50Hz PWM, with 0% represented by 1100us and 100% by 1900us, or serial MAVLink Battery2 messages. The calibration button establishes empty and full levels using separate 20-second presses, with flashing and steady indicator states identifying completion. Calibration is required before use and must be repeated after changing the container or if the sensor operates abnormally. The module includes reverse-polarity protection and operates over a specified temperature range of -20°C to 50°C.
Specifications
| Specification | Value & conditions |
|---|---|
| Model | HGP-V2 |
| Supply voltage | DC 5V (±0.3) |
| Weight | 36.2g |
| Dimensions | 49×39×22mm |
| Operating temperature | -20°C to 50°C |
| Liquid types | Water, oil, gasoline, diesel, jet fuel, agricultural chemicals and other liquids. |
| Liquid-height measurement range | 0–35cm; customizable.95-grade gasoline. |
| Data output | 3.3V, 50Hz PWM: 0% = 1100us and 100% = 1900us; alternatively, serial MAVLink Battery2 messages. |
| S signal connection | 3.3V, 50Hz output: minimum liquid level 0% = 1100us, 100% = 1900us; alternatively, serial TX output for MAVLink Battery2 messages. |
| 5V connection | 5V power input. |
| G connection | GND ground connection. |
| Calibration button | Calibrates the 0% empty and 100% full liquid levels. |
| Pneumatic connection and installation | The air nipple connects to a hose and weighted end. Installation above the container is recommended to prevent liquid entering the sensor through the hose.Weighted end immersed in the liquid being measured. |
| Calibration requirement | Calibrate before use. |
| Power-up indicator behavior | The button status indicator illuminates steadily at power-up. |
| 0% empty-level calibration | Press the calibration button for 20 seconds; the status indicator begins flashing to indicate completed 0% calibration.Liquid at the required minimum level. |
| 100% full-level calibration | Press the calibration button for 20 seconds; the status indicator stops flashing and illuminates steadily to indicate completed 100% calibration.Container filled with liquid. |
| Recalibration requirement | Recalibrate after changing the container or if the sensor does not operate normally. |
| Flight-controller firmware integration | Supports ArduPilot and PX4 open-source flight-controller firmware. |
| ArduPilot battery-monitor settings | BATT2_MONITOR = 12; BATT2_CURR_PIN = 55 for AUX6 or 54 for AUX5; BATT2_AMP_PERVLT = 1A/V.ArduPilot PWM fuel-sensor configuration. |
| ArduPilot GPIO settings | BRD_PWM_COUNT = 4 to configure AUX5 and AUX6 as GPIO inputs; ServoX_function = -1 (GPIO).ArduPilot configuration. |
| Ground-station percentage display | In Mission Planner, right-click HUD, open items and select Battery2_remaining. QGC automatically displays the percentage under Power2 at the upper right.ArduPilot configuration. |
| PX4 MAVLink settings | MAV_1_CONFIG = TELEM2; MAV_1_FORWARD = Enable; MAV_1_MODE = Onboard.PX4 MAVLink Battery fuel-sensor configuration. |
| PX4 serial settings and display | SER_TEL2_BAUD = 57600, 8N1. After restarting the flight controller, QGC automatically displays a percentage in the Battery2 icon.PX4 TELEM2 serial configuration. |
| Electrical protection | Reverse-polarity protection circuit. |
Request a quote for Guangdong Fanya Technology HGP-V2
Send your application, destination country and expected quantity to the ChinaDrone team. We can discuss product selection, configuration and sourcing from China.
Submit your procurement requirements ↗No account needed. A model number is optional. Your enquiry is handled by ChinaDrone.