Build and Code a MONSTER Musical Tesla Coil with a Microcontroller

 by TheHomebrewGuru
Contest WinnerFeatured
Visit my youtube page for more projects: http://www.youtube.com/channel/UCksEFn8xaLP0z4rsiHa9zcA?feature=mhee

As the winter months come up, many will be forced to stay indoors… To many, this will mean playing scrabble with grandma, watching television, doing puzzles, and sitting around the house. Why not begin an awesome project to spice up those potentially cold, dreary nights with an amazing light show decoration?

In this instructable, I will detail how you can do just that in creating an Audio Modulated Solid State Tesla Coil. Quite a mouthful isn’t it? For those foreign to the electronics engineering field or who simply just have no clue what “audio modulation” or “tesla coils” are, essentially what this device will do is produce visible streamers of electricity into the air (“lightning bolts”) pulsed at frequencies that correspond to audible tones (the device will “turn on and off” so quickly that the vibrations that the streamers make with the air sound like different notes). As we will see, we can exploit this neat effect to have the device play music and control it from behind a computer. So far, the secrets behind how these devices that sometimes make appearances on tv shows and movies has been kept under wraps and exclusively within the electronics engineering and computer science community or for very dedicated hobbyists putting in hours of research. In fact, for many high classes in elite colleges, n00b engineers would even have trouble making this on their own! This project could also be used to FREAK THE LIVING DAYLIGHTS out of people on Halloween! This year, I finished the project just in time to have this prop set up to play an eerie tune and trick-or-treaters were mesmerized (goes great to decorate a Frankenstein set).

This project is not for the light-hearted and is very difficult, but when completed, is extremely rewarding (it took me 2 years to learn how to build and finally do it). Not only will one learn loads about electronics and computer science, but simply taking this device to an event or (safely) to a public space rarely fails to produce a crowd of people taking pictures, impressed with your wizardly h@x0rz skills. Certain types of light bulbs or sticks will magically turn on without any wires. Good skills with power tools, machining, carpentry and the like are essential for crowd appeal. You have been warned, however, that there will be much tweaking, experimenting, and required dedication. In addition, be smart when operating tesla coils around sensitive electronics or in areas occupied by many people (basic common sense, I don't think there's much of a need to babble on, but if you are unsure, please work with an experienced engineer).
 
Remove these adsRemove these ads by Signing Up

Step 1: What is a tesla coil?

A tesla coil is a resonant air core transformer system invented by inventor Nikola Tesla in the 1890’s. Originally, tesla coils were designed to broadcast electricity and signals wirelessly, however, several engineering and monetary setbacks prevented the tesla coil from becoming the popular mode of energy transfer, and a power distribution method architecture relying on use of power grid lines (wires/cables) became the prevailing and accepted method. Now, tesla coils are primarily used for short-range wireless power transmission, for lighting up some types of lights, and for presentation/entertainment purposes.

Before going on, it is important to understand the basic functions of the primary components that make up our tesla coil and are used to make it (yeah, I know it’s redundant for most of you and most of you know how these parts work, but this instructable is for people from almost all backgrounds of experience):

Capacitor: Stores electrical energy and then releases it in short pulses (a little bit like a battery).

Transformer: Converts a lower voltage to a higher voltage (but makes output amperage go down) or converts higher voltage to lower voltage (making output amperage go up). Usually consists of coils of wire wound around a chunk of iron. The ratio of turns (how many times wire is wound around compared to other coils on the same chunk) of the coils determines how much voltage is increased our decreased. For there to be an output, a transformer must be fed AC (alternating current). In a tesla coil, the wires are not wound around a chunk of iron (and thus a tesla coil is sometimes called an “air core” transformer). In the tesla coil we will be building, a transformer such as a neon sign transformer is not required!

Transistor: Used for switching signals/voltage on and off. “IGBT” transistors are most commonly used, but require heat sinks.

Operational Amplifier: Used for increasing the amplitude (the “strength”) of a signal.

Tesla Coil Toroid: A metallic (usually made of aluminum) doughnut-shaped object with a small amount of capacitance (acts as a capacitor).

Microcontroller: Like a mini computer that can be programmed to perform a task.

Oscilloscope: Used to view what an electrical signal looks like (voltage over time graph).

Resistor: If put in a circuit it resists passage of electricity much like friction resists the passage of a moving object.

Potentiometer: Acts like a resistor but how resistive it is can be controlled with a little knob.

Inductor: Coil of wire that produces an electromagnetic field when electricity passes through it.

Rectifier: Takes Alternating Current and converts it to Direct Current.

Vector Board/Bread Board: Boards used for prototyping circuits. A breadboard does not require soldering to make connections, parts are just “plugged in.”

Ground: Usually denoted by a green wire, something connected to ground completes a circuit. Think of a lightning bolt moving from a cloud to the ground. In a similar way, electricity in a wire is attracted to and moves towards a ground connection.

Amps: A quantity that helps describe how much energy/power passes through something. Circuits in themselves typically have a limit to the amount of current that can pass through them and no more. A good way to think about it (though by no means is this a “scientific” definition) amperage tells you how concentrated the electricity is. In a welder, for example, amperage is very high because high concentrated energy produces a lot of heat.

Volts: This is also a quantity that helps describe how much energy that passes through something, but what it means for you and me is that it is a way to quantify how readily electricity “jumps” from one spot to another. HIGH VOLTAGE is characterized by the long electronic arcs coming from the tesla coil (typically over 100,000 volts). Electricity coming from the outlets in your house does not behave like this because the voltage is a lot lower (typically around 120 volts). A tesla coil steps the voltage way up, but that doesn’t mean that it just produces energy from nowhere. When voltage goes up, amperage goes down. When amperage goes up, voltage goes down.

Watts: A way to quantify total energy (combined voltage and amperage).

Check here for basic schematic symbols (we will need this later): http://library.thinkquest.org/10784/circuit_symbols.html
The operating principle behind a tesla coil is somewhat simple. Energy is sent to charge up a capacitor or set of capacitors. At a certain point, the capacitors are forced to discharge into the primary coil. When the energy that is stored in the capacitors is sent through the primary coil, a large amount of energy is induced (“sent”) into the secondary coil (alternating current is basically just electricity that changes voltage. When the capacitor fires, voltage changes from essentially zero to something really large in a very short amount of time). Since there are more turns in the secondary coil, the induced energy has a higher voltage, but a lower current than in the primary coil. The capacitors recharge and start this cycle again.

The capacitance of the capacitor and the inductance of the primary coil determine how quickly this cycle occurs per second and is measured in units of frequency called hertz. If a tuning fork vibrates at a certain frequency and another tuning fork that, if you hit it, would vibrate at the same frequency were put near each other, then simply striking one tuning fork would make the other start vibrating too. Why? Because of resonance. Tesla coils can be said to behave similarly; if the frequency of the primary circuit matches the resonant frequency of the secondary circuit, then the tesla coil is optimal, and like a tuning fork, energy will go from one part (the first “fork”/primary circuit) to the other (the second “fork”/secondary circuit).

In the olden days, capacitors would be charged up and a gap of metal would be put to each of the capacitor’s leads. When the capacitor was fully charged, a spark would arc inbetween the gap, thus forcing the energy into the primary coil. After the spark occured, the air inbetween the gap would be ionized. Ionized air acts sort of like a wire; electricity can move freely through it. Until the ionized air dissipated, energy would oscillate (move back and forth) between the capacitor and inductor many times. Instead of using spark gaps, we will be using transistors which are like little switches, but are controlled electronically. Turning the switch on and off quickly at certain frequencies will make the “lightning” coming out of the tesla coil make audible tones.

Keep in mind that even though we are turning the tesla coil on and off at a certain frequency (a certain number of times per second), its primary circuit is still oscillating (energy moving back and forth between the capacitor and primary coil a certain number of times per second) at a different frequency that we will match with the secondary circuit.

