Notices
928 Forum 1978-1995
Sponsored by:
Sponsored by: 928 Specialists

Plug-in LH Replacement

Thread Tools
 
Search this Thread
 
Old 11-18-2010, 03:43 AM
  #31  
danglerb
Nordschleife Master
 
danglerb's Avatar
 
Join Date: Oct 2006
Location: Orange, Cal
Posts: 8,575
Received 3 Likes on 3 Posts
Default

Exciting news. Any guess on how this might be adapted to the 25 pin LH 2.2 cars?

I think the pins in the head shells are the same, so maybe a 25 pin harness could have a 35 pin head shell by releasing pins one at a time and moving them over?
Old 11-19-2010, 02:51 AM
  #32  
Volla
Advanced
Thread Starter
 
Volla's Avatar
 
Join Date: Sep 2010
Location: Kyoto, Japan
Posts: 76
Likes: 0
Received 0 Likes on 0 Posts
Default

this is very VERY interesting. Tell us more.... like programming...
Ok, well I am going to do everything in C, there is no need for me to go and screw around in assembly for this, the processor has enough processing power (80 MIPS). Currently the only remaining step is the programming (I will see if I can upload the rest of the stuff today)


Here is the next step.

Step 4: PCB Creation and populating

The PCB that I must make is a two layer pcb with 0.006" gaps between tracks and 0.012" vias. That is small, and I cannot do it at home. So I sent the info to specialists and received my PCB (5 of them).

All the components were ordered from Digi-Key. 34 Different components, 840 components in total for 5 boards)

After I got the PCB and components it was time to play around with solder paste and put all the components on. I baked the PCB, and then soldered on the through hole components.

There was a small delay with getting the processors, thus the last photo here is the PCB complete without processor.

Step 5: Integration

Ok, this step is a really important one. I have to check my design to see if everything works, fits and doesn't blow up.

Powering up the board, checking the power LEDS and verifying voltages was first, afterwards checking the digital inputs, and alalogue voltage levels. Here is a list of mistakes I made.

The LM317 regulator pin outs in the datasheet is numbered 1-3-2 (3 is in the middle) and in my schematics I used 1-2-3. That now means that I need to make a small wire-mod to fix that.

The LH Connector gaps between ping I measured as 5.08mm, but it is in fact 5mm. This means the connector fits a bit tight, but not a problem. (In retrospect I should have realised that it is 5mm and not 5.08, because it is german made and in the 80's the germans were already fully on the metric system.

My comparators that I use to translate from 0-battery voltage to 0-3.3v I powered from 3.3 instead of from the battery voltage. This can be fixed by cutting a track and doing a wire mod.

Those three mistakes are all that I made. After fixing those the unit's hardware works perfectly. I made a small test application that flips my outputs randomly and puts my test LEDs on when inputs are triggered and everything works perfectly.

the next step is to program the unit. The programming will be the remaining steps


==================================================
19?? VW Baja Bug (Completely custom, Golf 1.8 motor, and many, many mods) - Currently my daily drive
1988 Porsche 928 S4 Euro/ROW (Black with Ivory interior) - Under ECU surgery
1982 Porsche 924 Euro (Silver with cream interior)- Gone
1982 Porsche 928 S (Manual) Euro (Petrol Blue with Blue with black and white chequered interior) - Gone
1983 Porsche 928 S (Auto, NA spec, Red, black interior) - Gone
1994 BMW 530i Manual (Maroon, grey interior) - Gone
Attached Images   
Old 11-19-2010, 03:48 AM
  #33  
Dictys
Racer
 
Dictys's Avatar
 
Join Date: Dec 2009
Location: Blighty
Posts: 392
Likes: 0
Received 1 Like on 1 Post
Default

Looks great so far, very interesting and I wish I had those skills. As I said before put me down for one of the five boards.
Old 11-19-2010, 07:23 AM
  #34  
Mike Frye
Craic Head
Lifetime Rennlist
Member
 
Mike Frye's Avatar
 
Join Date: Sep 2006
Location: Jersey Shore, USA
Posts: 8,795
Likes: 0
Received 5 Likes on 3 Posts
Default

This is freakin AWESOME! Please please please don't forget the S3 crowd (LH2.2).
Old 11-19-2010, 08:29 AM
  #35  
M. Requin
Rennlist Member
 
M. Requin's Avatar
 
Join Date: Mar 2007
Location: Central Virginia
Posts: 3,625
Received 60 Likes on 39 Posts
Default

Man do you work fast! And +1 on the S3's.
Old 11-19-2010, 11:46 AM
  #36  
UncleMaz
Nordschleife Master
 
UncleMaz's Avatar
 
Join Date: Aug 2005
Location: So Cal
Posts: 8,004
Received 20 Likes on 17 Posts
Default

Man, I am having major skills envy. Please don't forget plain L-Jet (in case I missed it).
Old 11-19-2010, 02:52 PM
  #37  
Bill Ball
Under the Lift
Lifetime Rennlist
Member
 
Bill Ball's Avatar
 
Join Date: Mar 2002
Location: Buckeye, AZ
Posts: 18,647
Received 49 Likes on 36 Posts
Default

Wow!
Old 11-19-2010, 03:35 PM
  #38  
supercedar
Rennlist Member
 
supercedar's Avatar
 
Join Date: Jul 2010
Location: Mukilteo, Wa.
Posts: 991
Received 23 Likes on 11 Posts
Default

Please contact me when mine is ready. 1988 S4

Thomas
Old 11-19-2010, 04:19 PM
  #39  
Volla
Advanced
Thread Starter
 
Volla's Avatar
 
Join Date: Sep 2010
Location: Kyoto, Japan
Posts: 76
Likes: 0
Received 0 Likes on 0 Posts
Default

As promised, here is the update that shows where I am now.

The picture is how the board look with connector, CPU, heatsink and wire mods.

The heatsink is just a precaution and just there for testing at the moment, it wont be fitted to the other units.

Step 6: Programming phase 1

Ok, here is a video clip of the car starting and idling with my ECU (1 Minute).
I switched off the car in the end.
My idling is adjusted to idle higher, will readjust after the units works well.

http://www.youtube.com/watch?v=-JIH2r-TW0g

At the moment I have just done the idling programming. There is no safety shut off of the fuel pump, and the ECU ignores the RPM and MAF. This is just to illustrate that the unit can get inputs and switch the outputs.

The LEDs at the CPU cant be seen in the video but they are flashing in rythm to the EZK inputs and the one far right lights up at WOT.

This weekend I will spend most of my time doing the programming.

The programming phases are listed as follows:

1) Idling
2) Fuel adjustment according to RPM
3) Adding MAF readings and adjusting to fuel map
4) Add support for engine temperature, safety fuel cut off, tank venting, flappy control
5) Add exhaust feedback support and support for 2 fuel maps - normal/WOT
6) Add communication with PC via Serial, followed by USB
7) Make fuel map dynamically changeable and make windows interface software
8) Dyno the car
9)

