Could the Arduino output go high when is recognizes the 17th tooth in the gear and go low after 20th teeth ? And when 2 missing teeth is switching next injector bank.
Next injector bank is next engine revolution output go high when is recognizes the 75th tooth in the gear and go low after 78th tooth.
This is diagram that shows and describes the relation between tooth number and IO pin On/Off
Input pin 2 will read 116 pulses of the crankshaft reluctor wheel. Two engine revolution is 720 degrees of the crankshaft position. 720 degrees equals to 116 pulses or 116 teeth of the crankshaft reluctor wheel. One engine revolution is 360 degrees with 58 teeth or 58 pulses.
Input pin 3 will be reference for injector bank 1 with injectors 6-2-4. Every time when cylinder number six fires that is the reference that injector bank is in TDC. The reference must be used for injector bank 6-2-4. If reference will be not provided then for an example one of the injector bank when go to exhaust and output pin goes high. Will be no performance. Injector bank must inject fuel when intake valve is closed.
At start up by cranking starter the first engine revolution when injector bank 1 with 6-2-4 injectors referenced by voltage from 0.25-1.5 at 120 degrees or 20th tooth then that time coming revolution another injector bank with 1-5-3 injectors should be activated by output pin 10 at 222 degrees or at 75th tooth till 240 degrees or 78th tooth .
Two missing teeth should be skipped every engine revolution. Otherwise could be also reference for to switch high or low coming injector bank.
Cylinder number 6 makes the reference to input pin 3. Cylinder number six is related to the injector banks 6-2-4.
First engine revolution at cranking starter at 120 degrees activated injector bank 2 pin 10 with injectors 1-5-3 at 222 degrees or 75th tooth till 240 degrees or 78th tooth.
Second engine revolution is activated by output pin 9 at 102 degrees or 17th tooth till 120 degrees or 20th tooth for injector bank 1 with injectors 6-2-4.
Here is the trick when injector bank with 6-2-4 injectors is activated at 120 degrees or 20th tooth then next engine revolution pulse width should not be activated at 222 degrees or 75th tooth till 240 degrees or 78th tooth for injectors 1-5-3 output pin 10 is not active.
Next engine revolution pulse width should be activated by output pin 9 at 102 degrees or 17th tooth till 120 degrees or 20th tooth for injector bank 6-2-4 then next engine revolution pulse width should be activated by output pin 10 at 222 degrees or 75th tooth till 240 degrees or 78th tooth and so on loop.
At start up only first engine revolution should be one injector bank with 6-2-4 injectors is not active because this is reference point after that referenced by input pin 3 then next engine revolution injector bank with 1-5-3 injectors should be activated by output pin 10.
If you notice any mistakes on this diagram please correct it any time. Thanks in advance for your answer !
Your post is much easier to read that the first one but from its contents this topic looks like it might be going in the same direction as your previous ones. Did you write it yourself ?
We are already 25 post in and seem to be making little or no progress towards understanding your problem and how to solve it
The problem is not solvable.
Looked at a Bosch FI block diagram there are several items related to the firing and duration of pulse from injector.
If the OP was going to do his own ECU with controls he would have a chance.
But my bets are on the cost to fix the M30 is above what he can afford so he is trying a hack work around.
But as I have said before trying to out engineer Bosch is not gonna happen.
These threads are proving that AI is not the cat's whiskers.
I don't believe you. You convinced me that you are a troll. You continued for 300 postings in the other thread to ignore questions beeing asked and here you are again ignoring questions very consequently. You seem to have fun with trying to test how many trying to be helpful answers you can get with ignoring answers.
The other explanation is: You have such a big mental problem that you are unable to understand what your problem is.
I recommend to the moderators to ban this user for a week.
I recomend to all other users to put user @andrew1q on the ignorelist.
As a final advice: take another person that you like and that you trust. Show this person your two threads and make this person to explain to you what you are doing wrong in your threads. If this person is able to explain to you what you shall do come back with adequate postings.
@StefanL38 made a blank "60 tooth diagram" (it's huuuge!). I added your Input and Output pins. Add lines to show highs and lows above the tooth numbers.
M30 engine does not have camshaft position sensor. M30 engine runs on crankshaft position sensor only. Even running if cylinder identification sensor is disconnected.