Hallo!
because the question arose with electronic ignition for older cars, I
found a variant using a standard module and a small modification.
Ign. module BOSCH 0 227 100 137 or analog (costs 5...20 eu)
pinout can be different, I use pinout from differ. ign. module: