Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   PeachParts Mercedes-Benz Forum > Mercedes-Benz Tech Information and Support > Diesel Discussion

Reply
 
LinkBack Thread Tools Display Modes
  #16  
Old 01-22-2014, 07:33 PM
mach4's Avatar
Registered User
 
Join Date: Jul 2011
Location: San Diego County, CA
Posts: 2,736
Quote:
Originally Posted by pmckechnie View Post
That is exactly like the one I had. I really liked being able to set the cruise to the desired speed and it took you to that speed.
I don't think MB uses any kink of governor control except for max rpm. My 602 acts just like a gas engine as far as power goes. It will slow down going up hill and speed up going down hills. (Maybe it is broke.) So it seems that rack position could be used as an indication of fuel usage, but I don't know about boost. Does boost make the rack move to put more fuel in? I don't know.
For speed and rpm you can just use the current systems on the car and make signal buffers to get the voltage levels you want )(0 - 5 V probably).
If you deside to use the current temp,oil,fuel sensors let me know and I can tell you the problems I had trying to get accurate readings from them and how I did it.
Yea, those were nice little units. Worked really well given the technology that was available at the time.

I'd be interested in knowing how you got the stock sensors to work.

__________________
Current Stable
  • 380SL (diesel)
  • Corvette C5
  • Manx
  • Baja Bug
  • F350 Powerstroke
  • Auburn Boattail Speedster replica
Reply With Quote
  #17  
Old 01-22-2014, 08:03 PM
Registered User
 
Join Date: Sep 2012
Location: Wilmington, NC by the Atlantic ocean
Posts: 2,530
Quote:
Originally Posted by mach4 View Post
That doesn't sound right...but I admit I don't know. My limited understanding is that the throttle changes the position of the rack which essentially lengthens the stroke of the injector pistons resulting in more fuel being delivered. If that's true, at any given throttle position, the IP would be delivering the same amount of fuel per revolution regardless of load. And that kind of fits with experience - hold throttle constant, speed decreases uphill and decreases downhill.
Just a reminder - you don't have a throttle. I think it's important to keep Diesel and Otto cycle terminology straight to help us think thru these issues.

But anyhow - is there no internal governor in the Bosch IP pump? That would be very different from my other Diesel experience but I sure don't claim to know much about these pumps. It would be cool if one of the pump savvy guys would chime in here. Maybe Greazzer?

Dan
Reply With Quote
  #18  
Old 01-23-2014, 08:44 AM
winmutt's Avatar
85 300D 4spd+tow+h4
 
Join Date: Apr 2006
Location: Atl Gawga
Posts: 9,346
Here is what I did : EngineSystemsManagement

My video in action.

http://youtu.be/yFyMZ4urR9U

Tach is not so easy to do, its a VR not a hall effect sensor. My only real concern is overvoltage. I've had the tach plug hanging out of the cluster for a while now wiating for some voltage readings and just haven't had time/interest. Too many house chores.

Using the stock boost sensor is def the way to go IMO. Be careful of ground looping your EGT. I spent days cursing because it would work when powered off the laptop but not the engine. Like you I had high hopes of using my android for a display using BT for comm, but at the end of it all an LCD was way easier and more sensible. I still have the BT shield, probably going to use it to make a nest like tstat for the house.

I don't think your choice of arduino's is great, not nearly enough pins.
__________________
http://superturbodiesel.com/images/sig.04.10.jpg
1995 E420 Schwarz
1995 E300 Weiss
#1987 300D Sturmmachine
#1991 300D Nearly Perfect
#1994 E320 Cabriolet
#1995 E320 Touring
#1985 300D Sedan
OBK #42
Reply With Quote
  #19  
Old 01-23-2014, 01:11 PM
mach4's Avatar
Registered User
 
Join Date: Jul 2011
Location: San Diego County, CA
Posts: 2,736
Quote:
Originally Posted by winmutt View Post
Tach is not so easy to do, its a VR not a hall effect sensor. My only real concern is overvoltage. I've had the tach plug hanging out of the cluster for a while now wiating for some voltage readings and just haven't had time/interest. Too many house chores.

Using the stock boost sensor is def the way to go IMO. Be careful of ground looping your EGT. I spent days cursing because it would work when powered off the laptop but not the engine. Like you I had high hopes of using my android for a display using BT for comm, but at the end of it all an LCD was way easier and more sensible. I still have the BT shield, probably going to use it to make a nest like tstat for the house.

I don't think your choice of arduino's is great, not nearly enough pins.
Great read - thanks. Using a stock 3-bar boost sensor is the plan - just need to find a cheap one, preferably in the junk yard. I'm pretty confident I can get the BT working. With any luck it will be here today and I can start playing.

