Sensor to measure engine RPM

I'd stay away from the high- voltage side of the coil. There's not a lot of current there, but there's a ton
of EMF, which you usually don't want around low voltage computers.

Catching the magnet on the flywheel, though, seems like the best idea.

t