Author Topic: Flashing the digispark with the oneTesla MIDI interrupter code  (Read 3959 times)

Offline profdc9

  • High Voltage Engineer
  • ****
  • Posts: 262
  • Karma: +14/-0
    • View Profile
Hello,

I managed to modify and flash the digispark with the oneTesla interrupter code.   Here's how to do it:

1.  Buy a Digispark (usually $5 to $10).
2.  Get an Arduino Uno to use as a programmer.
3.  Follow these instructions to plug in the Arduino as the ArduinoISP avrisp programmer:

http://www.instructables.com/id/How-to-Program-an-ATtiny-85-Digispark/

In particular, connect the following pins together

Uno 5V : Digispark Terminal VCC
Uno GND:  Digispark Terminal GND
Uno pin 13:  Digispark P2
Uno pin 12:  Digispark P1
Uno pin 11:  Digispark P0
Uno pin 10:  Digispark P5

4.  Install Arduino software to get avrdude

5.  Flash the Digispark with new code:
avrdude -C"C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf" -v -pattiny85 -cavrisp -PCOM5 -b19200 -D -e -Uflash:w:main.hex:i make

using the main.hex file from the attached distribution, change the paths and the com port to match your configuration.

6.  Disconnect and plug in the digispark; it should be recognized as a OneTesla MIDI controller.

A single pole-single throw switch is attached to P0, the LED is attached to P2 through a 100 ohm resistor.

Dan

« Last Edit: May 11, 2018, 01:14:51 AM by profdc9 »

Offline Mads Barnkob

  • Administrator
  • Executive Board Member
  • *****
  • Posts: 2279
  • Karma: +72/-0
  • Denmark
    • View Profile
    • Kaizer Power Electronics
Re: Flashing the digispark with the oneTesla MIDI interrupter code
« Reply #1 on: May 17, 2018, 11:03:23 AM »
Thanks for the guide.

What are the advantages of the digispark over just a arduino uno? Is it just that its much smaller and cheaper?
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 profdc9

  • High Voltage Engineer
  • ****
  • Posts: 262
  • Karma: +14/-0
    • View Profile
Re: Flashing the digispark with the oneTesla MIDI interrupter code
« Reply #2 on: May 17, 2018, 04:02:53 PM »
It's smaller and cheaper.  I bought mine for $5 on ebay, but you can get Chinese ones for $2 if you want to wait for them.   There's no wiring to do except to add the LED for the fiber optic cable, so it's basically ready to go, it is essentially the same circuit as OneTesla's USB with the pins exchanged.   Also, you don't need a USB to MIDI interface for it, you just connect the USB directly to it.  The disadvantage is that it doesn't use the SD cards, which I wasn't going to use anyways.

I added a spot for the OneTesla USB midi interrupter to one of my interrupters so that it can share the same output LED and save some money there as well, as well as integrate both the test interrupter and the music interrupter into a single board.

Dan

« Last Edit: May 17, 2018, 04:13:05 PM by profdc9 »

Offline futurist

  • Global Moderator
  • High Voltage Engineer
  • *****
  • Posts: 203
  • Karma: +8/-0
    • View Profile
Re: Flashing the digispark with the oneTesla MIDI interrupter code
« Reply #3 on: May 20, 2018, 12:09:36 PM »
Arduino boards will work the same, it depends on which one are you more comfortable using. Nano boards cost under 3$ delivered and if you use internal FTDI you also don't need MIDI-USB cable

High Voltage Forum

