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

Offline profdc9

  • High Voltage Technician
  • ***
  • Posts: 194
  • 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: 927
  • Karma: +11/-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: 194
  • 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: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
badpeter
Today at 03:45:43 AM
post Re: DRSSTC Driver Logic
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
March 24, 2019, 11:02:51 PM
post Re: DRSSTC Driver Logic
[Dual Resonant Solid State Tesla coils]
Laci
March 24, 2019, 10:43:55 PM
post Re: DRSSTC Driver Logic
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
March 24, 2019, 09:54:54 PM
post Re: Chinese MOSFETS/IGBTS
[Solid state Tesla coils]
Mads Barnkob
March 24, 2019, 08:07:19 PM
post Re: Chinese MOSFETS/IGBTS
[Solid state Tesla coils]
profdc9
March 24, 2019, 04:37:50 PM
post Re: UD 2.7C Build
[Dual Resonant Solid State Tesla coils]
profdc9
March 24, 2019, 03:22:14 PM
post Re: DRSSTC Driver Logic
[Dual Resonant Solid State Tesla coils]
Laci
March 24, 2019, 02:59:48 PM
post Re: WTS [EU]: UD2.7 thru hole pcb
[Sell / Buy / Trade]
FilipŠebík
March 24, 2019, 08:39:46 AM
post Re: UD 2.7C Build
[Dual Resonant Solid State Tesla coils]
Thunderstruck
March 24, 2019, 08:35:33 AM
post Re: Chinese MOSFETS/IGBTS
[Solid state Tesla coils]
flyrod
March 24, 2019, 04:07:24 AM
post Re: Chinese MOSFETS/IGBTS
[Solid state Tesla coils]
Thunderstruck
March 23, 2019, 10:07:54 PM
post Re: WTS [EU]: UD2.7 thru hole pcb
[Sell / Buy / Trade]
Mads Barnkob
March 23, 2019, 04:07:55 PM
post WTS [EU]: UD2.7 thru hole pcb
[Sell / Buy / Trade]
Fumeaux
March 23, 2019, 02:12:48 PM
post Re: UD 2.7C Build
[Dual Resonant Solid State Tesla coils]
Thunderstruck
March 23, 2019, 08:03:58 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
petespaco
March 23, 2019, 01:50:47 AM
post Re: Chinese MOSFETS/IGBTS
[Solid state Tesla coils]
Hydron
March 23, 2019, 12:11:10 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
badpeter
March 22, 2019, 08:19:21 PM
post Re: Chinese MOSFETS/IGBTS
[Solid state Tesla coils]
profdc9
March 22, 2019, 06:39:37 PM
post Chinese MOSFETS/IGBTS
[Solid state Tesla coils]
Fumeaux
March 22, 2019, 05:51:55 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
petespaco
March 22, 2019, 03:46:16 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
kamelryttarn
March 22, 2019, 11:25:19 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
Mads Barnkob
March 22, 2019, 10:56:16 AM
post Re: looking for PCB creating software
[Printed Circuit Board]
Teravolt
March 22, 2019, 06:02:15 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
badpeter
March 21, 2019, 11:04:48 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
Hydron
March 21, 2019, 07:51:23 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
badpeter
March 21, 2019, 07:09:05 PM
post Re: looking for PCB creating software
[Printed Circuit Board]
kamelryttarn
March 21, 2019, 02:26:09 PM
post Re: GDT Experiments
[Solid state Tesla coils]
Uspring
March 21, 2019, 11:57:53 AM
post Re: GDT Experiments
[Solid state Tesla coils]
Teravolt
March 20, 2019, 11:15:50 PM
post Re: GDT Experiments
[Solid state Tesla coils]
Thunderstruck
March 20, 2019, 09:07:04 PM
post Re: Keep or throw away ?
[Beginners]
Teravolt
March 20, 2019, 05:18:07 PM
post Re: New small SSTC
[Solid state Tesla coils]
Bambinz
March 20, 2019, 03:52:15 PM
post Re: New small SSTC
[Solid state Tesla coils]
Mads Barnkob
March 20, 2019, 01:23:52 PM
post Re: GDT Experiments
[Solid state Tesla coils]
T3sl4co1l
March 20, 2019, 01:18:29 PM
post Re: GDT Experiments
[Solid state Tesla coils]
Mads Barnkob
March 20, 2019, 01:06:24 PM
post Re: cute-qcw Tesla Coil
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
March 20, 2019, 01:00:46 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
Mads Barnkob
March 20, 2019, 12:41:22 PM
post Re: Keep or throw away ?
[Beginners]
Thunderstruck
March 19, 2019, 10:02:41 PM
post Re: Keep or throw away ?
[Beginners]
Hydron
March 19, 2019, 08:14:33 PM
post Re: Keep or throw away ?
[Beginners]
Teravolt
March 19, 2019, 05:12:03 PM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Experimentonomen
March 19, 2019, 01:32:32 PM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Mads Barnkob
March 19, 2019, 12:20:34 PM
post Re: Strange gdt waveforms
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
March 19, 2019, 12:15:22 PM
post Re: Which varnish to use to coat the Secondary?
[Solid state Tesla coils]
Mads Barnkob
March 19, 2019, 10:46:50 AM
post Re: Keep or throw away ?
[Beginners]
Thunderstruck
March 19, 2019, 09:11:09 AM
post Re: Keep or throw away ?
[Beginners]
Mads Barnkob
March 19, 2019, 08:24:31 AM
post Re: Keep or throw away ?
[Beginners]
Teravolt
March 19, 2019, 01:51:51 AM
post Re: Keep or throw away ?
[Beginners]
Thunderstruck
March 18, 2019, 09:56:42 PM
post Re: cute-qcw Tesla Coil
[Dual Resonant Solid State Tesla coils]
Weston
March 18, 2019, 07:55:52 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