I don't think I'll have any trouble with pins on the Arduino ProMini. Unless I'm missing something (entirely possible) I'll need 2 digital pins for the EGT and one analog each for temps and pressures. The BT takes 2 digital, so that's a total of 4 digital and 5 analog. I've got 12 digital (plus tx and rx) and 8 analog pins on the ProMini. All the same pins as the Uno R3.

Edit: Just remembered that the temp sensors use 1-Wire to communicate, so all the temp gauges combined use only one pin. So as currently conceived the system would take 5 digital and 1 analog.



There is some good info on the tach input that should be helpful here - Quick Fix: 1985 w123 Tach & A/C after EGR Failure

The logic for using the phone as a display is
  • I've already got an extra one
  • I won't have to modify the dash in any way
  • It's easier to program in Processing
  • I can use an analog gauge display
  • I can have multiple display options
  • I can upgrade to a tablet later on
  • I've already got my phone mount
  • No wires from the engine to the dash
  • It will be a fun programming challenge
Attached Thumbnails
Engine Instrumentation Project-promini1.jpg  
__________________
Current Stable
  • 380SL (diesel)
  • Corvette C5
  • Manx
  • Baja Bug
  • F350 Powerstroke
  • Auburn Boattail Speedster replica

Last edited by mach4; 01-24-2014 at 01:48 PM. Reason: add image and info
Reply With Quote
  #20  
Old 01-24-2014, 08:15 PM
winmutt's Avatar
85 300D 4spd+tow+h4
 
Join Date: Apr 2006
Location: Atl Gawga
Posts: 9,346
What are you going to do the EGT with?

RE LCD vs BT, I had tge BT working but decided I really ddint want to have my phone always on always working etc. What I do need is EGT ALWAYS on, Dunno. Keep us posted!
__________________
http://superturbodiesel.com/images/sig.04.10.jpg
1995 E420 Schwarz
1995 E300 Weiss
#1987 300D Sturmmachine
#1991 300D Nearly Perfect
#1994 E320 Cabriolet
#1995 E320 Touring
#1985 300D Sedan
OBK #42
Reply With Quote
  #21  
Old 01-24-2014, 08:17 PM
mach4's Avatar
Registered User
 
Join Date: Jul 2011
Location: San Diego County, CA
Posts: 2,736
Here's a quick update on the project.

One of the big accomplishments was getting the application compiled, uploaded and actually running on the HTC Incredible Android phone. I say big accomplishments because it was one of the most frustrating and tricky things I've done. Just lots and lots of Googling, trial and error and luck. It's actually quite responsive running on the phone.

Starting to work on sourcing the sensors and thinking through the mounting issues a little more.

I've also made significant progress on the Android app. Here's a screen capture of the current application running in demo mode on the PC. I anticipate having lots of different screens available and this just demonstrates the options and capabilities.



https://www.youtube.com/watch?v=KYmL555em38
Attached Thumbnails
Engine Instrumentation Project-youtube-03.jpg  
__________________
Current Stable
  • 380SL (diesel)
  • Corvette C5
  • Manx
  • Baja Bug
  • F350 Powerstroke
  • Auburn Boattail Speedster replica
Reply With Quote
  #22  
Old 01-24-2014, 08:21 PM
mach4's Avatar
Registered User
 
Join Date: Jul 2011
Location: San Diego County, CA
Posts: 2,736
Quote:
Originally Posted by winmutt View Post
What are you going to do the EGT with?

RE LCD vs BT, I had tge BT working but decided I really ddint want to have my phone always on always working etc. What I do need is EGT ALWAYS on, Dunno. Keep us posted!
The EGT will be running on the Android. Remember, the Android is an old one that is no longer used as a phone, so I'll literally be just using it as a Bluetooth receiver and a presentation screen. My iPhone will be providing phone/navigation/Pandora capabilities as always.
__________________
Current Stable
  • 380SL (diesel)
  • Corvette C5
  • Manx
  • Baja Bug
  • F350 Powerstroke
  • Auburn Boattail Speedster replica
Reply With Quote
  #23  
Old 01-24-2014, 08:35 PM
mach4's Avatar
Registered User
 
Join Date: Jul 2011
Location: San Diego County, CA
Posts: 2,736
Here's a quick video of the Gauge App running on the Android.

Android App - YouTube
__________________
Current Stable
  • 380SL (diesel)
  • Corvette C5
  • Manx
  • Baja Bug
  • F350 Powerstroke
  • Auburn Boattail Speedster replica
