Author Topic: Simple Arduino MIDI Interrupter  (Read 2626 times)

Offline Atomfusion

  • High Voltage Enthusiast
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Simple Arduino MIDI Interrupter
« on: July 25, 2017, 01:34:09 AM »
Using miditones and an Arduino I have developed a special Tesla Coil version.
There are 2 Versions.
Arduino Uno Version that can be used for up to 4-5 songs that just play
Arduino Mega Version with Adafruit MP3 SD Shield and Adafruit RGB LCD shield that can load songs directly from an SD Card and show them on the LCD screen
Read PlayTune info.txt for more info also the code is documented

To Use this code
Put the files in libraries into the libraries folder in arduino 1.8.3
then open up TC_UNO

Output is on pins 5 and 6 connect through 1n4148 Diodes

If you have the RGBShield uncommend line 9 #define RGBShield
Then check line 21 #define ARDUINO_UNO change to ARDUINO_MEGA if using mega
Last adjust lines 959 960 961
TESLA_DC 15
TESLA_MU 300
TESLA_SU 400

To what works best for your coil, you can also change them when you call the song directly
This allows you to tune each individual song

Last you can take any Midi file and convert it to bytestream using miditones in command prompt
miditones -t2 "Name of Midifile"


Try it out let me know what you think
Arduino Uno Version * TC Interrupter UNO.zip

Arduino MEGA Version * TC Interrupter MEGA SD.zip

« Last Edit: July 25, 2017, 02:28:00 AM by Atomfusion »

Offline Mads Barnkob

  • Administrator
  • High Voltage Expert
  • *****
  • Posts: 1013
  • Karma: +16/-0
  • Denmark
    • View Profile
    • Kaizer Power Electronics
Re: Simple Arduino MIDI Interrupter
« Reply #1 on: July 25, 2017, 07:33:27 PM »
Great project and thank you for sharing it all.

I never used a Arduino and therefore I am a little vary on all those shields etc.

Could you supply a small schematic to show how you connect the Arduino outputs through diodes to the Tesla coil itself, or through opto isolation or what solution you chose?

You wrote you used the 25$ RGB LCD shield, but I guess the cheaper 20$ LCD shield could be used aswell? https://www.adafruit.com/product/772

Did you use the 30$ MP3 SD shield because you had it at hand? Could the 14$ Datalogger shield be used instead? https://www.adafruit.com/product/1141

So you have to compile all songs into the loadfile and then write it to the uC? It is not completely clear to me if you just put the songs separately on the SD card or how its dimensioned? You write that the MEGA can only handle 20-25 songs, so its all really just in the uC? I am little confused on how this works since a SD card would hold "insert eternal sign here" MIDI files.

Despite it being a little labor demanding job, to add new files, great audio interrupter for around 50$

http://www.kaizerpowerelectronics.dk - Tesla coils, high voltage, pulse power, audio and general electronics

Offline Atomfusion

  • High Voltage Enthusiast
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Simple Arduino MIDI Interrupter
« Reply #2 on: July 25, 2017, 09:14:47 PM »
I will get some more images and a schematic for how the Arduino is connected (but basically its just a diode OR gate)
Its not opto isolated as I wanted this to be simple (but can be)
The cheaper $20 one should work great, I did use the MP3 because i had it but the $14 dollar shield should work, but the Code will need changed, you need to change the 2 lines with SD.begin(4); to SD.begin(10); (I dont have one to test at this time)

I did not make this part as clear, there are two different code setups,
In the first one the TC interrupter UNO the songs are stored in the uC, This program can run as an interrupter with nothing more then just the UNO 32k  or MEGA 256k memory.

The Second one requires the 2 Shields and a MEGA, but you can play songs directly from the SD card, so then you can add/delete songs quickly. I have it limited to 254 songs at the moment but it could be increased.

Offline Velotech

  • High Voltage Enthusiast
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Simple Arduino MIDI Interrupter
« Reply #3 on: September 26, 2017, 05:34:07 AM »
Your web site has a lot of information that I want. It is very necessary for me.

Offline Osiedle

  • High Voltage Enthusiast
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Simple Arduino MIDI Interrupter
« Reply #4 on: March 08, 2018, 06:27:49 PM »
Hello. Could you please pot the schematics? Or maybe someone else can tell me how to connect my Arduino Uno to SSTC?

Online Laci

  • High Voltage Engineer
  • ****
  • Posts: 203
  • Karma: +6/-0
    • View Profile
Re: Simple Arduino MIDI Interrupter
« Reply #5 on: March 10, 2018, 08:38:44 PM »
Check out the oneTesla SD card midi interrupter.It's easy to make.
http://onetesla.com/downloads
« Last Edit: April 14, 2019, 10:34:53 PM by Laci »

High Voltage Forum

Re: Simple Arduino MIDI Interrupter
« Reply #5 on: March 10, 2018, 08:38:44 PM »

 


* Recent Topics and Posts

