Author Topic: Analog Input  (Read 24991 times)

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: Analog Input
« Reply #15 on: November 03, 2008, 06:26:42 pm »
Cool - let us know what the raw value is when you remove the resistor, we should be able to work out the equation from there.

Offline z0tya

  • Sr. Member
  • ****
  • Posts: 252
  • BHP: 11
Re: Analog Input
« Reply #16 on: November 06, 2008, 10:47:39 am »
I have made the measurement. The result is half good half bad.
The range of the sensor is 250 mV to 4750 mV from 17 kPa to 216 kPa, with linear out.
On athmospheric pressure it shows 2400 mV.
I got this without serial resistor (the map sensor signal into the vemsgauge analog input):

The positive range is nearly linear, but the vacuum is unusable. The sensor can't pull the signal below 2400 mV, so unable to measure below athmospheric pressure. (without connected signal line the map sensor out is working properly of course).
I made another measurement without the sensor:
disconnected analog in (4v) megatune shows 1520
pull the ground (0V) shows 1040
pull up to 5V shows 1600
There is a breakpoint at 4V. Unfortunatelly I didn't have a variable resistor at hand to do more measuring point.
I think the reference voltage on the gauge input makes problem to use the analog input correctly.

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: Analog Input
« Reply #17 on: November 06, 2008, 11:13:32 am »
Thanks for that, I've not seen anything quite as concise and well researched for a while.
You will really need to post this information on the Wiki, I would suggest on this page:
http://www.vems.hu/wiki/index.php?page=AfreshTiny/AnalogInput

Posting what you have here may result in a positive response. 

Offline z0tya

  • Sr. Member
  • ****
  • Posts: 252
  • BHP: 11
Re: Analog Input
« Reply #18 on: November 06, 2008, 12:02:39 pm »
Ok! Thanks your very fast reply. I put the info on the wiki.

Offline z0tya

  • Sr. Member
  • ****
  • Posts: 252
  • BHP: 11
Re: Analog Input
« Reply #19 on: November 17, 2008, 11:11:15 am »
I have made real logging last saturday with a bmw v8 kompressor. The analog input calibrated to show absolute pressure with this curve:

analog input curve 11 (165)  97
analog input curve 12 (180) 158
analog input curve 13 (195) 170
analog input curve 14 (210) 206

analog input calibration 32
analog input offset        0

This is the log file
http://www.vems.hu/files/MembersPage/ZoltanAlmasi/datalog200811151111forgatas.xls

The result is seems good. Only the rpm input has similar problem as Ranz here:
http://www.vems.co.uk/forum/index.php?topic=464.0

Offline webblaster

  • Jr. Member
  • **
  • Posts: 7
  • BHP: 1
Re: Analog Input
« Reply #20 on: March 26, 2009, 10:30:10 pm »
hi, i still cant calibrate my 300 kpa sensor..
(http://shop.vems.hu/catalog/product_info.php?cPath=1_12&products_id=89)
is there a graph/chart for that sensor, too?
on athmospheric pressure, my DVM shows 2172 mv, but that doesn't fit in the chart, ive made up on the ranges (0,2v-4,8 and 20-300kpa)


Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: Analog Input
« Reply #21 on: March 27, 2009, 01:02:39 am »
Theres a datasheet for the sensor here:
http://www.datasheetarchive.com/pdf-datasheets/Datasheets-34/DSA-677433.pdf
And theres a graph on page 3 giving the voltage out.


Offline webblaster

  • Jr. Member
  • **
  • Posts: 7
  • BHP: 1
Re: Analog Input
« Reply #22 on: March 27, 2009, 07:57:46 pm »
that sheet data is similar to the chart i've made up..
but why do i measure 2,171 V when no pressure is connected to the MAP sensor (my city is 55-100m above sea level)
that should mean, there is a pressure of apprx. 140 pka?! i don't think so :(

Offline gunni

  • Hero Member
  • *****
  • Posts: 1492
  • BHP: 37
Re: Analog Input
« Reply #23 on: March 27, 2009, 08:08:28 pm »
Can you check that your feed to the sensor is actually 5v?


Offline webblaster

  • Jr. Member
  • **
  • Posts: 7
  • BHP: 1
Re: Analog Input
« Reply #24 on: March 27, 2009, 08:29:03 pm »
well the sensor has a 12v input and a 5v output..
and the input is connected to my car battery..
or what do you mean?

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: Analog Input
« Reply #25 on: March 27, 2009, 08:46:35 pm »
Is this voltage being read with the MAP sensor connected to the Wideband gauge?

Offline webblaster

  • Jr. Member
  • **
  • Posts: 7
  • BHP: 1
Re: Analog Input
« Reply #26 on: March 27, 2009, 09:48:52 pm »
yes..

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: Analog Input
« Reply #27 on: March 28, 2009, 01:33:19 am »
There is a pull-up on the gauge's input, if you disconnect it briefly you should see the same voltage as in the data sheet.
Then you'll be able to work out the voltage offset to add to that graph.

Offline z0tya

  • Sr. Member
  • ****
  • Posts: 252
  • BHP: 11
Re: Analog Input
« Reply #28 on: March 31, 2009, 01:13:19 pm »
This pullup is make troubles for everybody :)

Offline ranz

  • Full Member
  • ***
  • Posts: 137
  • BHP: 6
Re: Analog Input
« Reply #29 on: March 31, 2009, 01:38:05 pm »
My original audi bosch 200BAR MAP voltage did not change, was round connected or disconnected, no change on voltage. When voltage is affected you should use resistor (10kOhm?) because otherwise ecu is going to get wrong boost reading.