Originally Posted by
AiToR51
Did you've analyzed the signal to extract it properties and make a table?
I've a dohc turbo but im using a megasquirt... But.. I've a few friends who want to turbo it low cost. I'm going to use also an arduino with new map sensor.
I didnt tried yet with stock map to study how it works.
But arduinos like DUE have onboard analog outputs(not just PWM). You can build a signal generator and simulate stock map..send it to ecu and remove the stock car map
Then with the arduino you can make tables rpm vs map and adjust the 5th injector. Also you can connect low octane wires over some map value to make the std ecu retard ignition
The sensor is still on the car and send`s signal into the arduino,then the arduino output the signal into the ECU.The stock map is diferent from other brands.It`s output is in frequency and not in voltage.
The car still gives code 37 code in ignition on-engine on, but in ignition on-engine off its ok.getting 11 codes.
How do i know when the car goes in LOS?
for the 5th injector i will use tables,and use an output thru a relay to retard ignition on the fly.
Ill use an arduino to control as it is more simple to read the second map sensor and when it reaches 2.4 volts(for a2bar map)to control the 5 injector and ground the timing wires.
This is the code for arduino:
#include <FreqMeasure.h>
#include <Tone.h>
Tone tone1;
void setup() {
Serial.begin(57600);
FreqMeasure.begin();
tone1.begin(9);
pinMode(13 , OUTPUT);
}
double sum=0;
int count=0;
void loop() {
if (FreqMeasure.available()) {
sum = sum + FreqMeasure.read();
count = count + 1;
if (count > 1) {
float frequency = FreqMeasure.countToFrequency(sum / count);
Serial.println(frequency);
if (frequency <155) { tone1.play(frequency); }//frequency output off boost
else { tone1.play(154); }//frequency output on boost
sum = 0;
count = 0;
}
}
}
//it reads the frequency and if it`s below 155 output is 155 and if its more then 155 output it`s 155Hz