@tubeglower
I am working on retrofitting a Speeduino derived board on my Yamaha GTS1000 (just lost IGN2 pin probably bad ground with temporary test layout whilst using my DIY ignition driver). This is how not to do it.
IMG_2264.jpeg (249.38 KiB) Viewed 5594 times
If you look at any motorcycle wiring loom, you will see failsafes and diode blocks to achieve this.
Usually there are four pins that connect into the ECU, all of them generally are ground or earth (masse) based. Usually the fuel pump is connected to a relay, and a pin from the ECU provides a ground return for the solenoid on the relay. Likewise there are side stand switches, and clutch switches that also interact with the neutral light state to interfere with say a starter relay solenoid (this relay is used for the starter, and if this is incorrect, dash lights illuminate) lastly there is a tip over switch, and these are usually two wire systems that make continuity if a tip over situation occurs. You could make this in series with the fuel pump relay solenoid ground, and that will kill the fuel pump.
I have a few spare input pins on my board, and the idea is to repurpose these to do something to recreate these failsafes, but if you are doing a plug and play type swap for a stock K100, all you need to do is study the wiring diagram, and identify the existing circuits.
Mike