A rough estimate will be 3-4 weeks then all the programming should be done. Hopefully I will be done earlier, so I can enjoy the car more.

I will keep everyone updated with videos and I will definitely let everyone know when I'm done and it works perfectly.

Remember I only have 4 units "in stock" at the moment, It will be a first come first serve when the project is done, afterwards I will order more PCB and components.

Afterwards I will modify the PCB and make units that will be able to work with the 25 pin LH2.2.

==================================================
19?? VW Baja Bug (Completely custom, Golf 1.8 motor, and many, many mods) - Currently my daily drive
1988 Porsche 928 S4 Euro/ROW (Black with Ivory interior) - Under ECU surgery
1982 Porsche 924 Euro (Silver with cream interior)- Gone
1982 Porsche 928 S (Manual) Euro (Petrol Blue with Blue with black and white chequered interior) - Gone
1983 Porsche 928 S (Auto, NA spec, Red, black interior) - Gone
1994 BMW 530i Manual (Maroon, grey interior) - Gone
Attached Images  

Last edited by Volla; 11-19-2010 at 04:34 PM.
Old 11-19-2010, 04:20 PM
  #40  
Mongo
Official Bay Area Patriot
Fuse 24 Assassin
Rennlist Member
 
Mongo's Avatar
 
Join Date: Nov 2001
Posts: 31,653
Received 117 Likes on 62 Posts
Default

GENIUS!
Old 11-19-2010, 04:24 PM
  #41  
karl ruiter
Rennlist Member
 
karl ruiter's Avatar
 
Join Date: Jan 2003
Location: Honolulu and sometimes L.A.
Posts: 3,359
Received 190 Likes on 126 Posts
Default

What compiler are you using with your PIC32? I used the Microchip one before and was not really very impressed. I normally kinda stick to PIC18 and below because they have reasonable horse power and I can use the Knudson Data compiler which I think is freeken awesome. Oh, but wait. You are planning on having USB connectivitity. Better use the Microchip, I guess.
Old 11-19-2010, 04:30 PM
  #42  
Leon Speed
Addict
Lifetime Rennlist
Member
 
Leon Speed's Avatar
 
Join Date: Jul 2007
Location: Germany
Posts: 4,539
Likes: 0
Received 3 Likes on 3 Posts
Default

Old 11-19-2010, 04:40 PM
  #43  
Volla
Advanced
Thread Starter
 
Volla's Avatar
 
Join Date: Sep 2010
Location: Kyoto, Japan
Posts: 76
Likes: 0
Received 0 Likes on 0 Posts
Default

What compiler are you using with your PIC32?
I use Microchip MPLab X beta 3, ICD3 and the C32 compiler from Microchip.

The PIC32 doesnt use the Microchip instruction set, they use MIPS, wich is a lot better than the PIC16/18/24/30/33 and dsPICs.

The USB for the PIC32s isnt that difficult, most of the work is already done which makes integration a lot easier.


==================================================
19?? VW Baja Bug (Completely custom, Golf 1.8 motor, and many, many mods) - Currently my daily drive
1988 Porsche 928 S4 Euro/ROW (Black with Ivory interior) - Under ECU surgery
1982 Porsche 924 Euro (Silver with cream interior)- Gone
1982 Porsche 928 S (Manual) Euro (Petrol Blue with Blue with black and white chequered interior) - Gone
1983 Porsche 928 S (Auto, NA spec, Red, black interior) - Gone
1994 BMW 530i Manual (Maroon, grey interior) - Gone
Old 11-19-2010, 07:30 PM
  #44  
Hayk928
Instructor
 
Hayk928's Avatar
 
Join Date: Oct 2009
Location: Close to my sharks - Hamburg
Posts: 111
Likes: 0
Received 0 Likes on 0 Posts
Default

Just incredible how fast you're working... *Pinned*

Marc
Old 11-19-2010, 07:58 PM
  #45  
Rick Carter
Rennlist Member
 
Rick Carter's Avatar
 
Join Date: Apr 2004
Location: Central Ohio
Posts: 10,134
Received 70 Likes on 45 Posts
Default

Subscribing for 85/86 updates. Good work.


Quick Reply: Plug-in LH Replacement



All times are GMT -3. The time now is 06:50 PM.