I have attached a simplified diagram of the basic way that we will hookup the tesla coil. This instructable is designed to be very flexible and allows for you to be your own designer through giving you the tools and basic knowledge needed to build one yourself from scratch.
1-40 of 65Next »
WeaponsofmyMind00 says: Feb 5, 2013. 1:11 PM
Could you show a schematic of the switch diagram please?
Adrenal1ne says: Dec 28, 2012. 6:31 PM
It's probably because I am a technical idiot, but there are large parts of this ible of which I cannot understand. I understand how a Tesla Coil functions, and I understand how the Microcontroller unit system works, but I can't understand exactly how it all goes together. But from what I understand of Tesla Coils, could I build the Tesla Coil described here (http://www.instructables.com/id/Solid-State-Tesla-Coil) and place the Interrupter somewhere between the power source and the control circuitry? Or is there something in the control circuitry that I would replace with an interrupter? What would that be? Where would it go? Where would I get one? (Is it obvious I don't know what I'm doing yet?) Any help on this subject would be extremely helpful.
Thanks!
mnieto2 says: Dec 1, 2012. 9:42 AM
I have two questions regarding the circuit diagram:
1. Do you just plug the part that says "outlet" into a wall outlet, or do you need a high voltage source (I dont think that 120 volts on the primary is enough to run the secondary coil at a high enough voltage, or is it?)?
2. Do you run the outlet on DC or AC current?
teslapulsa94 says: Nov 16, 2012. 6:39 AM
how much does it cost to make?
moviemanic says: Jan 29, 2012. 7:46 AM
is there a program like WinTesla for Mac users
techxpert in reply to moviemanicSep 15, 2012. 11:52 PM
I use a program called wine and it can run pc programs in a mac interface buy pressing run now.

it is free and available here
http://www.winehq.org/

it does not save your progress though and so you will need to start again every time you open it :(
jcaresheets says: Jul 27, 2012. 7:37 PM
I think this is the first instructable I have comment on but i may be wrong. But I had to comment at least to say thank you. I have been daydreaming about a Tesla coil for quite some time now. But my ultimate goal would be one that can play music. Thanks to this I think this might be within reach. However, because of the high voltage involved I am still a long ways away from doing this and want to learn as much as I can before I begin. Thank you again.
T_T_ says: Feb 13, 2012. 8:47 AM
is there any way to modify this set-up to accept a MIDI interface, from something like a computer or electronic keyboard?
indodude in reply to T_T_Jun 17, 2012. 8:17 PM
Well yes but the problem with the MIDI interface is that it becomes a lot more difficult to get everything running for no reason. Best you use a mono signal coming from you piano or pc for one Solid State Tesla coil (or have two Tesla coils on the left and right for stereo haha). As all the signal coming from the micro controller is an audio signal that you would see coming from a standard pc audio jack.
sciencetor2 says: Apr 30, 2012. 8:11 AM
Is using an MMC capacitor array plausible for this project? they are much more customizeable, and usually cheaper and easier to get resonant
rhoult says: Feb 23, 2012. 10:36 AM
This is really cool! I'm planning on doing this for a school project and have a few questions. How much did the whole project cost? I'm kinda broke so i want to know if it'll be affordable. Also, what's the time frame on this? I have a deadline of 6 weeks. I'll be presenting the whole project and have a reputation of great presentations. I was planning on doing the Doctor Who theme on the coils, with the arcs going to my hands. obviously i'd need some insulated chainmail gloves to keep from getting shocked, are there any other safety precautions i should take? If there are any other pointers or tips i should know, i'd be happy to hear them!
Mudbud says: Feb 7, 2012. 11:58 AM
ahhhhhhhh why u no add video of dis badass telsa coil!!!!!!!!!!!!!!!!!!!!!!!!!!
TeslaFreakshow says: Nov 9, 2011. 1:05 PM
Hey Man, that list if IGBT's is a tad dated.

The HGT1N40N60A4D and HGT1N40N60A4 are obsolete and havent been able for 5 years or so. Same goes for the FGH30N6S2. However IXGH60N60C2, HGTG40N60A4 and HGTG20N60A4 are current parts and work fantastic. I highly reccmend any of theose 3.

TheHomebrewGuru (author) in reply to TeslaFreakshowNov 14, 2011. 8:20 AM
Yes, but I know someone who had access to these parts even though they are no longer sold (had them around or had access to them at work)
TeslaFreakshow in reply to TheHomebrewGuruJan 4, 2012. 5:08 PM
Yes but this is an instructable so if you're giving in instructions people building this might not have access to those parts like you do. Just a thought.

So this weekend I build a coil using the mini bricks from IXYS. They were 60n60c2d1 and although they do work they aren't as powerful as the fairchild parts and even though they are in the sot-227 package they are still quite a bit weaker. Hands down the HGTG40N60A4 are the best parts you can buy as reasonable prices and they beat the IXYS parts easily without even considering price.

You still using the boards I sold you? I think if you're going to do midi you should program the controller to decode midi directly from a PC. This is kinda the standard now. Not really into MIDI myself but I have an FM modulated SSTC in the works now. Uses a USB powered audio preamp and equalizer. Sound quality is better than what you get from regular tweeters. Super crisp and loud.
TheHomebrewGuru (author) in reply to TeslaFreakshowJan 15, 2012. 11:58 PM
I have been experimenting with many different coils and boards, however, I am moving towards a UAV project now and taking a break from coiling with the culmination of the audio circuit. In the future I will probably code a direct PC decoder, but that will probably be on the backburner for a while
TheHomebrewGuru (author) in reply to TheHomebrewGuruJan 16, 2012. 12:01 AM
Hmm as for the IGBTs, that is a good idea, I'll add those to the list
dunnos says: Jan 7, 2012. 2:01 PM
Did you ever try making a miniature one?
coilsinamotor says: Dec 23, 2011. 8:01 PM
hey this is a great project and i plan to make my own could you let me know where you got your magnet wire from? thankx
TeslaFreakshow in reply to coilsinamotorJan 6, 2012. 9:12 AM
You can get it off Ebay. That secondary is coated with Furniture Epoxy not Varnish. There is a big difference between the two.
wunderdog317 says: Dec 19, 2011. 11:13 AM
dude im sorry you busted your big capacitor you have sorry had one do buy it from that place
EEduino says: Nov 7, 2011. 6:38 PM
Since I already have an arduino, could I use that as the microcontroller for this tesla coil? If so, would I just need to change the coding? Would that work at all?
florinandrei in reply to EEduinoDec 12, 2011. 2:41 PM
The type of micro is irrelevant. All that matters is that you supply the correct signal. An Arduino could definitely do that. A bare AVR micro could do that. A Picaxe could do that. Just about any micro currently in production should be able to handle the task.
TheHomebrewGuru (author) in reply to EEduinoNov 8, 2011. 1:06 AM
I do not have much experience with arduinos, but I'll look into it :)
florinandrei says: Dec 12, 2011. 2:39 PM
This is a great instructable. But the electronics schematics are a bit on the thin side. What's needed is:

A) A block schematic, with all the major blocks indicated, and their connections. Okay, you did that on Step 2 Overview. But don't forget to indicate the value for the capacitors used in the final design.

B) Each block within the block schematic needs after that its own schematic on a separate diagram. Clearly draw the diagram for the bridge circuit, with all components and all connections, and indicate the value and type of each component that were used in the final version.