Reply With Quote
  #24  
Old 01-24-2014, 08:49 PM
winmutt's Avatar
85 300D 4spd+tow+h4
 
Join Date: Apr 2006
Location: Atl Gawga
Posts: 9,346
Quote:
Originally Posted by mach4 View Post
The EGT will be running on the Android. Remember, the Android is an old one that is no longer used as a phone, so I'll literally be just using it as a Bluetooth receiver and a presentation screen. My iPhone will be providing phone/navigation/Pandora capabilities as always.
Yes but what adc chip are you going to be using to convert the EGT signal?
__________________
http://superturbodiesel.com/images/sig.04.10.jpg
1995 E420 Schwarz
1995 E300 Weiss
#1987 300D Sturmmachine
#1991 300D Nearly Perfect
#1994 E320 Cabriolet
#1995 E320 Touring
#1985 300D Sedan
OBK #42
Reply With Quote
  #25  
Old 01-24-2014, 09:21 PM
mach4's Avatar
Registered User
 
Join Date: Jul 2011
Location: San Diego County, CA
Posts: 2,736
Quote:
Originally Posted by winmutt View Post
Yes but what adc chip are you going to be using to convert the EGT signal?
I'll be using the MAX31855, probably using the breakout board from AdaFruit, although there are several good ones.

Attached Thumbnails
Engine Instrumentation Project-max31855.jpg  
__________________
Current Stable
  • 380SL (diesel)
  • Corvette C5
  • Manx
  • Baja Bug
  • F350 Powerstroke
  • Auburn Boattail Speedster replica
Reply With Quote
  #26  
Old 01-31-2014, 03:22 PM
mach4's Avatar
Registered User
 
Join Date: Jul 2011
Location: San Diego County, CA
Posts: 2,736
Here's a quick project update.

I've been fighting with the bluetooth connectivity for days. This is one of the most ill documented things, not to mention complex I've ever encountered. One would think that it would be a relatively common thing to do data acquisition on an Arduino and pass the data wirelessly to an Android device, but alas it's not. There are lots of examples of controlling an Arduino from an Android by passing single bytes of data, but almost nothing the other way around, particularly using actual data strings.

I've finally got the Arduino passing data strings to the Android relatively reliably. 85 - 90% of the data coming in is good and fortunately I have a way that I can easily recognize the bad data and discard it. If I look at the raw data, it's being received 100% reliably, so there's something with the code that's dropping data. It think it's a timing thing, as what finally got things working was putting in some arbitrary delays. I'm sure that someone out there, will come up with some better code that will make things a lot better.

The way things are currently configured, I'm sending 4 readings per second, which is entirely adequate for temperatures and pressures. If I were attempting to read and present rpms for example this would not be adequate.

Up until now, I wasn't sure if I would be able to get a bluetooth signal from the engine compartment to the passenger compartment. Today I took my breadboard Arduino and stuck it in the front of the engine compartment where I intend to mount it, turned it on and closed the hood. I booted the Android phone into the skeleton application from the normal position in the cabin and was able to read the data stream coming in. The range is not all that great - moving toward the back of the car, I quickly lost the signal, but moving back to the drivers seat provided a very solid signal.

I can now confidently order the rest of the sensors and get the Arduino coded up to supply real data and the Android parsing the incoming data and passing it to the "gauges" part of the program.

More to come...
__________________
Current Stable
  • 380SL (diesel)
  • Corvette C5
  • Manx
  • Baja Bug
  • F350 Powerstroke
  • Auburn Boattail Speedster replica
Reply With Quote
  #27  
Old 01-31-2014, 04:27 PM
winmutt's Avatar
85 300D 4spd+tow+h4
 
Join Date: Apr 2006
Location: Atl Gawga
Posts: 9,346
While my experience around the lack of documentation was similar, once it was working it was solid as a rock. What baud are you running at? Did you look at the android bluetooth chat samples? Thats really the easiest way to go. I spent a month dicking around with amarino, boy was that a waste of time. I was pushing full throttle on whatever baud I had it running at (which now escapes me, I remember it being part of the puzzle).

Did you write your own protocol? I did this, picked some random chars for a header and then packed all the data in behind it.

Why would you put your arduino in the engine compartment? It is far better off in the dash somewhere IMO. How are you going to protect it from the elements?
__________________
http://superturbodiesel.com/images/sig.04.10.jpg
1995 E420 Schwarz
1995 E300 Weiss
#1987 300D Sturmmachine
#1991 300D Nearly Perfect
#1994 E320 Cabriolet
#1995 E320 Touring
#1985 300D Sedan
OBK #42
Reply With Quote
  #28  
