View Single Post
      10-14-2016, 10:07 AM   #66
Vanne
Down Under!!
Vanne's Avatar
United Arab Emirates
1621
Rep
4,294
Posts

Drives: 2007 Z4MC
Join Date: Mar 2013
Location: Dubai

iTrader: (4)

Quote:
Originally Posted by dre99gsx View Post
WIRING MAYHEM! Powered up the AEM, started setting up sensors and what not. Got the N52 DBW throttle body working great with the pedal. Was able to get the electronic power steering to work, but took some effort!


Still more wires to pin, but this gets messy real quick.


Started CAN sniffing and writing some code to inject CAN messages. Working on RPM signal here:


Found the correct ID and bytes for RPM - works!


Here is the speedo fooled"


Bit of explanation needed here, but RED = input frequency signal, YELLOW = simulated output crank signal 60-2 (2 pulses missing every 60)


Powering up the 2JZ with the AEM is cake, but integrating with the entire BMW electronics so that everything works as a system, is not cake. To get electric power steering, DSC, abs, and other items to work correctly, the Z4 needs to see a stock ECU which also sees a running and happy engine.

The crank signal is important here, but since the 2JZ tooth pattern is not 60-2, I can't just plug in the magnetic crank sensor to both the AEM and the stock DME. I decided to create a circuit out of a cheap PIC microprocessor I had laying around, with some simple code. The idea is to setup a Lowside driver on the AEM that outputs 1khz for every 1000rpm. Then, with the PIC, I will output the same signal, but cut out two pulses every 60 pulses, which mimics the N52 motor crank. You can see this working on the scope picture above.

I tested this on the Z4. Using a function generator set to 1khz and this circuit, connected to the stock DME, mysteriously the stock ecu thought the engine was running. Once this was done, power steering was enable, and all other ecus in the vehicle were able and ready to go.

This should allow me to continue working on OBD2 as part of this project involves full integration with no codes.
HOLY CRAP!!! man, some serious your way.
__________________
2007 EuroSpec Z4///MC - Building/Developing Z4 GT3
Powered by
Appreciate 0