post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
Today at 09:01:29 PM
post Re: A dynamical arc model v2
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
Today at 08:54:41 PM
post Re: Bought huge capacitors
[Capacitor banks]
MRMILSTAR
Today at 04:34:02 PM
post Re: How energy flow through a DRSSTC?
[Dual Resonant Solid State Tesla coils]
Uspring
Today at 03:13:03 PM
post Re: A dynamical arc model v2
[Dual Resonant Solid State Tesla coils]
Uspring
Today at 02:40:06 PM
post Re: What happens when L and C are not matched?
[Electronic circuits]
klugesmith
Today at 01:17:36 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
Today at 11:13:33 AM
post Re: Where to buy Tesla coil capacitors?
[Spark gap Tesla coils]
Mads Barnkob
Today at 10:46:56 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
Bert911
Today at 08:01:10 AM
post Re: A dynamical arc model v2
[Dual Resonant Solid State Tesla coils]
VNTC
Today at 04:19:07 AM
post How energy flow through a DRSSTC?
[Dual Resonant Solid State Tesla coils]
VNTC
Today at 04:05:33 AM
post Re: Tungsten
[Spark gap Tesla coils]
thedoc298
Today at 12:02:39 AM
post Re: My first DRSSTC on bricks
[Dual Resonant Solid State Tesla coils]
Laci
June 16, 2019, 09:00:31 PM
post Re: Bought huge capacitors
[Capacitor banks]
dexter
June 16, 2019, 08:25:16 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
hightemp1
June 16, 2019, 07:06:48 PM
post Re: Bought huge capacitors
[Capacitor banks]
MRMILSTAR
June 16, 2019, 06:07:06 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Hydron
June 16, 2019, 04:51:26 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
petespaco
June 16, 2019, 03:39:30 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
June 16, 2019, 03:39:15 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Hydron
June 16, 2019, 03:18:25 PM
post Re: A dynamical arc model v2
[Dual Resonant Solid State Tesla coils]
Hydron
June 16, 2019, 03:10:15 PM
post Re: Bought huge capacitors
[Capacitor banks]
Max
June 16, 2019, 12:25:59 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
Bert911
June 16, 2019, 09:38:15 AM
post Re: Top of secondary
[Spark gap Tesla coils]
MRMILSTAR
June 16, 2019, 05:45:47 AM
post Re: Tungsten
[Spark gap Tesla coils]
MRMILSTAR
June 16, 2019, 05:40:52 AM
post Tungsten
[Spark gap Tesla coils]
thedoc298
June 16, 2019, 03:51:12 AM
post Re: Last question
[Spark gap Tesla coils]
thedoc298
June 16, 2019, 03:44:43 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
petespaco
June 16, 2019, 12:03:50 AM
post Re: My first DRSSTC on bricks
[Dual Resonant Solid State Tesla coils]
Laci
June 15, 2019, 09:27:30 PM
post Re: Advice sought for self build 15kV 50Hz 150mW supply
[Transformer (iron core)]
jonnie
June 15, 2019, 06:38:28 PM
post Re: Best way to discharge capacitors ?
[Capacitor banks]
MRMILSTAR
June 15, 2019, 05:49:12 PM
post Re: "LightningStorm" VTTC project
[Vacuum tube Tesla coils]
MRMILSTAR
June 15, 2019, 05:38:30 PM
post Re: Voltage Multipliers keep destroying drivers
[Voltage Multipliers]
MRMILSTAR
June 15, 2019, 05:19:35 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
Bert911
June 15, 2019, 09:25:07 AM
post Re: Static electricity measurement
[Static electricity]
johnf
June 15, 2019, 08:47:17 AM
post Re: Brainstorming next coil sync, Async RSGTC, duel mot, or NSTs.
[Spark gap Tesla coils]
MRMILSTAR
June 15, 2019, 06:51:09 AM
post Power in/transfer/out in an original Tesla coil
[Dual Resonant Solid State Tesla coils]
VNTC
June 15, 2019, 06:49:06 AM
post Re: Rotoray spark gap motor power
[Spark gap Tesla coils]
MRMILSTAR
June 15, 2019, 06:35:48 AM
post Re: Are bleeder resistors necessary if I can easily discharge my capacitor?
[Spark gap Tesla coils]
MRMILSTAR
June 15, 2019, 06:21:45 AM
post Re: Last question
[Spark gap Tesla coils]
MRMILSTAR
June 15, 2019, 06:00:36 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
petespaco
June 15, 2019, 02:00:16 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
Bert911
June 14, 2019, 10:19:02 PM
post Re: Where to buy Tesla coil capacitors?
[Spark gap Tesla coils]
MRMILSTAR
June 14, 2019, 06:10:11 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
hightemp1
June 14, 2019, 02:38:13 PM
post A dynamical arc model v2
[Dual Resonant Solid State Tesla coils]
Uspring
June 14, 2019, 01:18:38 PM
post Re: Advice sought for self build 15kV 50Hz 150mW supply
[Transformer (iron core)]
Mads Barnkob
June 14, 2019, 10:15:41 AM
post Re: Advice sought for self build 15kV 50Hz 150mW supply
[Transformer (iron core)]
ritaismyconscience
June 14, 2019, 05:29:40 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
petespaco
June 14, 2019, 12:24:48 AM
post Re: Advice sought for self build 15kV 50Hz 150mW supply
[Transformer (iron core)]
profdc9
June 13, 2019, 11:40:49 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
hightemp1
June 13, 2019, 10:22:12 PM

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30