I´ve connected it like PaulS sketch but i connected the sender to ground and the resistor to +5v. Can this be my problem?
The readings i got when i hooked it up like that and with a 150 ohm resistor was... (The data type is "int")
at 0bar = Value 9
1bar = 139
1,5bar = 195
2bar = 230
2,5bar = 260
3bar = 293
3,5bar = 326
4bar = 355
4,5bar = 383
5bar = 396
5,5bar = 419
6bar = 435
6,5bar = 454
the step from 0 to 1 Bar is 130 points while the step from 5,5 to 6,5Bar is 45 points...
Is it possible to straighten the "curve" up with the value of the resistor??
Our project homepage is
http://mobackenracing.se it´s in Swedish thou...
Many thanks!