A4 (B5 Platform) Discussion Discussion forum for the B5 Audi A4 produced from 1995-2001 B5 FAQ

Digital boost gauge write up (long and BWW)

Thread Tools
 
Search this Thread
 
Old 01-30-2004, 06:58 AM
  #1  
Audiworld Junior Member
Thread Starter
 
driveslikegranny's Avatar
 
Join Date: Jul 2001
Posts: 98
Likes: 0
Received 0 Likes on 0 Posts
Default Digital boost gauge write up (long and BWW)

Well, I finally got around building and installing the boost/vacuum gauge in the car. Here are the final picts for the impatient. Readings are in mbar (mili bar), negative indicates vacuum. Sorry don't have a picture while under boost since it's hard to drive and snap at the same time. Construction details are next if you are interested.

During day:
<img src="http://pictureposter.audiworld.com/22981/displindash3.jpg">

Night shot:
<img src="http://pictureposter.audiworld.com/22981/displnight.jpg">

And yes, the tray still slides in and out just like the original cup holder (good for showing off the circuit board and my handy workman****).
<img src="http://pictureposter.audiworld.com/22981/displindash4.jpg">

The bezel is held in place by little (but strong) rare earth magnets so I can swap it our and put the original cup holder face back if desired to give the car interior a stock look.
<img src="http://pictureposter.audiworld.com/22981/displindashsltealth.jpg">


For the interested, here are the specs and circuit details.
I used the Motorola MPX4250AP sensor. This one is a single ported transducer reading absolute pressure from 20kPa to 250 kPa (that's 20 mbar to 2500 mbar or 2.9 - 36.2 PSIA). Now to get it to read in gauge pressure I cheat and electronically subtract the atmospheric pressure from the reading. So the final gauge has a range of about -800 mbar to +1500 mbar (21.7 PSIG). This could be too restrictive for some of you mad booster, in which case you can use another sensor from Motorola.

OK parts list:
from Newark electronics www.newark.com
MPX4250AP Pressure sensor part# 07F9899 $18.19
LM10CLN OP-amp and voltage reference part# 07B5851 $ 2.75
PT5101A DC-DC converter part# 35C0569 $11.61
also order the various capacitors and resistor/potentiometers, switches from Newark. I recommend getting a precision 10 or more turns pots (should be ~ 2$ each).

from All Electronics www.allcorp.com
PM-102B 3 ½ digit LED panel meter part# PM-102B $14.95
7 pins jumper strip part# RJ-57 $ 0.50 each
PC-3 perf board part# PC-3 $ 1.50 each
Rare earth magnets your choice $ cheap

You may want to get several jumper strips and several perf boards. They are cheap anyway. I had to splice together 2 jumper strips to get one with sufficient length.

Your total should be less than 80$.
I salvaged some ribbon cables and other parts (including the front bezel) off a old broken CD changer I had laying around.

Here is the wiring diagram with pin number for the components. You can download data sheets for the components from the vendors yourself.
<img src="http://pictureposter.audiworld.com/22981/audigaugecircuit.jpg">

The Motorola MPX4250 series pressure transducers are very nice. Relatively cheap, rugged, temperature compensated and pre-calibrated. This means that you can mount them in the engine compartment using a minimum length of tubing. The signal output will be directly proportional to the pressure and can be computed via a formula given in the data sheet. I got this model which reads absolute pressure so I could also measure vacuum (relative to ambient).

The PT5101A is a nice little DC-DC converter with a wide input voltage (9-38 VDC) and a regulated 5 V output with a max. load of 1 A, more than sufficient for our purpose. This is required to power both the pressure transducer and the panel meter. I chose to use a converter because of efficiency (low heating) and simplicity. You can save a few $$ by using a power transistor and biasing it but that would increase the number of components.

LM10CLN is a nice little op-amp with wide input voltage and capable of running on single rail power. In addition it has a 200 mV voltage reference built in, which is used to zero the gauge. I chose to use +5V to power this chip, though you could power directly from the 12 V rail.

PM-102B panel meter with differential input. I found this cheap panel meter that will complement the interior of our cars. Obviously this is too big to fit though the opening of the cup holder so I had to hack it by disordering the LEDs display from the meter board. This could be a little tricky if you don't have good soldering skills. I would recommend getting a de-soldering pump (about 6$ from All Electronic, not as nice as the 30$ ones but works OK).
<img src="http://pictureposter.audiworld.com/22981/panelmeter.jpg">

With LEDs off:
<img src="http://pictureposter.audiworld.com/22981/displayled.jpg">

The meter board can then be mounted flat on the modified cup holder sliding tray. I simply resoldered the LEDs onto a perf board and re-attached them to the meter using ribbon cables, matching the original pin configuration.
Here you can see the board with components. Also notice the small magnets on the left. I simply glued metal plates to the bezel and LED holder.
<img src="http://pictureposter.audiworld.com/22981/circuitbrd2.jpg">

Here is the back side:
<img src="http://pictureposter.audiworld.com/22981/circuitbrdbak.jpg">

And finally mounted in the cup holder tray:
<img src="http://pictureposter.audiworld.com/22981/circuitbrdholdr.jpg">

How the circuit works
The DC-DC converter provides a regulated 5V supply to all components. The pressure sensor is mounted inside the black box housing the ECU box. Signal and power from and to the sensor is carried via a 3 conductor wire (5V, Ground, Signal). The signal is reduced in the first voltage divider (R1 and R2) so as not to saturate the op-amp. I configured the LM10 as a simple voltage follower feeding into the precision potentiometer. The sweeping output of the pot is fed into the positing signal input of the panel meter. The 200 mV voltage reference output of the LM10 is feed into another pot and then to the negative signal input of the panel meter. This is how I cheated in order to display vacuum (negative signal) without using a dual rail power supply.

Zeroing and setting the gain can be done in several ways. Here how I did it:
Make sure the transducer is under ambient pressure.
a) First I tuned P2 to read zero on the display.
b) Then I connected a syringe to the pressure transducer via a short piece of tubing and applied and held pressure/vacuum and measured the voltage output of the transducer. Since the transducer is calibrated I calculated what the pressure should be and tuned P1 to reflect the proper value on the display. Here you can tune it to read PSI instead of mbar. There is a way to set the decimal point on the panel meter via jumpers as well.
Because I cheated to get gauge pressure, upon removal of the syringe from the transducer, the display will not read zero. Thus you will have to repeat steps a) and b) several times until the display reads correctly. Each time you'll be making smaller adjustment until the errors become negligible. If you don't have a way to apply pressure/vacuum then simply disconnect the sensor and apply a voltage with a couple AA bateries (like #V or 4.5 V) and proceed as in b).

I then mounted the circuit into the cup holder. The LEDs were attached to a piece of plastic via screws so as to allow adjustments for tilt, in and out and up and down. You can see the board with a minimum number of component. I like simple.
I made the front bezel out of a piece of plastic removed from an old CD changer. It's held on by magnets. After mounting the assembly into the dash I adjusted the orientation of the LED display so as to be flush with the dash once the bezel is in place. Electrical and pneumatic connections were done based on the instructions given on the AWE tuning boost gauge install document (available on their web site).
Here is the sensor assembly mounted in the ECU compartment:
<img src="http://pictureposter.audiworld.com/22981/sensor2.jpg">

That's it. It was a pain to do at times but it turned out pretty nice. The red display goes well with the stock look and it is very readable even in the day. The meter is rated at 2 refresh per second. I don't find it too distracting even if the display is constantly changing. Besides, I can always turn it off. Keep in mind that this gives a "pseudo gauge" reading. There are ways to make it more accurate but at a significant cost.
Old 01-30-2004, 07:02 AM
  #2  
AudiWorld Super User
 
fussball.biturbo's Avatar
 
Join Date: Mar 2001
Posts: 3,755
Likes: 0
Received 0 Likes on 0 Posts
Default

wow- that's a great job man! those numbers look pretty big, though
Old 01-30-2004, 07:04 AM
  #3  
doo
Member
 
doo's Avatar
 
Join Date: Oct 2001
Posts: 3,971
Likes: 0
Received 0 Likes on 0 Posts
Default

wow.....very nice....=)
Old 01-30-2004, 07:06 AM
  #4  
