Transistor using HV to switch 5v

Success! Had to change the ac leg resistors to 1k 1/4 watt as cranking ac voltage was around 12v and the 3k was limiting the low window to nothing.

Now I have two low pulses instead of one high so I will change my code for that, and I think I can use the counting between pulses to figure rpm instead of counting a whole revolution, which should work better. Thanks!