If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #2677
Joined: Mon Feb 08 2010, 03:06AM
Location: Palo Alto, California, USA
Posts: 64
Hello all, As part of my current tesla coil project (which I hope to complete soon) I am developing an arduino based interrupter. I have written the code for the arduino and I have a general idea of what the rest of the circuit will consist of. The arduino feeds into an HFBR-1412 fiber-optic transmitter. A description of the circuit is included in the code which I derived from one of the examples provided with the Arduino IDE. It would be much appreciated if someone a bit more seasoned in programming Arduinos could review my code and identify any potential problems. I intend to keep the code public so that others besides me can benefit from it. The code is at http://ubuntuone.com/p/1A71.
Registered Member #2288
Joined: Wed Aug 12 2009, 10:42PM
Location: Cambridge, MA
Posts: 179
Is there any reason you're using an arduino for this? It looks like your code is pretty much emulating a 555 timer interrupter. While there is technically nothing wrong with this, a 555 is far less likely to fail near a tesla coil than an arduino is. Also, if it fails in the wrong way (such that the output of the interrupter is locked high - and I have had this happen, it's effectively a garunteed bridge burn out) it would be unfortunate.
My solution to this was to make a one-shot pulser as the output stage, which is fed by microsecond pulses from a microcontroller. It can be setup in such a way that even if the input to the one-shot from the microcontroller is held high indefinitely long, there will still just be one pulse at rising edge to the coil and nothing bad happens except requiring you to reboot the frozen controller.
The only drawback to my solution is that you can't have the microcontroller change pulse-width to increase the width of bass notes so as to keep their wattage up and their spark intensity high. This could be solved by using a digitally controlled resistor, however I have not bothered to attempt this yet.
Registered Member #2677
Joined: Mon Feb 08 2010, 03:06AM
Location: Palo Alto, California, USA
Posts: 64
The reason I am using an arduino is so that I can eventually program it to run specific sequences of frequencies to do things like playback musical scales as well as possibly MIDI input. I do like the idea of a digital potentiometer to control pulse width as I was thinking about replacing the pots with momentary push-button switches that would cause the Arduino to raise or lower the BPS or on time by a pre-set increment. How would I determine what the on time will be given the value of the capacitor and what resistance level the potentiometer is set to? Thanks for your reply, by the way, I was concerned that it might have lock-up issues.
Registered Member #2288
Joined: Wed Aug 12 2009, 10:42PM
Location: Cambridge, MA
Posts: 179
You can calculate it as follows: The voltage across the capacitor should follow 1-e^(-t/(R*C)), and you can solve for the time at which that voltage crosses the schmitt trigger level, which is I think around 2.7V for 74 series logic. I don't remember the exact capacitance I used but I'm pretty sure it was around 1-10nF.
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.