Member
 
SCd_Walter's Avatar
 
Join Date: Aug 2003
Posts: 2,079
Likes: 0
Received 0 Likes on 0 Posts
Default wow, how much to make me one?

=)
Old 01-30-2004, 07:07 AM
  #5  
AudiWorld Senior Member
 
london's Avatar
 
Join Date: Oct 2002
Posts: 1,201
Likes: 0
Received 0 Likes on 0 Posts
Default

very well done
Old 01-30-2004, 07:09 AM
  #6  
Elder Member
 
chipstar-32's Avatar
 
Join Date: Apr 2001
Posts: 28,404
Likes: 0
Received 0 Likes on 0 Posts
Default

not my style, but very well done
Old 01-30-2004, 07:09 AM
  #7  
Audiworld Junior Member
Thread Starter
 
driveslikegranny's Avatar
 
Join Date: Jul 2001
Posts: 98
Likes: 0
Received 0 Likes on 0 Posts
Default

hehe, not for sale but I'll help you if you are in the bay area...
Old 01-30-2004, 07:10 AM
  #8  
Member
 
Stratocaster1422's Avatar
 
Join Date: Jan 2003
Posts: 5,366
Likes: 0
Received 0 Likes on 0 Posts
Default

I'd want one....only if it read in bar to 1 significant digit...maybe 2
Old 01-30-2004, 07:18 AM
  #9  
RKA
AudiWorld Uber User
 
RKA's Avatar
 
Join Date: Mar 2000
Posts: 66,965
Likes: 0
Received 0 Likes on 0 Posts
Default Nice work!

When I saw the pic yesterday, I thought you had bought a ready made one and installed it. I had no idea you pieced it together yourself! Nice job!
Old 01-30-2004, 07:24 AM
  #10  
AudiWorld Super User
 
AaronBryan's Avatar
 
Join Date: Sep 2003
Posts: 6,588
Likes: 0
Received 0 Likes on 0 Posts
Default

EE?


Quick Reply: Digital boost gauge write up (long and BWW)



All times are GMT -8. The time now is 07:34 PM.