This is a reformulated question to make it shorter.
I would like to build a tachometer for an old moped. Since my moped has a magneto and points for ignition I must obtain the signal directly from the spark plug. I would like to obtain a clean pulse signal which I can then feed to a microcontroller.
I need ideas, if possible, very well explained, on how to develop such circuit. Inductive pickup, capacitive pickup, neon bulb - photodiode, anything will be ok, as long as reliable and universal (must fit on other similar engines). I am by no means an expert in electronics so I need practical, real circuits.
I have tried using a neon bulb (attached to the spark plug and chassis) + photodiode, but at higher RPMs the neon conducts so well that the current runs through the bulb instead through the spark plug. It also does not seem a reliable way.
Thank you in advance.