From the microsquirt manual.......
To hook up your throttle position sensor (TPS), disconnect the TPS, and use a digital multi-meter. Switch it to measure resistance. The resistance between two of the connections will stay the same when the throttle is moved. Find those two - one will be the +5 Vref and the other a ground. The third is the sense wire to the MicroSquirt® controller. To figure out which wire is the +5 Vref and which is the ground, connect your meter to one of those two connections and the other to the TPS sense connection.
If you read a high resistance which gets lower as you open the throttle, the disconnected wire is the one which goes to ground, the other one which had the continuous resistance goes to the +5 Vref from the MicroSquirt® EFI Controller, and the remaining wire is the TPS sense wire.......
Not familiar with your ecu so not sure on the earths.
To hook up your throttle position sensor (TPS), disconnect the TPS, and use a digital multi-meter. Switch it to measure resistance. The resistance between two of the connections will stay the same when the throttle is moved. Find those two - one will be the +5 Vref and the other a ground. The third is the sense wire to the MicroSquirt® controller. To figure out which wire is the +5 Vref and which is the ground, connect your meter to one of those two connections and the other to the TPS sense connection.
If you read a high resistance which gets lower as you open the throttle, the disconnected wire is the one which goes to ground, the other one which had the continuous resistance goes to the +5 Vref from the MicroSquirt® EFI Controller, and the remaining wire is the TPS sense wire.......
Not familiar with your ecu so not sure on the earths.