Hello,  I have a project which requires a gas tank sensor to talk to the APM 2.8   The gas tank sensor is the typical 0-190Ω variety like this:

one: https://www.amazon.com/Sending-Waterproof-Adjustable-0-190ohm-240-33ohm/dp/B09CYNP7KW/ref=sr_1_1?crid=2K4S4SEN21PN6&keywords=0-190+ohm+fuel+sensor&qid=1647602843&sprefix=0-190+ohm+fuel+sensor%2Caps%2C276&sr=8-1   

I know Foxtech has a solution that is almost US$200.  Just wondering if there is a cheaper easier way do it.  I can convert the Ohms output to 0-5V, and change the code on the APM accordingly.  Just wondering if somebody has done this already

Thank you!

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Thanks Ben, We would like to change "Battery Voltage" to "Fuel Level".
  • I would use a voltage divider to convert the resistance in voltage, connect it to an analog input of the APM. Then you can read the value directly in Mission Planner by using the power monitor feature : https://ardupilot.org/copter/docs/common-power-module-configuration... Normally it's used to monitor battery voltage, but it can monitor any voltage on any analog input pin. Maybe it's even possible to translate the value to percentage, and have a warning if below a given threshold.
    Power Monitor/Module Configuration in Mission Planner — Copter documentation
This reply was deleted.

Activity

DIY Robocars via Twitter
RT @donkey_car: Human-scale Donkey Car! Hope this makes it to a @diyrobocars race https://www.youtube.com/watch?v=ZMaf031U8jg
Jun 25
DIY Robocars via Twitter
Jun 25
DIY Robocars via Twitter
Jun 16
DIY Robocars via Twitter
RT @GrantEMoe: I won my first @diyrobocars @donkey_car virtual race! Many thanks to @chr1sa @EllerbachMaxime @tawnkramer and everyone who m…
Jun 13
DIY Robocars via Twitter
RT @gclue_akira: JetRacerで自動走行したコースを、InstantNeRFで再構築。データセットは別々に収集 #jetracer #instantNeRT https://t.co/T8zjg3MFyO
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: SPC 3.0 Now the motor also works. This car is doable. I just need to design a deck to mount my compute and sensors. http…
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: My new car SPC 3.0. https://t.co/CKtkZOxeNQ
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: High speed at @diyrobocars thanks @EdwardM26321707 for sharing the video https://t.co/o4317Y2U1S
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: Today at @RAMS_RC_Club for @diyrobocars. Used @emlid RTK GPS and @adafruit @BoschGlobal IMU. Lap time 28s https://t.co/R…
May 28
DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
More…