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

Offline profdc9

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

Offline profdc9

  • High Voltage Technician
  • ***
  • Posts: 169
  • Karma: +2/-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 Technician
  • *****
  • Posts: 111
  • Karma: +0/-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: Drsstc 3
[Dual Resonant Solid State Tesla coils]
oneKone
Today at 02:28:27 AM
post Re: IGBT selection - TO-247 or minibrick?
[Dual Resonant Solid State Tesla coils]
Garyf
September 18, 2018, 05:51:35 PM
post Re: Theremin based on the stm32f103c8t6 and bluepill, stm32duino
[Electronic circuits]
profdc9
September 18, 2018, 05:00:57 AM
post Re: Theremin based on the stm32f103c8t6 and bluepill, stm32duino
[Electronic circuits]
futurist
September 17, 2018, 08:57:40 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
Mads Barnkob
September 17, 2018, 11:20:53 AM
post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
September 17, 2018, 11:17:23 AM
post Re: mmc capacitor banks
[Spark gap Tesla coils]
Mads Barnkob
September 17, 2018, 08:52:32 AM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
aq62386238
September 16, 2018, 03:31:06 PM
post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
profdc9
September 16, 2018, 04:34:36 AM
post Theremin based on the stm32f103c8t6 and bluepill, stm32duino
[Electronic circuits]
profdc9
September 15, 2018, 10:55:33 PM
post Re: Garden flag pole hit by lightning
[General chatting]
profdc9
September 14, 2018, 05:13:33 PM
post Re: mmc capacitor banks
[Spark gap Tesla coils]
profdc9
September 14, 2018, 04:50:48 PM
post Re: Garden flag pole hit by lightning
[General chatting]
OakleyC
September 14, 2018, 12:45:05 AM
post Re: Garden flag pole hit by lightning
[General chatting]
Phoenix
September 13, 2018, 09:59:00 PM
post Re: Garden flag pole hit by lightning
[General chatting]
oneKone
September 13, 2018, 03:34:39 PM
post Garden flag pole hit by lightning
[General chatting]
Mads Barnkob
September 13, 2018, 02:35:00 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
September 13, 2018, 08:59:50 AM
post Re: mmc capacitor banks
[Spark gap Tesla coils]
OakleyC
September 13, 2018, 02:09:09 AM
post Re: mmc capacitor banks
[Spark gap Tesla coils]
Hydron
September 12, 2018, 04:16:38 PM
post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
oneKone
September 12, 2018, 12:21:48 PM
post mmc capacitor banks
[Spark gap Tesla coils]
OakleyC
September 12, 2018, 11:18:07 AM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
September 12, 2018, 08:56:06 AM
post Re: IGBT selection - TO-247 or minibrick?
[Dual Resonant Solid State Tesla coils]
Hydron
September 12, 2018, 08:11:12 AM
post Re: IGBT selection - TO-247 or minibrick?
[Dual Resonant Solid State Tesla coils]
Spuriosity_
September 12, 2018, 04:58:28 AM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Hydron
September 10, 2018, 04:31:16 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Uspring
September 10, 2018, 01:37:22 PM
post Re: new member seeking advice.
[Solid state Tesla coils]
Mads Barnkob
September 10, 2018, 01:36:14 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
September 09, 2018, 07:59:44 PM
post Re: new member seeking advice.
[Solid state Tesla coils]
pentode
September 09, 2018, 09:09:22 AM
post Re: new member seeking advice.
[Solid state Tesla coils]
oneKone
September 09, 2018, 08:42:36 AM
post Re: 160mm PLL sstc
[Solid state Tesla coils]
oneKone
September 09, 2018, 08:22:06 AM
post new member seeking advice.
[Solid state Tesla coils]
shogun94
September 08, 2018, 12:57:25 AM
post Re: Non toroid top loads
[Spark gap Tesla coils]
Patric
September 05, 2018, 08:41:36 PM
post Chineese spark aways !
[Solid state Tesla coils]
pentode
September 05, 2018, 02:30:21 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
Mads Barnkob
September 05, 2018, 01:43:24 PM
post Re: Non toroid top loads
[Spark gap Tesla coils]
Mads Barnkob
September 05, 2018, 01:42:16 PM
post Re: 160mm PLL sstc
[Solid state Tesla coils]
Mads Barnkob
September 05, 2018, 01:35:07 PM
post Re: 160mm PLL sstc
[Solid state Tesla coils]
oneKone
September 05, 2018, 12:36:22 PM
post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
oneKone
September 05, 2018, 12:31:49 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
aq62386238
September 05, 2018, 11:59:20 AM
post Re: Non toroid top loads
[Spark gap Tesla coils]
Max
September 05, 2018, 11:52:36 AM
post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
September 05, 2018, 10:08:06 AM
post Re: 160mm PLL sstc
[Solid state Tesla coils]
Mads Barnkob
September 05, 2018, 08:36:25 AM
post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
oneKone
September 05, 2018, 05:44:25 AM
post Re: 160mm PLL sstc
[Solid state Tesla coils]
oneKone
September 05, 2018, 05:33:32 AM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
aq62386238
September 04, 2018, 04:47:33 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
Mads Barnkob
September 04, 2018, 01:51:22 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
aq62386238
September 04, 2018, 01:38:46 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
Mads Barnkob
September 04, 2018, 12:07:06 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
aq62386238
September 04, 2018, 10:51:43 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