Author Topic: Simple Arduino MIDI Interrupter  (Read 2254 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 Senior
  • *****
  • Posts: 920
  • Karma: +11/-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?

Offline Laci

  • High Voltage Technician
  • ***
  • Posts: 152
  • Karma: +2/-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 it.
http://onetesla.com/downloads

High Voltage Forum

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

 


* Recent Topics and Posts

post Re: Keep or throw away ?
[Beginners]
Thunderstruck
March 19, 2019, 10:02:41 PM
post Re: Keep or throw away ?
[Beginners]
Hydron
March 19, 2019, 08:14:33 PM
post Re: Keep or throw away ?
[Beginners]
Teravolt
March 19, 2019, 05:12:03 PM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Experimentonomen
March 19, 2019, 01:32:32 PM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Mads Barnkob
March 19, 2019, 12:20:34 PM
post Re: Strange gdt waveforms
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
March 19, 2019, 12:15:22 PM
post Re: Which varnish to use to coat the Secondary?
[Solid state Tesla coils]
Mads Barnkob
March 19, 2019, 10:46:50 AM
post Re: Keep or throw away ?
[Beginners]
Thunderstruck
March 19, 2019, 09:11:09 AM
post Re: Keep or throw away ?
[Beginners]
Mads Barnkob
March 19, 2019, 08:24:31 AM
post Re: Keep or throw away ?
[Beginners]
Teravolt
March 19, 2019, 01:51:51 AM
post Re: Keep or throw away ?
[Beginners]
Thunderstruck
March 18, 2019, 09:56:42 PM
post Re: cute-qcw Tesla Coil
[Dual Resonant Solid State Tesla coils]
Weston
March 18, 2019, 07:55:52 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
petespaco
March 18, 2019, 06:11:07 PM
post Re: Strange gdt waveforms
[Dual Resonant Solid State Tesla coils]
Hydron
March 18, 2019, 02:27:35 PM
post Re: cute-qcw Tesla Coil
[Dual Resonant Solid State Tesla coils]
Uspring
March 18, 2019, 12:52:35 PM
post Re: Strange gdt waveforms
[Dual Resonant Solid State Tesla coils]
FilipŠebík
March 18, 2019, 12:22:58 PM
post New small SSTC
[Solid state Tesla coils]
Bambinz
March 18, 2019, 11:46:18 AM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Bambinz
March 18, 2019, 11:29:02 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
Mads Barnkob
March 18, 2019, 10:35:04 AM
post Re: Strange gdt waveforms
[Dual Resonant Solid State Tesla coils]
Marty
March 18, 2019, 05:32:43 AM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Experimentonomen
March 17, 2019, 09:13:47 PM
post Re: DRSSTC Driver Logic
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
March 17, 2019, 04:08:33 PM
post Re: WTB: Large Heatsink with a Baseplate at least 10mm thick
[Sell / Buy / Trade]
Phoenix
March 17, 2019, 02:46:44 PM
post Re: cute-qcw Tesla Coil
[Dual Resonant Solid State Tesla coils]
flyglas
March 17, 2019, 02:21:45 PM
post Re: DRSSTC Driver Logic
[Dual Resonant Solid State Tesla coils]
Laci
March 17, 2019, 01:54:47 PM
post Re: WTB: Large Heatsink with a Baseplate at least 10mm thick
[Sell / Buy / Trade]
Mads Barnkob
March 17, 2019, 10:15:16 AM
post Re: Which varnish to use to coat the Secondary?
[Solid state Tesla coils]
FilipŠebík
March 17, 2019, 09:33:50 AM
post Re: Which varnish to use to coat the Secondary?
[Solid state Tesla coils]
Teravolt
March 17, 2019, 05:32:48 AM
post Re: Which varnish to use to coat the Secondary?
[Solid state Tesla coils]
Thunderstruck
March 17, 2019, 02:39:25 AM
post WTB: Large Heatsink with a Baseplate at least 10mm thick
[Sell / Buy / Trade]
Phoenix
March 16, 2019, 10:06:39 PM
post Re: Large Ferrite Core with IGBT-Brick Driver
[Transformer (ferrite core)]
rikkitikkitavi
March 16, 2019, 08:35:51 PM
post Re: cute-qcw Tesla Coil
[Dual Resonant Solid State Tesla coils]
Weston
March 16, 2019, 08:04:52 PM
post Re: cute-qcw Tesla Coil
[Dual Resonant Solid State Tesla coils]
flyglas
March 16, 2019, 06:44:14 PM
post Re: Which varnish to use to coat the Secondary?
[Solid state Tesla coils]
FilipŠebík
March 16, 2019, 09:57:55 AM
post Re: Which varnish to use to coat the Secondary?
[Solid state Tesla coils]
Thunderstruck
March 16, 2019, 09:40:55 AM
post Re: Which varnish to use to coat the Secondary?
[Solid state Tesla coils]
FilipŠebík
March 16, 2019, 08:57:54 AM
post Re: Which varnish to use to coat the Secondary?
[Solid state Tesla coils]
Thunderstruck
March 16, 2019, 08:46:24 AM
post Re: Which varnish to use to coat the Secondary?
[Solid state Tesla coils]
FilipŠebík
March 16, 2019, 08:27:24 AM
post Re: UD 2.7C Build
[Dual Resonant Solid State Tesla coils]
Thunderstruck
March 16, 2019, 07:35:58 AM
post GDT Experiments
[Solid state Tesla coils]
Thunderstruck
March 16, 2019, 06:32:36 AM
post cute-qcw Tesla Coil
[Dual Resonant Solid State Tesla coils]
Weston
March 16, 2019, 06:01:44 AM
post Re: Which varnish to use to coat the Secondary?
[Solid state Tesla coils]
Thunderstruck
March 16, 2019, 05:46:38 AM
post Which varnish to use to coat the Secondary?
[Solid state Tesla coils]
FilipŠebík
March 15, 2019, 10:11:53 PM
post Re: Large Ferrite Core with IGBT-Brick Driver
[Transformer (ferrite core)]
Mads Barnkob
March 15, 2019, 10:31:10 AM
post Re: Mechanical QCW !!
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
March 15, 2019, 09:44:59 AM
post Re: Large Ferrite Core with IGBT-Brick Driver
[Transformer (ferrite core)]
Hydron
March 15, 2019, 09:27:48 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
Mads Barnkob
March 15, 2019, 08:49:01 AM
post Mechanical QCW !!
[Dual Resonant Solid State Tesla coils]
pentode
March 15, 2019, 08:33:23 AM
post Re: Piernas's Fast ZVS Mazzilli Driver
[Transformer (ferrite core)]
neukyhm
March 14, 2019, 11:30:12 PM
post Re: Large Ferrite Core with IGBT-Brick Driver
[Transformer (ferrite core)]
Phoenix
March 14, 2019, 11:18:04 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