Author Topic: Simple Arduino MIDI Interrupter  (Read 10281 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
  • Executive Board Member
  • *****
  • Posts: 2281
  • Karma: +73/-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$

https://kaizerpowerelectronics.dk - Tesla coils, high voltage, pulse power, audio and general electronics
https://www.youtube.com/KaizerPowerElectronicsDk60/join - Please consider supporting the forum, websites and youtube channel!

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?

Offline Laci

  • High Voltage Engineer
  • ****
  • Posts: 214
  • 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: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
Today at 06:30:43 PM
post Re: Tesla coil UV eye protection?
[General Chat]
Michelle_
Today at 06:14:35 PM
post Re: Tesla coil UV eye protection?
[General Chat]
MRMILSTAR
Today at 05:13:46 PM
post Re: Tesla coil UV eye protection?
[General Chat]
Twospoons
Today at 11:40:08 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
NyaaX_X
Today at 06:01:50 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
Today at 05:55:45 AM
post Re: Tesla coil UV eye protection?
[General Chat]
Michelle_
Today at 05:47:36 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
MRMILSTAR
Today at 05:45:36 AM
post Re: Tesla coil UV eye protection?
[General Chat]
MRMILSTAR
Today at 05:41:05 AM
post Re: Tesla coil UV eye protection?
[General Chat]
Twospoons
Today at 04:33:57 AM
post Re: Tesla coil UV eye protection?
[General Chat]
alan sailer
April 24, 2024, 08:02:47 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 24, 2024, 06:51:17 PM
post Re: Tesla coil UV eye protection?
[General Chat]
Michelle_
April 24, 2024, 06:45:00 PM
post Re: Tesla coil UV eye protection?
[General Chat]
Mads Barnkob
April 24, 2024, 05:18:27 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
NyaaX_X
April 24, 2024, 05:14:27 PM
post Re: Ignitron trigger drive ideas?
[Capacitor Banks]
huntergroundmind
April 24, 2024, 02:51:23 PM
post Re: First DRSSTC SKM100
[Dual Resonant Solid State Tesla coils (DRSSTC)]
davekni
April 24, 2024, 05:58:27 AM
post Tesla coil UV eye protection?
[General Chat]
Michelle_
April 24, 2024, 05:17:22 AM
post Re: Tenebrescent Potassium Iodide
[Solid State Tesla Coils (SSTC)]
alan sailer
April 24, 2024, 12:39:59 AM
post Re: First DRSSTC SKM100
[Dual Resonant Solid State Tesla coils (DRSSTC)]
flyingperson23
April 23, 2024, 11:07:41 PM
post Re: First DRSSTC SKM100
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Saattvik24
April 23, 2024, 10:57:39 PM
post Re: Plasma Torid - Class E Self Resonant Dual/Stereo - Plasma Torid Build
[Dual Resonant Solid State Tesla coils (DRSSTC)]
OmGigaTron
April 23, 2024, 09:33:49 PM
post Re: Tenebrescent Potassium Iodide
[Solid State Tesla Coils (SSTC)]
haversin
April 23, 2024, 06:00:42 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 23, 2024, 03:50:49 AM
post Re: Tenebrescent Potassium Iodide
[Solid State Tesla Coils (SSTC)]
alan sailer
April 23, 2024, 03:13:31 AM
post Re: Tenebrescent Potassium Iodide
[Solid State Tesla Coils (SSTC)]
haversin
April 23, 2024, 12:50:40 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 22, 2024, 11:21:06 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 22, 2024, 08:11:00 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 22, 2024, 06:15:30 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
NyaaX_X
April 22, 2024, 05:52:50 PM
post Tenebrescent Potassium Iodide
[Solid State Tesla Coils (SSTC)]
alan sailer
April 22, 2024, 05:52:13 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 22, 2024, 04:31:52 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
NyaaX_X
April 22, 2024, 04:05:34 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
markus
April 22, 2024, 01:02:30 PM
post Re: 100kHz CM300 gate resistor choice
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Benjamin Lockhart
April 22, 2024, 06:32:35 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 22, 2024, 06:24:10 AM
post M2000NM1 toroid for gdt tesla coil
[General Chat]
thedark
April 22, 2024, 05:13:15 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 22, 2024, 02:25:29 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
alan sailer
April 22, 2024, 02:09:18 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 22, 2024, 12:14:21 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 21, 2024, 09:47:15 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
MRMILSTAR
April 21, 2024, 08:34:02 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 21, 2024, 06:09:57 PM
post Re: 100kHz CM300 gate resistor choice
[Dual Resonant Solid State Tesla coils (DRSSTC)]
davekni
April 21, 2024, 06:21:54 AM
post Re: Insulate the secondary of the Tesla coil with a PET plastic bottle
[General Chat]
Michelle_
April 21, 2024, 06:18:30 AM
post Re: Insulate the secondary of the Tesla coil with a PET plastic bottle
[General Chat]
davekni
April 21, 2024, 06:12:31 AM
post Re: Insulate the secondary of the Tesla coil with a PET plastic bottle
[General Chat]
MRMILSTAR
April 21, 2024, 05:19:55 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 21, 2024, 02:29:17 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
alan sailer
April 21, 2024, 01:28:59 AM
post Insulate the secondary of the Tesla coil with a PET plastic bottle
[General Chat]
thedark
April 21, 2024, 01:19:44 AM
post Re: 100kHz CM300 gate resistor choice
[Dual Resonant Solid State Tesla coils (DRSSTC)]
flyingperson23
April 21, 2024, 12:55:25 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 20, 2024, 11:25:32 PM
post Re: 100kHz CM300 gate resistor choice
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Benjamin Lockhart
April 20, 2024, 10:28:26 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
davekni
April 20, 2024, 10:23:28 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 20, 2024, 10:06:44 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
davekni
April 20, 2024, 09:21:55 PM
post Re: 100kHz CM300 gate resistor choice
[Dual Resonant Solid State Tesla coils (DRSSTC)]
davekni
April 20, 2024, 09:16:14 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
MRMILSTAR
April 20, 2024, 08:58:40 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 20, 2024, 06:18:26 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 20, 2024, 06:15:26 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
MRMILSTAR
April 20, 2024, 03:45:43 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Benjamin Lockhart
April 20, 2024, 06:33:37 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 20, 2024, 05:45:04 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Benjamin Lockhart
April 20, 2024, 05:34:16 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 20, 2024, 04:50:57 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Benjamin Lockhart
April 20, 2024, 04:03:55 AM
post Re: 100kHz CM300 gate resistor choice
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Benjamin Lockhart
April 20, 2024, 02:35:56 AM
post Re: How to get a GE Yokogawa AB40 Sync Scope to rotate without a powerplant.
[Laboratories, Equipment and Tools]
Bobakman
April 19, 2024, 09:37:52 PM
post Re: How to get a GE Yokogawa AB40 Sync Scope to rotate without a powerplant.
[Laboratories, Equipment and Tools]
klugesmith
April 19, 2024, 09:20:10 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Mads Barnkob
April 19, 2024, 07:22:26 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 19, 2024, 04:46:36 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
alan sailer
April 19, 2024, 03:49:28 PM
post Re: How to get a GE Yokogawa AB40 Sync Scope to rotate without a powerplant.
[Laboratories, Equipment and Tools]
Bobakman
April 19, 2024, 01:53:57 PM
post Re: How to get a GE Yokogawa AB40 Sync Scope to rotate without a powerplant.
[Laboratories, Equipment and Tools]
MRMILSTAR
April 19, 2024, 05:24:19 AM
post Re: Difference between these transformers
[Transformer (Ferrite Core)]
Tesla Junior
April 19, 2024, 04:24:09 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 19, 2024, 04:20:35 AM
post Re: How to get a GE Yokogawa AB40 Sync Scope to rotate without a powerplant.
[Laboratories, Equipment and Tools]
Bobakman
April 19, 2024, 04:05:28 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
alan sailer
April 19, 2024, 04:03:54 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 19, 2024, 03:19:19 AM
post Re: IKY150N65EH7, is it good for DRSSTC
[Dual Resonant Solid State Tesla coils (DRSSTC)]
davekni
April 19, 2024, 03:09:29 AM
post Re: IKY150N65EH7, is it good for DRSSTC
[Dual Resonant Solid State Tesla coils (DRSSTC)]
unrealcrafter2
April 19, 2024, 01:47:37 AM
post Re: How to get a GE Yokogawa AB40 Sync Scope to rotate without a powerplant.
[Laboratories, Equipment and Tools]
Bobakman
April 19, 2024, 12:19:21 AM
post Re: How to get a GE Yokogawa AB40 Sync Scope to rotate without a powerplant.
[Laboratories, Equipment and Tools]
klugesmith
April 18, 2024, 11:33:01 PM
post Re: How to get a GE Yokogawa AB40 Sync Scope to rotate without a powerplant.
[Laboratories, Equipment and Tools]
Bobakman
April 18, 2024, 11:15:15 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
davekni
April 18, 2024, 10:59:36 PM
post Re: What actually kills MOSFETs?
[Beginners]
unrealcrafter2
April 18, 2024, 10:03:48 PM
post Re: How to get a GE Yokogawa AB40 Sync Scope to rotate without a powerplant.
[Laboratories, Equipment and Tools]
klugesmith
April 18, 2024, 09:53:25 PM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General Chat]
unrealcrafter2
April 18, 2024, 09:50:09 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 18, 2024, 09:15:55 PM
post Re: 100kHz CM300 gate resistor choice
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Mads Barnkob
April 18, 2024, 08:50:49 PM
post Re: 100kHz CM300 gate resistor choice
[Dual Resonant Solid State Tesla coils (DRSSTC)]
unrealcrafter2
April 18, 2024, 08:11:27 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
davekni
April 18, 2024, 07:28:05 PM
post Re: How to get a GE Yokogawa AB40 Sync Scope to rotate without a powerplant.
[Laboratories, Equipment and Tools]
Bobakman
April 18, 2024, 06:30:30 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 18, 2024, 06:03:57 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 18, 2024, 05:26:13 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
NyaaX_X
April 18, 2024, 04:03:38 PM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 18, 2024, 02:56:40 PM
post Re: DIY induction guns? (warning:long)
[Induction Launchers, Coil Guns and Rails guns]
Benbmw
April 18, 2024, 06:17:15 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 18, 2024, 05:46:07 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
MRMILSTAR
April 18, 2024, 05:18:31 AM

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 
SimplePortal 2.3.6 © 2008-2014, SimplePortal