Re: Flashing the digispark with the oneTesla MIDI interrupter code
« Reply #3 on: May 20, 2018, 12:09:36 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)]
davekni
Today at 10:59:36 PM
post Re: What actually kills MOSFETs?
[Beginners]
unrealcrafter2
Today at 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
Today at 09:53:25 PM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General Chat]
unrealcrafter2
Today at 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_
Today at 09:15:55 PM
post Re: 100kHz CM300 gate resistor choice
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Mads Barnkob
Today at 08:50:49 PM
post Re: 100kHz CM300 gate resistor choice
[Dual Resonant Solid State Tesla coils (DRSSTC)]
unrealcrafter2
Today at 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
Today at 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
Today at 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_
Today at 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_
Today at 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
Today at 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_
Today at 02:56:40 PM
post Re: DIY induction guns? (warning:long)
[Induction Launchers, Coil Guns and Rails guns]
Benbmw
Today at 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_
Today at 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
Today at 05:18:31 AM
post Re: IKY150N65EH7, is it good for DRSSTC
[Dual Resonant Solid State Tesla coils (DRSSTC)]
davekni
Today at 04:34:52 AM
post Re: How to get a GE Yokogawa AB40 Sync Scope to rotate without a powerplant.
[Laboratories, Equipment and Tools]
klugesmith
Today at 04:11:53 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 04:02:44 AM
post Re: 100kHz CM300 gate resistor choice
[Dual Resonant Solid State Tesla coils (DRSSTC)]
davekni
Today at 03:35:52 AM
post Re: How to get a GE Yokogawa AB40 Sync Scope to rotate without a powerplant.
[Laboratories, Equipment and Tools]
MRMILSTAR
April 17, 2024, 11:54:05 PM
post 100kHz CM300 gate resistor choice
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Benjamin Lockhart
April 17, 2024, 11:37:16 PM
post Re: Has anyone tried to build a TMT (extra coil) Tesla coil?
[General Chat]
Michelle_
April 17, 2024, 02:29:30 AM
post Re: Has anyone tried to build a TMT (extra coil) Tesla coil?
[General Chat]
MRMILSTAR
April 16, 2024, 11:56:12 PM
post Re: How to get a GE Yokogawa AB40 Sync Scope to rotate without a powerplant.
[Laboratories, Equipment and Tools]
klugesmith
April 16, 2024, 11:46:57 PM
post Re: How to get a GE Yokogawa AB40 Sync Scope to rotate without a powerplant.
[Laboratories, Equipment and Tools]
Bobakman
April 16, 2024, 10:40:11 PM
post Has anyone tried to build a TMT (extra coil) Tesla coil?
[General Chat]
Michelle_
April 16, 2024, 09:21:39 PM
post Re: Medium Drsstc question
[Dual Resonant Solid State Tesla coils (DRSSTC)]
flyingperson23
April 16, 2024, 08:04:16 PM
post Re: First DRSSTC SKM100
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Benjamin Lockhart
April 16, 2024, 06:48:05 PM
post Re: Game changing tesla coil secondary winding suggestions
[General Chat]
Michelle_
April 16, 2024, 06:18: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 16, 2024, 06:14:53 PM
post Re: 3D printed mini-slayer: world's weakest tesla coil
[Solid State Tesla Coils (SSTC)]
unrealcrafter2
April 16, 2024, 05:44:44 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 16, 2024, 03:12:12 PM
post Re: Drsstc voltage spike question
[Dual Resonant Solid State Tesla coils (DRSSTC)]
unrealcrafter2
April 16, 2024, 02:28:01 PM
post Re: First DRSSTC SKM100
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Saattvik24
April 16, 2024, 01:56: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 16, 2024, 06:50:47 AM
post Re: IKY150N65EH7, is it good for DRSSTC
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Anders Mikkelsen
April 16, 2024, 04:57:47 AM
post Re: IKY150N65EH7, is it good for DRSSTC
[Dual Resonant Solid State Tesla coils (DRSSTC)]
ethanwu0131
April 16, 2024, 03:40:53 AM
post Re: First DRSSTC SKM100
[Dual Resonant Solid State Tesla coils (DRSSTC)]
flyingperson23
April 16, 2024, 01:31:17 AM
post Re: Game changing tesla coil secondary winding suggestions
[General Chat]
Michelle_
April 15, 2024, 11:19:52 PM
post 3D printed mini-slayer: world's weakest tesla coil
[Solid State Tesla Coils (SSTC)]
Michelle_
April 15, 2024, 11:10:19 PM
post Re: Game changing tesla coil secondary winding suggestions
[General Chat]
alan sailer
April 15, 2024, 11:04:19 PM
post Re: Ignitron trigger drive ideas?
[Capacitor Banks]
Twospoons
April 15, 2024, 11:02:05 PM
post Re: Game changing tesla coil secondary winding suggestions
[General Chat]
Michelle_
April 15, 2024, 10:57:59 PM
post Re: Game changing tesla coil secondary winding suggestions
[General Chat]
Michelle_
April 15, 2024, 10:55:46 PM
post Re: Return of Electronics Flea Market in "Silicon Valley"
[Sell / Buy / Trade]
klugesmith
April 15, 2024, 10:37:32 PM
post Re: First DRSSTC SKM100
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Saattvik24
April 15, 2024, 10:05:00 PM
post Re: How to get a GE Yokogawa AB40 Sync Scope to rotate without a powerplant.
[Laboratories, Equipment and Tools]
MRMILSTAR
April 15, 2024, 09:28:50 PM
post Ignitron trigger drive ideas?
[Capacitor Banks]
klugesmith
April 15, 2024, 09:06:42 PM
post Re: First DRSSTC SKM100
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Mads Barnkob
April 15, 2024, 08:46:32 PM
post Re: Game changing tesla coil secondary winding suggestions
[General Chat]
Benbmw
April 15, 2024, 08:38:39 PM
post Re: Game changing tesla coil secondary winding suggestions
[General Chat]
sky-guided
April 15, 2024, 08:23:40 PM
post How to get a GE Yokogawa AB40 Sync Scope to rotate without a powerplant.
[Laboratories, Equipment and Tools]
Bobakman
April 15, 2024, 06:43:23 PM
post Re: First DRSSTC SKM100
[Dual Resonant Solid State Tesla coils (DRSSTC)]
flyingperson23
April 15, 2024, 06:29:10 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 15, 2024, 05:21:53 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 15, 2024, 05:15:33 AM
post Re: First DRSSTC SKM100
[Dual Resonant Solid State Tesla coils (DRSSTC)]
davekni
April 15, 2024, 04:07:54 AM
post Re: Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
davekni
April 15, 2024, 03:49:03 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 14, 2024, 09:46:30 PM
post Small-ish 3D printed SGTC via cheap ZVS flyback build, humbly asking a couple ?s
[Spark Gap Tesla Coils (SGTC)]
Michelle_
April 14, 2024, 07:31:00 PM
post Re: First DRSSTC SKM100
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Saattvik24
April 14, 2024, 02:26:19 PM
post Re: mg75q2ys40 IGBT
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Mads Barnkob
April 14, 2024, 07:20:54 AM
post Re: IKY150N65EH7, is it good for DRSSTC
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Mads Barnkob
April 14, 2024, 07:18:20 AM
post Re: Game changing tesla coil secondary winding suggestions
[General Chat]
Michelle_
April 13, 2024, 06:46:40 AM
post Re: Game changing tesla coil secondary winding suggestions
[General Chat]
Michelle_
April 13, 2024, 04:18:42 AM
post Re: Upper and Lower Explosive Limits on Confined Flammable Vapors at -79 C.
[General Chat]
alan sailer
April 13, 2024, 03:24:20 AM
post Re: Game changing tesla coil secondary winding suggestions
[General Chat]
alan sailer
April 13, 2024, 03:20:46 AM
post Game changing tesla coil secondary winding suggestions
[General Chat]
Michelle_
April 13, 2024, 03:13:22 AM
post Re: Capacitor Blowout
[Sell / Buy / Trade]
lbattraw
April 12, 2024, 09:14:58 PM
post mg75q2ys40 IGBT
[Dual Resonant Solid State Tesla coils (DRSSTC)]
thedark
April 12, 2024, 08:40:18 PM
post Re: UD 2.7 OCD LED stays on, no output during inital test
[Dual Resonant Solid State Tesla coils (DRSSTC)]
davekni
April 12, 2024, 07:20:30 PM
post Re: Mosfet Buffer Stage Questions
[Beginners]
davekni
April 12, 2024, 07:12:43 PM
post IKY150N65EH7, is it good for DRSSTC
[Dual Resonant Solid State Tesla coils (DRSSTC)]
ethanwu0131
April 12, 2024, 04:47:33 PM
post Re: UD 2.7 OCD LED stays on, no output during inital test
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Admiral Aaron Ravensdale
April 12, 2024, 11:43:36 AM
post Mosfet Buffer Stage Questions
[Beginners]
Egg
April 12, 2024, 12:49:02 AM
post Re: UD 2.7 OCD LED stays on, no output during inital test
[Dual Resonant Solid State Tesla coils (DRSSTC)]
davekni
April 12, 2024, 12:41:16 AM
post Re: Plasma Torid - Class E Self Resonant Dual/Stereo - Plasma Torid Build
[Dual Resonant Solid State Tesla coils (DRSSTC)]
davekni
April 12, 2024, 12:22:41 AM
post Re: Capacitor Blowout
[Sell / Buy / Trade]
Michelle_
April 11, 2024, 10:45:53 PM
post Re: UD 2.7 OCD LED stays on, no output during inital test
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Admiral Aaron Ravensdale
April 11, 2024, 07:39:30 PM
post Re: UD 2.7 OCD LED stays on, no output during inital test
[Dual Resonant Solid State Tesla coils (DRSSTC)]
flyingperson23
April 11, 2024, 07:24:52 PM
post Re: Tesla coil safety questions, risk analysis quantified
[Beginners]
sky-guided
April 11, 2024, 06:09:30 PM
post UD 2.7 OCD LED stays on, no output during inital test
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Admiral Aaron Ravensdale
April 11, 2024, 12:55:16 PM
post Re: Plasma Torid - Class E Self Resonant Dual/Stereo - Plasma Torid Build
[Dual Resonant Solid State Tesla coils (DRSSTC)]
alan sailer
April 11, 2024, 03:40:00 AM
post Re: Plasma Torid - Class E Self Resonant Dual/Stereo - Plasma Torid Build
[Dual Resonant Solid State Tesla coils (DRSSTC)]
sky-guided
April 11, 2024, 03:05:07 AM
post Re: Tesla coil safety questions, risk analysis quantified
[Beginners]
Michelle_
April 11, 2024, 02:57:33 AM
post Re: Tesla coil safety questions, risk analysis quantified
[Beginners]
alan sailer
April 11, 2024, 01:44:32 AM
post Re: Tesla coil safety questions, risk analysis quantified
[Beginners]
Michelle_
April 11, 2024, 01:31:40 AM
post Re: Plasma Torid - Class E Self Resonant Dual/Stereo - Plasma Torid Build
[Dual Resonant Solid State Tesla coils (DRSSTC)]
OmGigaTron
April 11, 2024, 01:11:00 AM
post Re: Tesla coil safety questions, risk analysis quantified
[Beginners]
alan sailer
April 11, 2024, 12:58:52 AM
post Re: Tesla coil safety questions, risk analysis quantified
[Beginners]
Michelle_
April 11, 2024, 12:31:37 AM
post Re: Plasma Torid - Class E Self Resonant Dual/Stereo - Plasma Torid Build
[Dual Resonant Solid State Tesla coils (DRSSTC)]
alan sailer
April 11, 2024, 12:30:21 AM
post Re: Tesla coil safety questions, risk analysis quantified
[Beginners]
alan sailer
April 10, 2024, 11:41:46 PM
post Re: Tesla coil safety questions, risk analysis quantified
[Beginners]
Mads Barnkob
April 10, 2024, 11:33:32 PM
post Re: Tesla coil safety questions, risk analysis quantified
[Beginners]
Michelle_
April 10, 2024, 10:41:33 PM
post Re: Tesla coil safety questions, risk analysis quantified
[Beginners]
MRMILSTAR
April 10, 2024, 10:31:31 PM
post Tesla coil safety questions, risk analysis quantified
[Beginners]
Michelle_
April 10, 2024, 09:56:35 PM
post Re: Drsstc voltage spike question
[Dual Resonant Solid State Tesla coils (DRSSTC)]
unrealcrafter2
April 10, 2024, 08:59:26 PM
post Re: Drsstc voltage spike question
[Dual Resonant Solid State Tesla coils (DRSSTC)]
markus
April 10, 2024, 06:35:30 PM
post Re: Drsstc voltage spike question
[Dual Resonant Solid State Tesla coils (DRSSTC)]
flyingperson23
April 10, 2024, 05:35:14 PM
post Medium Drsstc question
[Dual Resonant Solid State Tesla coils (DRSSTC)]
unrealcrafter2
April 10, 2024, 03:07:02 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 
SimplePortal 2.3.6 © 2008-2014, SimplePortal