RoundWBO
Alien Logging
After the FirstProblem is solved I want to log my Ignition to get an Idea how much Advance vs. boost i have. Do i need to populate the second LM1815 Chip? I want to log the Ignition in the car, because my Ignition have two triggers (first one every 180deg on TDC Cyl. 1+4 and on TDC Cyl. 2+3, second one 122teeth per revolution at the Starter gear). Is it right that i need a cable from the Coil Pin 1 to the input of the second trigger?
In my_make:
LOG_ALIEN ?
SEND_DWELL_NOT_IAC ?
CAPTURE_ALIEN_ECU O.K.
MS_COMPATIBILITY NOT defined O.K.
MSNS NOT defined O.K.
See my notes on OnlineCourse/AlienIgnitionLogging
In global.h i found for trigger2:
bit0 0:falling/1:rising,
bit1 0:enable/1:disable,
bit2 0:no filtering/1:filtering,
bit3 0:toothwheel/1:coil,
bit4 0:alien advance/1:cam sync,
bit5 0:single edge/1:both edges when cranking
so i think config.secondary_trigger=13 ?
Sensor Calibration
The most frustrating work for a newbie is Sensor calibrating.
I changed the gentherm2 utility for my needs. You put the three temp-resistance Pairs in and get a hex file out with which you can patch vems.hex. I put my Sensor calibration Data and this program into [Sensor Url].
I found a little Problem with hexpatch and my VDO cltfactor file:\nÿ1ÿ
Maybe somebody knows why this is?
If I patch the vems.hex with hexedit - no problem.
- can you zip the files that were used (vems.hex, temp...hex and the command that was used) ?
- what is gentherm2 ? rob: Gentherm2 is a c program where you can apply Steinhart-Hart curve calc. So you can get the Resistance for every temperature with 3 Resistance, Temperature Pairs. It is the same calculation as used in EasyTherm.
- How did you change gentherm2 ? rob: Output is now Intel hex format, you can directly patch vems.hex - no need for inc2tbl and recompiling. The Reference Voltage of the ADC and the Voltage
I used Lcc to compile it (under Windows). I uploaded everything under: [Sensor Url].
Trigger Question
I bought a Lancia Dedra Integrale. Crank Trigger is every 90 degree (4 Pulses per Rotation), Cam Trigger is 2 Pulses with 90 (Cam-) Degree distance.
Is this Trigger supported (maybe if I change to only one Cam Trigger Pulse)?
Digital Inputs via Shift Register
I use two 4021 Shift Register to get 16 digital Inputs. This Inputs are updated every 100mS, so it is not very much overhead. Also the additional Code is very small (spi is here anyway). I used PB0 (which is also SS) for Chip Select. All Signals (SS, SCK, MISO, GND and 5V) can be found at JP_ISP. I uploaded the files under [Shiftreg Url].
Turbo Timer
I had an Idea for a sophisticated Turbo Timer. A Relais which is connected to Genboard will let the engine continue to run even the Ignition is switched off. After some minutes OR if the EGTemp is staying the same (or will fall under a temperature) it will switch off the Engine.
The only Problem is: I will need 4 Bytes in config. Is this possible? If yes where? The 4 Bytes will be: Input Switch to activate, Ignition on/off sense, Relais Output, Time for afterrun (if time == 0xff then EGT controlled if time == 0 deactivated).
Anybody will try this ??? Anybody need this???
Thanks. Rob
Hi Rob,i think it would be usefull,i can test it on 3 cars if firmware change is made.//pnanassy