@PSIG : I see what you mean.
I took a look at the code for clue and the workaround is to devided the real 44-2-2 flywheel into a 4 virtual tooth trigger wheel. 360/44 equal a floating number and Speeduino deals only with real number to calculate angles. So we end up with 4 trigger tooth and an trigger angle of 90°.
Each 12 real tooth detected decoder counter reset and virtual tooth increment.
Renault_44_2_2_Flywheel_speeduino_workaroud.jpg (172.55 KiB) Viewed 4039 times
Only raising edge can work.
Assymetric_missing-tooth.png (178.14 KiB) Viewed 4039 times
I added some debug info into the code and made a try on the stock engine with stock sensor and code seems to work properly.
But no sync and no rpm signal into TunerStudio.
- Can you confirm that speeduino use the #1 teeth as reference point (just after missing teeth) to compute ignition and injection stuff ?
- What event trigger RPM signal and sync from Speeduino to TunerStudio ?
Best regards.