I have been working on trying to get Knocklite to work with MS (in this case DIYPNP) for ages and now its working. Knocklite has 2 spare wires that can be connected to a TurboXS D-TEC fueling system (not used by us), the yellow wire outputs a constant 5v and when knock is detected it drops to 0v, this is what MS is looking for to activate the knock sensor settings that have been set in tunerstudio. The main problem was the drop in voltage from Knocklite was so quick (microseconds) that MS could not see it (MS needs 10-15 milliseconds).
After much head scratching and help from Richy (Mr Slow on mx5nutz), Jeff Ciesielski (MT.net) and Rob Knight (Everlog Megasquirt
), we determined that a circuit was required to increase the 5v - 0v drop time from Knocklite to allow MS to see it.
The circuit diagram is below, Rob Knight has changed it from the original proposed diagram by Jeff. The time is calculated by 1.1 x R2 x C3. Its set to about 10ms at the moment which looks like it is near the minimum time for the Megasquirt to detect. I have also included a pic of the actual circuit that Rob Knight made for me (I really cant thank him enough!! :worship: :worship: ):
This circuit goes between the knocklite input (yellow wire) and the DIYPNP knock circuit pinout (in my case AD1), it also needs a 5v and ground supply. I am pretty certain that this circuit could be knocked up in the proto area.
Here are the settings that I have used in tunerstudio to get the circuit to work:
I still need to play with these settings to achieve the timing retard that I would like but that should be easy enough.
With everything hooked up and the Knocklite set to sensitivity No1 (most sensitive) I went for a spin, I did a few runs where the knocklite flashed (Noise, not knock!) but MS did not pull the timing, I then made a few settings changes (primaily, pull up/pull down setting) and it worked. On seeing knock indication MS immediately pulled the timing, I could see it doing it on the knockret gauge on tunerstudio. I did a few runs and it worked everytime, pulling the timing by different amounts (3 -10 degrees), I assume it pulls timing constantly (to the settings) until knock is no longer detected (0v - 5v on the knocklite).
Here is a screenshot of it all working, this was a 3rd gear pull. As can be seen, knock is detected - MS pulls timing by 10 degrees - then it recovers (determined by the settings in TS)
I now need to have a play with the settings in TS so MS pulls the timings I want. All in all I am really pleased with the results, however, I cant take the credit for its success, that goes to Jeff Ciesielski and Rob Knight, without them I would not have a circuit to make this work, so we have to thank them... :worship: