Author Topic: Simple Arduino MIDI Interrupter  (Read 1810 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: 816
  • Karma: +6/-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: 120
  • Karma: +1/-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: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
Today at 01:15:30 PM
post Re: DRSSTC design guide - progress report
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
Today at 01:00:34 PM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
sjsimmo
Today at 11:45:08 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
December 11, 2018, 09:13:49 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
sjsimmo
December 11, 2018, 12:03:54 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
December 10, 2018, 12:25:15 PM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
sjsimmo
December 10, 2018, 11:13:38 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
December 10, 2018, 09:18:24 AM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
Mads Barnkob
December 10, 2018, 09:13:37 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
sjsimmo
December 10, 2018, 02:18:59 AM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
sjsimmo
December 09, 2018, 11:09:34 PM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
Fumeaux
December 09, 2018, 10:23:38 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
sjsimmo
December 09, 2018, 06:05:02 AM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
Jesjes
December 09, 2018, 04:50:56 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
Laci
December 08, 2018, 12:52:41 PM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
sjsimmo
December 08, 2018, 09:51:47 AM
post Huawei RRU3928 1800MHz radio base station teardown (part 1 of 2)
[Radio frequency]
Mads Barnkob
December 06, 2018, 07:49:06 PM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
Fumeaux
December 03, 2018, 10:35:13 AM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
sjsimmo
December 03, 2018, 08:40:43 AM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
Jesjes
December 03, 2018, 05:31:29 AM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
chjarup
December 02, 2018, 11:44:14 PM
post SSTC-Driver PCB 1.3
[Printed Circuit Board]
Fumeaux
December 02, 2018, 10:25:23 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
Mads Barnkob
December 02, 2018, 04:23:16 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
chjarup
December 02, 2018, 12:12:57 PM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
Mads Barnkob
December 02, 2018, 09:57:04 AM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
Fumeaux
December 01, 2018, 09:15:01 PM
post First SSTC build, need help troubleshooting
[Solid state Tesla coils]
Jesjes
December 01, 2018, 03:38:37 AM
post Re: How sensitive are Tesla coils to Arduino boards?
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Laci
November 29, 2018, 08:34:50 PM
post Re: How sensitive are Tesla coils to Arduino boards?
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Netzpfuscher
November 29, 2018, 09:18:47 AM
post Re: My X-Ray Machine
[X-ray]
neukyhm
November 28, 2018, 07:33:44 PM
post Re: My X-Ray Machine
[X-ray]
Mads Barnkob
November 28, 2018, 07:14:52 PM
post My X-Ray Machine
[X-ray]
neukyhm
November 28, 2018, 04:42:32 PM
post Re: How sensitive are Tesla coils to Arduino boards?
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Mads Barnkob
November 28, 2018, 09:55:58 AM
post How sensitive are Tesla coils to Arduino boards?
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Laci
November 27, 2018, 08:50:54 PM
post Re: My First SSTC
[Solid state Tesla coils]
sjsimmo
November 27, 2018, 09:56:16 AM
post Re: My First SSTC
[Solid state Tesla coils]
Mads Barnkob
November 27, 2018, 08:53:35 AM
post Re: My First SSTC
[Solid state Tesla coils]
sjsimmo
November 26, 2018, 02:28:22 AM
post Re: My First SSTC
[Solid state Tesla coils]
pentode
November 23, 2018, 11:18:58 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
November 23, 2018, 06:39:47 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
sjsimmo
November 23, 2018, 03:48:47 AM
post Re: Nokia Siemens Flexi BTS base station teardown: Power amplifier (part 1 and 2)
[Radio frequency]
Mads Barnkob
November 22, 2018, 10:03:48 PM
post Re: Usable vacuum tube?
[Vacuum tube Tesla coils]
Mads Barnkob
November 22, 2018, 11:36:49 AM
post Re: Usable vacuum tube?
[Vacuum tube Tesla coils]
sjsimmo
November 22, 2018, 01:17:32 AM
post My First SSTC
[Solid state Tesla coils]
sjsimmo
November 21, 2018, 11:43:46 PM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
sjsimmo
November 20, 2018, 11:12:10 PM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
sjsimmo
November 20, 2018, 09:56:15 PM
post Re: (DR)SSTC II
[Dual Resonant Solid State Tesla coils]
Laci
November 20, 2018, 09:31:12 PM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Mads Barnkob
November 20, 2018, 08:34:59 PM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
November 20, 2018, 08:32:47 PM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
Laci
November 20, 2018, 07:14:56 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