Servers by jDrones

Fuel Level Sensor Integration (approximately $330)

(Jakee Stoltz) #1

Topic: Fuel Level Sensor Integration (feedback requested on time/effort/feasibility)

Proposal type: Hardware [ ] , Software [ ] , Other [ ] : Sensor Integration_____

Description: Hi Everyone. We’ve got a hybrid hexacopter with a Pixhawk 2 installed. It’s a 49V generator that powers the system in flight with essentially a backup battery system at that point. We can’t figure out how to get the generator fuel tank sensor integrated into the MAVLink stream and fuel tank level displayed on Mission Planner. I’ve seen a few posts in here about it so I think this would benefit a number of users, especially as hybrid electric systems become more popular.

The fuel sensor puts out a 5V, 50hz PWM signal from 1100-1900us. What we want is to plug this sensor into the Pixhawk and read its status. Then display this status on Mission Planner somewhere so that the pilot has real-time fuel status while flying.

This is the fuel tank sensor:

If you wanted to purchase one for testing it’s about $30:

I’m not capable of doing the work so I’m looking at developers in here to take this on if they’re interested and suggest additional costs. I’m putting the planned amount as $30 + developer time (unknown to me so hoping for some feedback).

Planned amount $$ (USD): $30 for sensor + $$ for developer time?

Estimated time for completion: A few days for someone capable? Feedback desired…


(Francisco Ferreira) #2


Did you really want to post this here or would the Jobs category be more appropriate? I’m asking because it seems like you are looking to hire someone to do this job for you rather than asking ArduPilot to pay for this.

If I’m wrong, let me know.


ArduPilot Funding Committee

(Jakee Stoltz) #3


I think that’s a fair question and the answer might be either. I’m fairly new to the forum. I did read the pinned post about this section and it says

We expect proposals to come from at least two sources: 1) People with a project in mind that they would like to receive funds in order to help it along, or 2) People who would like to propose a piece of work that will be completed by someone else

So I thought it might be appropriate to post here where some other developer would pick up the work but then have Ardupilot pay for it as it will benefit a number of users. Would it be better to post in Jobs first to find someone interested in doing the work and an estimate of cost for their time, then post back here to see if Ardupilot would be willing to cover some of the expense?


(Francisco Ferreira) #4

Hi Jakee,

That second option you highlighted is certainly a possibility. It gets trickier to evaluate because we (the Funding Committee) can’t approve it without knowing the exact cost.

If your wish is to pursue that second option then having this thread in the Proposals is certainly appropriate.

Best regards,

ArduPilot Funding Committee

(Jakee Stoltz) #5

Hi Francisco

I posted this in jobs and found an interested party that could implement the sensor. They estimate it’d cost them $300 to do the sensor implementation and $30 to buy a sensor to test with.

Does that help the Funding Committee evaluate if this is something Ardupilot would cover?


(Dave) #6

In the short term you could use the RSSI PWM input to an AUX port function and calibrate it with the RSSI_CHAN_HIGH/LOW values.

(tridge) #7

Hi Jakee,
I have recently added support for a different type of fuel flow sensor:

The difference is that the sensor I added gives a pulse per unit of volume. Yours gives a PWM signal proportional to volume/sec.
I think adding another backend to the battery monitoring system in a similar way but for PWM based sensors makes sense.
Cheers, Tridge

(Jakee Stoltz) #8

Hey Tridge, yeah saw that and the dev I talked to is aware of it too. How is it physically integrated? Into a PWR plug?

This particular hex, we’re going to have a PWR plug off a PDB where 12S Lipo and generator are feeding, and then a separate PWR plug directly off the generator bypassing the PDB for dual redundancy. Not sure how our tank sensor would quite integrate.

(Peter Hall) #9

I should say that the ‘dev’ in question is Myself, if Ardupilot were footing the bill I would do a discount.

I’m still finding my feet in the ‘contracting’ game, but I have now done a few small bits of work for people in the Jobs section. Not sure if I’m cheap or expensive, I don’t think I’m doing very well on the hourly rate but it funds bits a pieces for my Ardupilot toy box. I would welcome advice and feedback from more experienced members of the Dev team (or anyone else).



(Francisco Ferreira) #10

Hi Jakee,

You mentioned in the first post “We’ve got a hybrid hexacopter”, can you clarify who is we?

Best regards,

ArduPilot Funding Committee

(Jakee Stoltz) #11

Hi Francisco

Sure, we are the Northern Plains UAS Test Site and we conduct UAS research. We’re using a Pixhawk 2.1 based hybrid hexacopter to fly a networked area in North Dakota, actually a very unique project. We connect MP to a TCP network with C2 towers in it and control the aircraft via that network instead of point to point.

We have no Ardupilot expertise in the organization though so that’s why I’m here, to find some :slight_smile: