#3340, "RE: Anyone Using Launch Control on Megasquirt?" In response to In response to 0 Aug-03-07 11:38 AM by VelocitaPaola
You'd have to make a circuit to interpret the VSS signal and switch the ground to the MS input on/off. Using SX/B, the program logic should be pretty straightforward...
Switch PIN OUTPUT VSS PIN INPUT
Speed VAR Byte Trigger VAR Byte
SpeedMult CON ? ' VSS Scaling Factor TriggerCon CON 10 ' Whatever speed you choose...
Start: Trigger = SpeedMult * TriggerCon
Main: PULSIN VSS,0,Speed IF Speed > Trigger THEN Switch = HIGH ELSE Switch = LOW ENDIF
GOTO Main
Then just build a little circuit with a VREG/caps, output transistor, and a few resistors for protection. Voilà.
The rest of the settings (RPM setpoint, etc.) are controlled by MS.