View Single Post
Old 09-22-2008, 10:24 PM   #1 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 Posts
Reading a MAP sensor

Here's my notes on experimenting with a map sensor on the bench with a brake bleeder pump and a duino. using a 5 volt reference.

inches of mercury, pin value
ambient, 762
3, 667
5, 619
8, 543
10, 493
14, 390


~25.18 units per inch

Map pinout (your sensor may be different)
Code:
connector  _________
front     (_________)
              ||
            A  B  C
           +5  -  Signal (on analog 1)
looks pretty linear till you get near ambient. The cheap gauge on the pump probably has a lot to do with that.

Code:
int mapPin=1;
void setup(){
  Serial.begin(9600);
}
void loop(){
  Serial.println(analogRead(mapPin));
  delay(500);
}

__________________
WINDMILLS DO NOT WORK THAT WAY!!!

Last edited by dcb; 09-22-2008 at 10:38 PM..
  Reply With Quote