I found the correct ignition monitoring circuit designing my idle ECU. It uses one optical isolator, two resistors, one zener, one diode and one capacitor. If you don't have +5 volts you would need those components. If you don't find a solution to your problem, I can ship you a board with the circuit to play with.