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

  • I want to know how to connect a 0-190Ω gas tank sensor to the APM 2.8 controller and I am glad I found your post where I found my answer. I am also very happy because when I was searching for it online, I also found https://www.topessaywriting.org/samples/composers website where I can read essay samples and the good thing is I don't have to pay anything to read them.
    Essays on Composers, Free Examples, Topics, Titles, Outlines | TopEssayWriting
    Free essay examples on Composers for students looking for paper ideas. Explore topics, summaries, outlines, and samples. Find your inspiration here!
  • 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

Gremsy liked Gremsy's profile
Mar 12
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
More…