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

Offline profdc9

  • High Voltage Technician
  • ***
  • Posts: 151
    • 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
  • High Voltage Senior
  • *****
  • Posts: 649
  • 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?
http://www.kaizerpowerelectronics.dk - Tesla coils, high voltage, pulse power, audio and general electronics

Offline profdc9

  • High Voltage Technician
  • ***
  • Posts: 151
    • 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 Technician
  • *****
  • Posts: 108
    • 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: COUNTERPOISE ??? NEED HELP
[Solid state Tesla coils]
Mads Barnkob
June 22, 2018, 10:05:10 PM
post Re: COUNTERPOISE ??? NEED HELP
[Solid state Tesla coils]
antoine_z_h
June 22, 2018, 03:58:34 PM
post Re: COUNTERPOISE ??? NEED HELP
[Solid state Tesla coils]
profdc9
June 22, 2018, 03:09:34 PM
post Re: COUNTERPOISE ??? NEED HELP
[Solid state Tesla coils]
antoine_z_h
June 22, 2018, 02:08:23 PM
post Re: COUNTERPOISE ??? NEED HELP
[Solid state Tesla coils]
Hydron
June 22, 2018, 01:08:08 PM
post Counterpoise? Need help!
[Solid state Tesla coils]
antoine_z_h
June 22, 2018, 12:23:41 PM
post Re: IGBT selection - TO-247 or minibrick?
[Dual Resonant Solid State Tesla coils]
TDAF
June 22, 2018, 11:03:01 AM
post Re: IGBT selection - TO-247 or minibrick?
[Dual Resonant Solid State Tesla coils]
profdc9
June 22, 2018, 09:44:27 AM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
profdc9
June 22, 2018, 09:41:05 AM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
June 22, 2018, 07:43:29 AM
post Re: IGBT selection - TO-247 or minibrick?
[Dual Resonant Solid State Tesla coils]
oneKone
June 22, 2018, 04:12:56 AM
post Re: IGBT selection - TO-247 or minibrick?
[Dual Resonant Solid State Tesla coils]
Teravolt
June 21, 2018, 09:00:40 PM
post Re: IGBT selection - TO-247 or minibrick?
[Dual Resonant Solid State Tesla coils]
Hydron
June 21, 2018, 07:01:55 PM
post Re: IGBT selection - TO-247 or minibrick?
[Dual Resonant Solid State Tesla coils]
Spuriosity_
June 21, 2018, 04:19:06 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Hydron
June 20, 2018, 11:07:26 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
profdc9
June 20, 2018, 08:14:29 PM
post Re: CM200DU-24F woes
[Dual Resonant Solid State Tesla coils]
Usernametaken
June 20, 2018, 04:28:35 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Hydron
June 20, 2018, 04:08:31 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
profdc9
June 20, 2018, 03:15:09 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
June 20, 2018, 02:26:29 PM
post Re: CM200DU-24F woes
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
June 20, 2018, 11:30:44 AM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
June 20, 2018, 11:26:14 AM
post Re: MMC configuration advice
[Dual Resonant Solid State Tesla coils]
zizzer
June 19, 2018, 06:45:59 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
June 19, 2018, 08:14:00 AM
post Re: CM200DU-24F woes
[Dual Resonant Solid State Tesla coils]
Usernametaken
June 19, 2018, 07:28:22 AM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
profdc9
June 19, 2018, 03:19:15 AM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Hydron
June 18, 2018, 11:18:56 PM
post Re: Bach on sparks!
[Vacuum tube Tesla coils]
pentode
June 18, 2018, 11:03:47 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
profdc9
June 18, 2018, 09:07:28 PM
post Re: The hobo's SSTC
[Solid state Tesla coils]
Mads Barnkob
June 18, 2018, 08:47:15 PM
post Re: Bach on sparks!
[Vacuum tube Tesla coils]
Mads Barnkob
June 18, 2018, 07:39:58 PM
post Re: The hobo's SSTC
[Solid state Tesla coils]
Hydron
June 18, 2018, 04:36:18 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Hydron
June 18, 2018, 04:27:14 PM
post The hobo's SSTC
[Solid state Tesla coils]
Spuriosity_
June 18, 2018, 04:17:13 PM
post Re: IGBT selection - TO-247 or minibrick?
[Dual Resonant Solid State Tesla coils]
Hydron
June 18, 2018, 04:07:44 PM
post Re: Bach on sparks!
[Vacuum tube Tesla coils]
pentode
June 18, 2018, 03:32:39 PM
post Re: MMC configuration advice
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
June 18, 2018, 02:02:50 PM
post Re: IGBT selection - TO-247 or minibrick?
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
June 18, 2018, 01:53:12 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
June 18, 2018, 01:48:11 PM
post Re: Bach on sparks!
[Vacuum tube Tesla coils]
Mads Barnkob
June 18, 2018, 12:41:18 PM
post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
Hydron
June 18, 2018, 12:31:42 PM
post Re: Glass and shellac
[Radio frequency]
Mads Barnkob
June 18, 2018, 12:13:42 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Hydron
June 18, 2018, 11:46:44 AM
post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
June 18, 2018, 11:13:39 AM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
June 17, 2018, 08:35:38 PM
post Re: Bach on sparks!
[Vacuum tube Tesla coils]
pentode
June 17, 2018, 01:15:28 PM
post Re: IGBT selection - TO-247 or minibrick?
[Dual Resonant Solid State Tesla coils]
TDAF
June 17, 2018, 01:06:30 PM
post Re: Bach on sparks!
[Vacuum tube Tesla coils]
oneKone
June 17, 2018, 12:15:59 PM
post Bach on sparks!
[Vacuum tube Tesla coils]
pentode
June 17, 2018, 09:14:12 AM
post Re: IGBT selection - TO-247 or minibrick?
[Dual Resonant Solid State Tesla coils]
profdc9
June 17, 2018, 06:07:55 AM