C) Same for the microcontroller block. I looked and looked and couldn't find the schematic for the microcontroller.

D) Same for the rectifier block. This is pretty trivial, but you should do it anyway.

E) Then put all schematics together. Block (overview) schematic first, then each part of it with its own detailed schematic. Or leave them separate, on different pages on your instructable, but make it clear which detailed scheme corresponds to which block on the overview scheme.

You did everything very well, but I think you probably learned the electronics stuff on-the-fly. Don't get me wrong, I think you did a great job, but just clean up the schematics part of the project. This is not a criticism, it's a suggestion for improvement.

Here's another project that is much less thorough than yours in the practical aspects, testing, etc., but the electronics are better explained, see the links to the PDF schematics at the bottom of the page - if you could provide clear, detailed schematics the way they did, yours would be hands-down the best instructable I've seen yet:

http://www.megavolts.nl/en/projecten/tesla-spoelen/153-audio-modulated-solid-state-teslacoil-v2

You don't have to provide the schematics in PDF form, it's the idea that matters.

Thanks.

kd1s says: Dec 10, 2011. 1:46 PM
When I was a kid I used to build a device that using a 9V battery would give a nasty shock. It was a relay setup to oscillate and then fed through a transformer.

In essence, a spark gap fed to a step up. Zzzaappp! So I understand the circuitry behind this.
ghostrider2 says: Nov 30, 2011. 12:20 PM
isnt this also known as the zeusaphone? never has a more appropriate name been chosen for such an incredible machine
mrmerino says: Nov 22, 2011. 8:29 AM
You photographer yourself! You monster! Do you realize what you've done?
hakam66 says: Nov 21, 2011. 4:03 AM
Very good.Very good.
nomooremr.niceguy says: Nov 17, 2011. 12:05 PM
While I'm sure that it's already been stated, or asked, I'm just lazy, so I'll ask again. What's the price tag on this baby? Thanks for your patience.
TheHomebrewGuru (author) in reply to nomooremr.niceguyNov 18, 2011. 2:19 PM
It really depends on the tesla coil design that you are going after. Mine is $600 and it works very well as long as the frequency, pulse width, and duty cycle are low enough.
rdelaplaza says: Nov 7, 2011. 11:53 PM
Nice way to blow every electronic device in the house, if they get "touched" by the arc in the room (try getting the Arc to touch your iPhone, your iPod or your expensive digital camera) or if the tesla arc hits a power outlet, a light switch or a light bulb, the high voltage will jump through any insulation and may travel through the wires and ZAP the Bejeezus of anything else; sensitive to electrostatic discharges; connected to the electric system in the house before or in the way of reaching the ground. If the HV hits the metal case it may act as a Faraday cage , and protect the electronics inside, but try hittng the display or the headphone cable with the arc... A VERY REAL POSSIBILITY...
This may not be a "BE NICE" comment but may save some people from find this in another more "painful" and expensive way.
I will be waiting comments from people that wouldn't believe this and did some actual "testing" of what I said.
I am expecting a ton of negative comments to what I just said (don't care) , but time and experience will tell.
TheHomebrewGuru (author) in reply to rdelaplazaNov 8, 2011. 1:00 AM
I did emphasize not to operate this device near sensitive electronics, and with a fuse the tesla coil should not trip anything in the house :/ please be careful!
rdelaplaza in reply to TheHomebrewGuruNov 8, 2011. 11:04 AM
A fuse is a "protection" device that will blow if your Tesla coil tries to draw too much current (amps) from the house outlet, protecting it from burning.

But it will not block high voltage from traveling back to ground completing the circuit around the house wiring (and your other electronic devices), only the MOV's (Metal Oxide Varistors) in protected power strips may stop (or sort circuit the high voltages to ground or between lines).

Even heavy stuff like electric motors may withstand those high voltages, but just for a shot burst, a sustained spark will burn any insulation in motor windings, or power transformers...

Your picture shows a tesla coil putting out a spark of more than 3 ft long, thats a lot of voltage, even though it has a very low amps, (miliamps), the high voltage is what destroys a lot of electronic sensitive devices, it will jump through anything, conductive or not.

A lot of electronic devices can be fried by the tiny spark that will jump from accumulated electricity in your body in dry weather, can you imagine what a spark this size will do?

Another danger even though not very probable is that the spark may ignite any kind of combustible vapor, gas, or suspended powder in the air if the concentration of those is high enough, a definite possibility if the coil is operated in a garage for example.

Other things that may happen are related to the human body and high voltage discharges, people with anything metal in their bodies (pacemakers etc) should definitely stay away, and "normal" people be aware that before the spark starts "jumping" the accumulated charge (total energy stored) may raise to a very high level that will drop once the spark starts jumping and conducting that energy away through the arc, that first jump may be not very good to take through your body.

Definite NO NO's Will be :
DONT USE IT TO SCARE PEOPLE OR TO PLAY PRANKS ON PEOPLE
(hey... it may happen; I have seen it before)

Definitely not a toy that anybody can handle. specially if the inclination for BIGGER things, LIKE .. my Tesla coil is bigger and better, and more powerful than yours, or ... my tesla coil will be in the book of Guiness records, that kind of thinking may lead to exaggerate when building one; with powerful consequences or the source of FREAKY accidents.

I'm not trying to be a party pooper, or bash your project, but
just to show what may happen
if not treated with extreme caution, respect
and a good knowledge of high voltage physics.

A word of caution, ... an attempt to create awareness.

High Voltages may be ( VERY ) dangerous
if you don't know what you are doing.

I'm an electrical engineer with more than 30 years experience in industrial maintenance and I have seen my share of what happens when you loose respect for what may kill you.

HAVE LOTS OF FUN
dmdaga in reply to rdelaplazaNov 14, 2011. 6:18 AM
Dear All

I agree with the comments and observation. This should not be treated as a toy. The electrostatic and electromagnetic energy generated due to spark can destroy sensitive electronic devices. This energy can get in to any device by way of radiarion , electromannetic induction or through household gnd wire.

D M DAGA
TheHomebrewGuru (author) in reply to rdelaplazaNov 8, 2011. 5:53 PM
The tesla coil uses < 500 watts. If basic common sense and safety is used, like with a buzz saw or a wood chipper, you should be fine.
aceron1 says: Nov 8, 2011. 8:12 PM
Sorry, this is a nonscientific comment, but it looks like wall-e in a strange way in the picture. It looks cute.
MikeyTre says: Nov 5, 2011. 8:37 AM
Nikola tesla wasnt an american, he was from serbia... in europe.
Awesome ible though!
mszanetti in reply to MikeyTreNov 8, 2011. 7:39 AM
He was born in Croatia actually.
mixele in reply to mszanettiNov 8, 2011. 9:46 AM
Born an ethnic Serb in the village of Smiljan (now part of Gospić), in the Croatian Military Frontier[1] of the Austrian Empire (modern-day Croatia), Tesla was a subject of the Austrian Empire by birth and later became an American citizen.
His father was orthodox serbian priest.

1-40 of 65Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!