Generic Input Sensors Lag for Fuel Level

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

Post Reply
krisr
Master MS/Extra'er
Posts: 799
Joined: Wed Aug 17, 2005 1:17 am
Location: Sydney, Australia

Generic Input Sensors Lag for Fuel Level

Post by krisr »

Hey, looking at the generic input sensor lag settings. It looks like you have a 10-100 sweep on the lag, 10 being most damp, 100 being very fast. Is it possible to dampen it even more?

Scenario: I run my fuel level gauge sender to a generic input (tied to a +5V pullup) and i've managed to calibrate it in the ECU fine and drive the gauge with a generic PWM output. The problem is, is that the ECU reacts too fast when the float arm bounces around and causes the gauge to jump around. It'd be good if the ECU could read the fuel level sender once a minute (or even longer?)...

Cheers
Kris
Sydney, Australia
1971 Holden Monaro HQ
MS3X Sequentially fuelled 400 Pontiac
jb007
Helpful MS/Extra'er
Posts: 139
Joined: Sat Dec 04, 2010 1:49 am
Location: Melbourne, Australia
Contact:

Re: Generic Input Sensors Lag for Fuel Level

Post by jb007 »

Just a thought maybe you could use a capacitor to dampen the senders voltage. Try a 470uF or larger. 35volt rating should be OK. :D
1968 Australian Morris Mini fitted with a 1310cc A+ engine
14point7 WB, TunerStudio MS Ultra & MegaLogViewer HD
My Blog: http://www.jims-blog.com
krisr
Master MS/Extra'er
Posts: 799
Joined: Wed Aug 17, 2005 1:17 am
Location: Sydney, Australia

Re: Generic Input Sensors Lag for Fuel Level

Post by krisr »

Yeah I had thought about hardware mods to slow it down, but was thinking of a more simplistic approach with some code to really slow down the sampling rate with some averaging etc...
Sydney, Australia
1971 Holden Monaro HQ
MS3X Sequentially fuelled 400 Pontiac
matthunter1448
Helpful MS/Extra'er
Posts: 140
Joined: Fri Jun 06, 2008 11:15 pm
Location: Spanaway, Wa

Re: Generic Input Sensors Lag for Fuel Level

Post by matthunter1448 »

I really need to hook my fuel level gauge up too

Sent from my SM-N920T using Tapatalk
Post Reply