Pages: [1]   Go Down
Author Topic: Arduino controlled Tesla Coil...  (Read 985 times)
0 Members and 1 Guest are viewing this topic.
Valencia, Spain
Online Online
Faraday Member
**
Karma: 143
Posts: 5305
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here's a Tesla Coil I built a few weeks ago being controlled by an Arduino Pro Mini.



I programmed some music for a show with some belly dancers:

https://www.youtube.com/watch?v=wUsyrDy-pCo

(The two rhythms are "maksum" and "malfuf"...)

I guess the next logical step is to get it to play "Super Mario Bros".
Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Belgium
Online Online
Edison Member
*
Karma: 68
Posts: 1894
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

really funny
well done
Logged

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Brisbane, Australia
Offline Offline
Edison Member
*
Karma: 33
Posts: 1120
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very nice.  Are you intending to do a bit of a write-up?
Logged

"There is no problem so bad you can't make it worse"
- retired astronaut Chris Hadfield

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 197
Posts: 12741
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I guess the next logical step is to get it to play "Super Mario Bros".

Nope...
https://www.google.com/search?q=dueling+banjos

(Nice work!)
Logged

Offline Offline
Sr. Member
****
Karma: 19
Posts: 405
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Awesome.

PLEASE write that up for us!!!

Code:
for (int i = 0; i < 100; i++)
  {
    karma++
  }
Logged

0
Offline Offline
Shannon Member
****
Karma: 200
Posts: 11671
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nice!
+1 for a write-up - things like the precautions to keep interference and noise from the coil
from disrupting the Arduino itself would be useful in particular...
Logged

[ I won't respond to messages, use the forum please ]

NSW Australia
Offline Offline
Faraday Member
**
Karma: 78
Posts: 3181
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OK, so exactly what are you using as an interrupter?
Logged

Valencia, Spain
Online Online
Faraday Member
**
Karma: 143
Posts: 5305
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OK, so exactly what are you using as an interrupter?

The coil is built from a MicroBrute kit: http://www.easternvoltageresearch.com/drsstc_microbrute.html

It's a solid state device with huge transistors (350A current), no rotary spark gap or anything like that.

The PCB has an RCA input jack which takes 5V pulses of about 100us each (more than that and the fuse blows). Each pulse produces a single lightning bolt at the top of the coil (yes, it's that precise).

Make enough sparks, vary the frequency, you get music!


« Last Edit: July 18, 2014, 03:58:22 am by fungus » Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Valencia, Spain
Online Online
Faraday Member
**
Karma: 143
Posts: 5305
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nice!
things like the precautions to keep interference and noise from the coil
from disrupting the Arduino itself would be useful in particular...

At first I wanted to use a strike target for the sparks but you should forget that unless you have a big metal spike in the ground attached to the target. Without the ground spike it's just a huge EMP weapon that will crash/destroy every computing device in the area.

The strike target was a piece of wire in a vice. At one point I set the bench on fire because sneaky sparks were jumping from the vice down through the bench to the metal table leg (see pic).

Moral: Just send the sparks up into the air.

With the sparks going upwards there doesn't seem to be a massive amount of interference. The box the coil is standing on for the show is lined with tin foil as a precaution but the Arduino never had problems during the development. It was about 1.5m from the coil (the length of the RCA cable I was using).

As another precaution I fed the Arduino output through an optoisolator into a little PCB with a 5V battery and some resistors.

The program is pretty simple:

I used Timer2 output on pin 11 to generate individual pulses (which have to be very precisely timed).

Timer1 generates interrupts to play the tone (Timer2 pulses are started in the Timer1 interrupt handler).

After that? All you need is some music.



* burn.jpg (226.63 KB, 1073x771 - viewed 13 times.)
« Last Edit: July 18, 2014, 03:55:49 am by fungus » Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Pages: [1]   Go Up
Jump to: