Hello. I've noticed that for creating "sparks" with an transformer I need an oscillator. I want to know if I can use arduino for this. I'm afraid of breaking it because of the high voltage that it would generate.
I programmed arduino to pulsate the current on pin D11. The current will open the transistor and the transistor will close the transformer's circuit and that will produce a voltage which will be stored in a capacitor.
I've inserted a diode because I am afraid that the arduino will "burn". Is this safe(for arduino)? Are the schematics correct? Or should I quit? (Sorry for my mistakes. This is not my original language)
The transistor is NPN. And the transformer's current source is the 10 V Battery..
I don't want to use an "classic" oscillator because for me is hard to make one(from transistors) and I'm just a child so I can't buy anything from internet(for example a 555 timer).I got the arduino and the rest of the pieces from my uncle.