|
|
|
|
|
|
#1
|
||||
|
||||
|
My new Boost/EGT Gauge
I've posted bits and pieces of this elsewhere, but here it is all together...
Presenting the homemade digital boost/exhaust/EGT gauge! ![]() (Note Mercedes Star etched into circuit board) Total cost was $10 with generous use of free samples available from almost every semiconductor company. The large chip on there is a PIC microcontroller programmed with Microchip's USB serial port library and about 300 lines of my own C code. It uses a MAX6675 0-1024C thermocouple to digital converter for EGT and 2 MPX4250GP 0-36psi pressure sensors for boost/exhaust. The display, ![]() (oil/transmission sensors are in the works, temperature sensor chip outputs full scale when no thermocouple is conneted) written in C#, simply reads the serial port (raw binary ADC input from microcontroller), converts the data to PSI/degF and outputs it on the gauge. I haven't installed it in the car yet, but will be installing the boost gauge function only first. Don't have the money for new manifold/turbo gaskets at the moment, or a tap to thread the manifold. For now its going to be read on a laptop in the passenger seat, but this is going to be mounted under the glovebox as soon as I can find a old flatscreen that can be taken apart and mounted in the drivers sun visor. ![]() I also have parts on order for an accelerometer, which I should be able to program to give me 0-60 times fairly easily (velocity is the integral of acceleration, should be easy to calculate). I can't get the gauge design for it to look good, which is why its not shown.
__________________
Ich liebe meine Autos! 1991 Mercedes-Benz 560SEL | Megasquirt MS3-Pro | 722.6 transmission w/ AMG paddles | Feind Motorsports Sway Bar | Stinger VIP Radar | AntiLaser Priority | PLX Wideband O2 | 150A Alternator | Cat Delete 1981 Mercedes-Benz 300SD | Blown engine, rebuilding someday... 1981 Mercedes-Benz 300SD | Rear ended, retired in garage. 2009 Yamaha AR230HO | Das Boot Excessive speeding? It ain't excessive till I redline! |
|
#2
|
|||
|
|||
|
Quote:
|
|
#3
|
||||
|
||||
|
O i wish i had VB, but cant afford it
__________________
Current Garage 2008 Mercedes GL320 CDI 188k mi Repair/Work in progress 1994 S350 160k mi Garage Queen & prepping for repairs 2005 E320 CDI 203k mi Healthy & Daily Driver 1994 S350 357k mi Retried as parts car 1984 300TD 214k mi Blown OM617 Poss OM603 Swap?? Sold 1987 300SDL 200K+ 1994 S320 181K mi 2008 E320 Bluetec 127k mi 1999 S420 130K mi 1980 240D 360k mi 15+ Others that has come, stay and gone GONE, BUT NOT FORGOTTEN ![]() 1995 E320 SE 220k mi 1984 300SD 350k mi |
|
#4
|
||||
|
||||
|
Would you be willing to share the code you wrote for that? I have VB and could use it....
__________________
-diesel is not just a fuel, its a way of life- ![]() '15 GLK250 Bluetec 118k - mine - (OC-123,800) '17 Metris(VITO!) - 37k - wifes (OC-41k) '09 Sprinter 3500 Winnebago View - 62k (OC - 67k) '13 ML350 Bluetec - 95k - dad's (OC-98k) '01 SL500 - 103k(km) - dad's (OC-110,000km) '16 E400 4matic Sedan - 148k - Brothers (OC-155k) |
|
#5
|
||||
|
||||
|
I have a 15" laptop screen if you want it.. just cover shipping
|
|
#6
|
||||
|
||||
|
Its going to have to be a pretty small and narrow LCD to fit in the drivers sun visor.....not to mention the wiring fun that would bring with it.
__________________
-diesel is not just a fuel, its a way of life- ![]() '15 GLK250 Bluetec 118k - mine - (OC-123,800) '17 Metris(VITO!) - 37k - wifes (OC-41k) '09 Sprinter 3500 Winnebago View - 62k (OC - 67k) '13 ML350 Bluetec - 95k - dad's (OC-98k) '01 SL500 - 103k(km) - dad's (OC-110,000km) '16 E400 4matic Sedan - 148k - Brothers (OC-155k) |
|
#7
|
||||
|
||||
|
Quote:
Quote:
Data = SerialPort.ReadByte(); Pressure = Data * ScaleFactor; Gauge.Value = Data; Its a bit more complex because the scale is actually a 6th order polynomial, and I have to determine which gauge the data goes to with a bitmask (data is 12 bit, the first 4 bits of the 16 bit integer are ID bits) The Dundas Gauge library takes care of all the graphics, I just feed values into it. You'll need a good bit more than VB to build it though, at least MPLAB and some knowledge of C and a PIC programmer to program the microchip. All my circuits are surface mount, and the thermocouple chip is surface mount only. (I solder parts down to size 402 (0.04" × 0.02") with a $5 radioshack iron, so it is very possible to do it at home.) Anyone interested in a kit? You'll have to buy/sample the chips yourself though. I'll offer pre-programmed PICs. Way too big, but thanks anyway. I'm looking for a 10.4" max widescreen or 8" non-widescreen. Laptop LCDs are impossible to drive anyway, the cheapest VGA-laptopLCD converter is like $200, since laptops generate the LCD type signal directly on their motherboards, theres no VGA input to them. Quote:
I'm not planning to use the casing. I'm going to strip it down and use the bare LCD itself, so thickness is not an issue (think about half the thickness of laptop screen), and wiring shouldn't be either, if they can fit it in a laptop hinge, I can through the metal thing on the visor.
__________________
Ich liebe meine Autos! 1991 Mercedes-Benz 560SEL | Megasquirt MS3-Pro | 722.6 transmission w/ AMG paddles | Feind Motorsports Sway Bar | Stinger VIP Radar | AntiLaser Priority | PLX Wideband O2 | 150A Alternator | Cat Delete 1981 Mercedes-Benz 300SD | Blown engine, rebuilding someday... 1981 Mercedes-Benz 300SD | Rear ended, retired in garage. 2009 Yamaha AR230HO | Das Boot Excessive speeding? It ain't excessive till I redline! Last edited by 300SD81; 07-21-2008 at 04:04 AM. |
|
#8
|
||||
|
||||
|
What metal thing on the visors? The power to the visor comes through the securing clip and not the moving shaft.....so theres no where to run wires....
__________________
-diesel is not just a fuel, its a way of life- ![]() '15 GLK250 Bluetec 118k - mine - (OC-123,800) '17 Metris(VITO!) - 37k - wifes (OC-41k) '09 Sprinter 3500 Winnebago View - 62k (OC - 67k) '13 ML350 Bluetec - 95k - dad's (OC-98k) '01 SL500 - 103k(km) - dad's (OC-110,000km) '16 E400 4matic Sedan - 148k - Brothers (OC-155k) |
|
#9
|
|||
|
|||
|
Quote:
What if you have a ten-second error bound? |
|
#10
|
||||
|
||||
|
Quote:
Ehh... that does present an issue.. and theres nowhere else in the car I can mount a LCD and have it look decent.. Looks like I can still use the visor, drill a little hole in the plastic thing that screws onto the car and run the lcd wires along there. Shouldn't stand out, especially if I paint the cable. I want the screen in a place where it can be hidden, but still easily visible while driving (using it for gauges, GPS, etc)...don't want the car being the first target for some gangster wanting a new LCD display... Quote:
__________________
Ich liebe meine Autos! 1991 Mercedes-Benz 560SEL | Megasquirt MS3-Pro | 722.6 transmission w/ AMG paddles | Feind Motorsports Sway Bar | Stinger VIP Radar | AntiLaser Priority | PLX Wideband O2 | 150A Alternator | Cat Delete 1981 Mercedes-Benz 300SD | Blown engine, rebuilding someday... 1981 Mercedes-Benz 300SD | Rear ended, retired in garage. 2009 Yamaha AR230HO | Das Boot Excessive speeding? It ain't excessive till I redline! Last edited by 300SD81; 07-22-2008 at 01:33 AM. |
|
#11
|
|||
|
|||
|
To prove that a particular discrete computation models the continuous reality, you can usually not show that it is completely accurate. Rather, you have two functions, F(t) and its numerical approximate G(t), and you show that |F(t) - G(t)| < E(t) where E is called the error bound. If E(t) is sufficiently small for your application, G is a good candidate for numerically computing F.
|
|
#12
|
||||
|
||||
|
Quote:
__________________
1979 240D- 316K miles - VGT Turbo, Intercooler, Stick Shift, Many Other Mods - Daily Driver 1982 300SD - 232K miles - Wife's Daily Driver 1986 560SL - Wife's red speed machine |
|
#13
|
|||
|
|||
|
You would have to ask them.
I am not trying to imply that it is impossible, just that you need to be careful with your computations. Things are not always as they seem. I would imagine that they have proved that their formulas to be correct within a certain tolerance (error bound) and publish this tolerance in the specifications. Perhaps it is empirical data used to validate their system, in which case it may well be very wrong if it is used on a very fast (or very slow) car. |
|
#14
|
||||
|
||||
|
Once you get yours up and running, I would be interested in a kit. So many gauges I want, but just not enough room in the car. How much would something like this cost?
__________________
My Primary Driver - '85 300CD - 4-speed conversion, 2.47 rear, lowered, euro headlights, rebuilding (not restoring so much) Wife's - '08 Saab Sportcombi Aero Riding a '03 Yamaha Warrior |
|
#15
|
||||
|
||||
|
How will you correct the acceleration squat? As the car leans towards the rear the accelerometer will think it's accelerating faster than it actually is.
__________________
1992 Mercedes 190D 2.5 turbo 5sp manual. EGT+boost gauges. Boost controller set to ~14.5 psi. 1 1/4 turns on full load adjustment. LPG injection. Next in the list is water injection. |
![]() |
| Bookmarks |
|
|