Suppose I have an Arduino Uno or a similar board. I would like to have it create an electric spark over a spark gap as reliably as possible when instructed to do so.
As I understand, the minimum voltage required for a spark to form is 3kV per mm of air between the electrodes, so the Arduino has to be able to output a voltage in that order, preferably up to about 10kV in this specific situation. Now, I know that inductors can be used to create something known as a boost converter, which is able to step up the voltage quite a bit:
Schematic from Wikipedia (License: Public domain)
My idea was to connect a digital pin as well as the ground to the "Supply" side, and have the "Load" side be two cables whose ends are spaced a few millimeters apart.
I assume this would fry the board quite quickly. How can I prevent that from happening? Is it even possible to achieve the required output voltage using just the Arduino? If it is, please help with the details for the circuit components I need.
