pv450+ESF INPUT

Discuss issues and ideas you have to configuring displays with PowerVision
pfu
Posts: 9
Joined: Wed May 18, 2011 1:23 am

pv450+ESF INPUT

Post by pfu » Mon Nov 28, 2011 1:47 am

I got a application that PV450 will input fuel level by ESF . You know the ESF that 240ohms means empty and 33 ohms means full. I have got a case from forum, and flash into PV450 for test, but i find the data is not correct. when 33ohms, i got 78 raw analog input and 0% fuel level; when 240ohms, i got 384 raw analog input and 82% fuel level .It seems they are reverse. so who can help me ? the attachment programming is correct?
Attachments
Analog Input Fuel Level.db3
(2.96 MiB) Downloaded 12 times
ksaenz
Enovation Controls Development
Enovation Controls Development
Posts: 263
Joined: Thu Aug 19, 2010 7:53 am

Re: pv450+ESF INPUT

Post by ksaenz » Mon Nov 28, 2011 8:50 am

Hello pfu,

When did you download that configuration?

That configuration has an incorrect conversion table but it should have been replaced with the correct conversion table.

You can correct the table in the script manually or download the new configuration.

Regards,

ksaenz

Code: Select all

// Fuel sender table
uint[][] es2f = {
	{  66,100}, // tolerance
	{  81,100},
	{ 110, 90},
	{ 136, 80},
	{ 162, 70},
	{ 186, 60},
	{ 211, 50},
	{ 243, 40},
	{ 271, 30},
	{ 308, 20},
	{ 348, 10},
	{ 385,  0},
	{ 403,  0}, // tolerance
}; // raw, percent
Attachments
Analog Input Fuel Level.zip
Created with PVCS 2.2.10678
(1.95 MiB) Downloaded 23 times
pfu
Posts: 9
Joined: Wed May 18, 2011 1:23 am

Re: pv450+ESF INPUT

Post by pfu » Mon Nov 28, 2011 9:24 am

HI Ksaenz,
I download this program from below website: viewtopic.php?f=7&t=434&p=1136&hilit=ES2F#p1136.
I will try this new program.

Thank you ,Sir
Peter Fu