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

Offline profdc9

  • High Voltage Technician
  • ***
  • Posts: 187
  • Karma: +7/-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: 882
  • Karma: +8/-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: 187
  • Karma: +7/-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: 116
  • 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: How do I test the max. Ipk of IBGT
[Dual Resonant Solid State Tesla coils]
VNTC
Today at 03:16:00 AM
post It's been a while since I dabbled:
[Solid state Tesla coils]
T3sl4co1l
February 16, 2019, 06:26:43 PM
post Re: SSTC build as per Steve Ward's Mini SSTC - Final Design
[Solid state Tesla coils]
Mads Barnkob
February 16, 2019, 12:50:30 PM
post Re: How do I test the max. Ipk of IBGT
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
February 16, 2019, 12:47:45 PM
post How do I test the max. Ipk of IBGT
[Dual Resonant Solid State Tesla coils]
VNTC
February 16, 2019, 05:03:21 AM
post Re: SSTC build as per Steve Ward's Mini SSTC - Final Design
[Solid state Tesla coils]
Thunderstruck
February 16, 2019, 02:16:27 AM
post Re: Aliexpress Yunbao pulse skipping Product Guide manual
[Dual Resonant Solid State Tesla coils]
black.yang
February 15, 2019, 08:54:20 AM
post Re: Aliexpress Yunbao pulse skipping Product Guide manual
[Dual Resonant Solid State Tesla coils]
Weston
February 15, 2019, 07:40:34 AM
post Re: Resistor tolerance?
[Beginners]
kamelryttarn
February 14, 2019, 02:27:18 PM
post Re: OneTesla Clone ** Urgent help needed!!
[Dual Resonant Solid State Tesla coils]
TonyHV
February 13, 2019, 11:53:07 PM
post Re: OneTesla Clone ** Urgent help needed!!
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
February 13, 2019, 09:27:51 PM
post Re: OneTesla Clone ** Urgent help needed!!
[Dual Resonant Solid State Tesla coils]
TonyHV
February 13, 2019, 09:06:28 PM
post Re: Aliexpress Yunbao pulse skipping Product Guide manual
[Dual Resonant Solid State Tesla coils]
black.yang
February 13, 2019, 06:57:22 PM
post Aliexpress Yunbao pulse skipping Product Guide manual
[Dual Resonant Solid State Tesla coils]
black.yang
February 13, 2019, 06:55:42 PM
post Re: OneTesla Clone ** Urgent help needed!!
[Dual Resonant Solid State Tesla coils]
pentode
February 13, 2019, 06:44:22 PM
post Re: OneTesla Clone ** Urgent help needed!!
[Dual Resonant Solid State Tesla coils]
TonyHV
February 13, 2019, 05:23:58 PM
post Re: OneTesla Clone ** Urgent help needed!!
[Dual Resonant Solid State Tesla coils]
TonyHV
February 13, 2019, 05:14:58 PM
post Re: OneTesla Clone ** Urgent help needed!!
[Dual Resonant Solid State Tesla coils]
Teravolt
February 13, 2019, 03:12:37 PM
post Re: OneTesla Clone ** Urgent help needed!!
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
February 13, 2019, 02:47:49 PM
post Re: OneTesla Clone ** Urgent help needed!!
[Dual Resonant Solid State Tesla coils]
TonyHV
February 13, 2019, 01:57:55 PM
post Re: OneTesla Clone ** Urgent help needed!!
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
February 13, 2019, 01:53:36 PM
post Re: OneTesla Clone ** Urgent help needed!!
[Dual Resonant Solid State Tesla coils]
TonyHV
February 13, 2019, 01:45:53 PM
post Re: OneTesla Clone ** Urgent help needed!!
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
February 13, 2019, 12:58:48 PM
post Re: OneTesla Clone ** Urgent help needed!!
[Dual Resonant Solid State Tesla coils]
TonyHV
February 13, 2019, 12:35:10 PM
post Re: Homemade flyback on 60N60DLF full bridge
[Transformer (ferrite core)]
Platinum
February 12, 2019, 09:17:29 PM
post Video gear & workflow: Canon 5D mk3, Rødelink, FPS1000HD and more
[DSLR]
Mads Barnkob
February 12, 2019, 08:51:43 AM
post Re: STB16PF06L
[Dual Resonant Solid State Tesla coils]
pentode
February 12, 2019, 08:16:33 AM
post Re: Homemade flyback on 60N60DLF full bridge
[Transformer (ferrite core)]
Mads Barnkob
February 11, 2019, 11:06:05 PM
post Re: SSTC build as per Steve Ward's Mini SSTC - Final Design
[Solid state Tesla coils]
Mads Barnkob
February 11, 2019, 10:58:06 PM
post Re: STB16PF06L
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
February 11, 2019, 10:18:39 PM
post Re: SSTC build as per Steve Ward's Mini SSTC - Final Design
[Solid state Tesla coils]
Laci
February 11, 2019, 04:28:24 PM
post STB16PF06L
[Dual Resonant Solid State Tesla coils]
pentode
February 11, 2019, 04:21:54 PM
post Re: SSTC build as per Steve Ward's Mini SSTC - Final Design
[Solid state Tesla coils]
Thunderstruck
February 11, 2019, 11:55:44 AM
post Re: Homemade flyback on 60N60DLF full bridge
[Transformer (ferrite core)]
Hydron
February 11, 2019, 08:13:07 AM
post Homemade flyback on 60N60DLF full bridge
[Transformer (ferrite core)]
Platinum
February 10, 2019, 08:36:12 PM
post Resistor tolerance?
[Beginners]
kamelryttarn
February 10, 2019, 05:46:39 PM
post Re: Help! IBGT 60N60 has been destroyed a lot by my coil
[Dual Resonant Solid State Tesla coils]
sjsimmo
February 09, 2019, 09:19:49 AM
post Help! IBGT 60N60 has been destroyed a lot by my coil
[Dual Resonant Solid State Tesla coils]
VNTC
February 09, 2019, 05:32:59 AM
post Re: DRSSTC design guide - progress report
[Dual Resonant Solid State Tesla coils]
flyglas
February 08, 2019, 05:10:29 PM
post Re: Russian Marx generator test center torn down
[Voltage Multipliers]
Hydron
February 08, 2019, 09:19:57 AM
post Re: DRSSTC design guide - progress report
[Dual Resonant Solid State Tesla coils]
Hydron
February 07, 2019, 11:32:01 PM
post Re: DRSSTC design guide - progress report
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
February 07, 2019, 09:19:49 PM
post Re: Keep or throw away ?
[Beginners]
Thunderstruck
February 07, 2019, 12:20:52 PM
post Re: Keep or throw away ?
[Beginners]
Mads Barnkob
February 07, 2019, 12:16:31 PM
post Re: Keep or throw away ?
[Beginners]
Thunderstruck
February 07, 2019, 11:27:44 AM
post Re: OneTesla Clone ** Urgent help needed!!
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
February 07, 2019, 08:56:57 AM
post Re: Russian Marx generator test center torn down
[Voltage Multipliers]
Mads Barnkob
February 06, 2019, 08:47:55 PM
post Re: Russian Marx generator test center torn down
[Voltage Multipliers]
Mads Barnkob
February 06, 2019, 08:46:20 PM
post Russian Marx generator test center torn down
[Voltage Multipliers]
Mads Barnkob
February 06, 2019, 08:45:25 PM
post Re: OneTesla Clone ** Urgent help needed!!
[Dual Resonant Solid State Tesla coils]
TonyHV
February 06, 2019, 07:04:20 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