Old 01-31-2014, 06:43 PM
mach4's Avatar
Registered User
 
Join Date: Jul 2011
Location: San Diego County, CA
Posts: 2,736
Quote:
Originally Posted by winmutt View Post
While my experience around the lack of documentation was similar, once it was working it was solid as a rock. What baud are you running at? Did you look at the android bluetooth chat samples? Thats really the easiest way to go. I spent a month dicking around with amarino, boy was that a waste of time.

Did you write your own protocol? I did this, picked some random chars for a header and then packed all the data in behind it.

Why would you put your arduino in the engine compartment? It is far better off in the dash somewhere IMO. How are you going to protect it from the elements?
I'm using the chat code as a basis. No I didn't write a protocol, just dumping the bytes. The plan is to build a comma delimited string on the Arduino representing the gauge values and then unpack them on the Android side and pass those to the gauge painting routines.

The reason to have the Arduino in the engine compartment is to avoid having to run any wires to the cabin. Also makes wiring up the sensors a whole lot easier. I'll be packaging the Arduino in a sealed relay box (see below) and hook up all the external wires through a standard MB plug. Since the box is plastic the bluetooth module can be mounted inside with the rest of the electronics. The Pro-Mini is shown for scale.



I should only 10 of the 12 plug wires available - 12v power and chassis ground, signal and ground for temp sensors (1-wire interface), two wires for EGT and two signal wires and a shared power and ground for the boost and vacuum sensors - 10 wires.
Attached Thumbnails
Engine Instrumentation Project-relaybox1.jpg  
__________________
Current Stable
  • 380SL (diesel)
  • Corvette C5
  • Manx
  • Baja Bug
  • F350 Powerstroke
  • Auburn Boattail Speedster replica
Reply With Quote
  #29  
Old 01-31-2014, 07:36 PM
ROLLGUY's Avatar
ROLLGUY
 
Join Date: Oct 2007
Posts: 7,229
This is an interesting project, so I will be monitoring this thread. Most of the technical jargon is way above my head, but the whole concept is so very interesting, that it should be fun to watch the progress. BTW, I will have the first Trap-Ox bypass pipe finished soon (for those that don't know, I have Paul's fixture). If you need another pipe, let me know. I am also toying with the idea of making everything out of stainless. Sorry for the temporary hijack....Rich
Reply With Quote
  #30  
Old 01-31-2014, 07:55 PM
winmutt's Avatar
85 300D 4spd+tow+h4
 
Join Date: Apr 2006
Location: Atl Gawga
Posts: 9,346
Quote:
Originally Posted by mach4 View Post
I'm using the chat code as a basis. No I didn't write a protocol, just dumping the bytes. The plan is to build a comma delimited string on the Arduino representing the gauge values and then unpack them on the Android side and pass those to the gauge painting routines.

The reason to have the Arduino in the engine compartment is to avoid having to run any wires to the cabin. Also makes wiring up the sensors a whole lot easier. I'll be packaging the Arduino in a sealed relay box (see below) and hook up all the external wires through a standard MB plug. Since the box is plastic the bluetooth module can be mounted inside with the rest of the electronics. The Pro-Mini is shown for scale.



I should only 10 of the 12 plug wires available - 12v power and chassis ground, signal and ground for temp sensors (1-wire interface), two wires for EGT and two signal wires and a shared power and ground for the boost and vacuum sensors - 10 wires.
Did you fiddle with the baud rates? I seem to remember that causing bad data. I too have a spare bosch box for that very idea but ended up running the wires inside after I abandoned the BT idea. If you see in my first video on the thread I posted, the response time was very dynamic.

With the max6675 I used you had to let it rest between sensor readings. Another thing I banged my head over.

I really like that someone else is running with the BT idea, can't wait to see the final solution. I am also doing water injection as well to keep the EGT's down and will control that my mega. I may end up having to steal some of your ideas . Wiring is def on of my biggest issues. The cool thing about the android is that you can log stuff, somethin I am sorely missing now.

For intance, I was running 1600F at WOT and recently I adjusted my timing and now my EGT's are far lower, but I don't have any logged datapoints to compare with.

__________________
http://superturbodiesel.com/images/sig.04.10.jpg
1995 E420 Schwarz
1995 E300 Weiss
#1987 300D Sturmmachine
#1991 300D Nearly Perfect
#1994 E320 Cabriolet
#1995 E320 Touring
#1985 300D Sedan
OBK #42
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:43 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2018 Pelican Parts, LLC - Posts may be archived for display on the Peach Parts or Pelican Parts Website -    DMCA Registered Agent Contact Page