Hi all
I have a Yamaha DT200LC 2LR motorbike from 1987. They use CDI ignition (Capacitive Discharge Ignition).
Here's a brief description of how it works.
The magneto of the motorbike has a sensor that detects when the piston is at top dead centre, at that point a 12v pulse is sent to a circuit in the CDI unit that tells a capacitor to discharge through the ht coil. The capacitor is charged via the magneto power supply windings and is in the region of 100 volts DC.
Another circuit monitors the rpm of the engine. After 3000 rpm a power valve which is basically a servo motor starts to open. It keeps gradually opening until the engine reaches 8000 rpm by which time the power valve is fully open.
Another circuit monitors rpm and advances the ignition accordingly to maximise output.
My question is how difficult would the be to do with an Arduino Leonardo? How would I instruct a capacitor to discharge, I guess through a triac? although I have no idea how to do that.
The reason I want to do this is because the CDI unit for my motorbike is no longer available and I'd like to be able to help other get their bikes running too.
Please help if you can.