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

Offline profdc9

  • High Voltage Engineer
  • ****
  • Posts: 228
  • Karma: +11/-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 Expert
  • *****
  • Posts: 1118
  • Karma: +17/-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 Engineer
  • ****
  • Posts: 228
  • Karma: +11/-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: Weller PU81 station mod for DSX80 desoldering handle
[Electronic circuits]
rafscipio
Today at 12:54:48 PM
post Re: Problems with my first DRSSTC
[Dual Resonant Solid State Tesla coils]
Phoenix
Today at 07:37:55 AM
post Re: Large Ferrite Core with IGBT-Brick Driver
[Transformer (ferrite core)]
Phoenix
Today at 06:43:39 AM
post Re: Problems with my first DRSSTC
[Dual Resonant Solid State Tesla coils]
davekni
Today at 01:45:37 AM
post Re: Breakout rod material and size vs streamer resuls
[Dual Resonant Solid State Tesla coils]
davekni
Today at 12:18:00 AM
post Re: My DRSSTC does not want to resonate at correct frequency
[Dual Resonant Solid State Tesla coils]
davekni
September 22, 2019, 10:16:26 PM
post Re: My DRSSTC does not want to resonate at correct frequency
[Dual Resonant Solid State Tesla coils]
AstRii
September 22, 2019, 05:40:52 PM
post Re: My DRSSTC does not want to resonate at correct frequency
[Dual Resonant Solid State Tesla coils]
davekni
September 22, 2019, 06:43:46 AM
post Re: My DRSSTC does not want to resonate at correct frequency
[Dual Resonant Solid State Tesla coils]
AstRii
September 22, 2019, 12:36:23 AM
post Re: My DRSSTC does not want to resonate at correct frequency
[Dual Resonant Solid State Tesla coils]
Hydron
September 22, 2019, 12:03:43 AM
post My DRSSTC does not want to resonate at correct frequency
[Dual Resonant Solid State Tesla coils]
AstRii
September 21, 2019, 09:01:48 PM
post Re: The new toy
[Laboratories ]
DashApple
September 21, 2019, 05:54:03 PM
post Re: The new toy
[Laboratories ]
MRMILSTAR
September 21, 2019, 05:38:14 PM
post Re: The new toy
[Laboratories ]
DashApple
September 21, 2019, 04:55:44 PM
post Re: The new toy
[Laboratories ]
MRMILSTAR
September 21, 2019, 04:03:48 PM
post Re: The new toy
[Laboratories ]
T3sl4co1l
September 21, 2019, 03:57:22 PM
post Re: The new toy
[Laboratories ]
Hydron
September 21, 2019, 09:15:47 AM
post Re: The new toy
[Laboratories ]
Hydron
September 21, 2019, 09:11:18 AM
post Re: The new toy
[Laboratories ]
AlexanderHun
September 21, 2019, 09:08:50 AM
post Re: The new toy
[Laboratories ]
AlexanderHun
September 21, 2019, 08:59:41 AM
post Re: Blast from the past!
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Hydron
September 20, 2019, 11:32:35 PM
post Re: Help choosing a Hantek USB oscilloscope
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Hydron
September 20, 2019, 11:28:05 PM
post Re: The new toy
[Laboratories ]
Hydron
September 20, 2019, 11:20:21 PM
post Re: CM300 coil build questions
[Dual Resonant Solid State Tesla coils]
Hydron
September 20, 2019, 11:10:54 PM
post Re: The new toy
[Laboratories ]
AlexanderHun
September 20, 2019, 09:49:00 PM
post Re: The new toy
[Laboratories ]
DashApple
September 20, 2019, 08:17:36 PM
post Re: CM300 coil build questions
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
September 20, 2019, 08:06:32 PM
post Re: CM300 coil build questions
[Dual Resonant Solid State Tesla coils]
acobaugh
September 20, 2019, 05:43:13 PM
post Re: Help choosing a Hantek USB oscilloscope
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Twospoons
September 20, 2019, 01:32:30 PM
post Re: Adventures in induction heating
[Electronic circuits]
Coyote
September 20, 2019, 10:56:19 AM
post Re: Help choosing a Hantek USB oscilloscope
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
kamelryttarn
September 20, 2019, 10:02:28 AM
post Re: CM300 coil build questions
[Dual Resonant Solid State Tesla coils]
davekni
September 20, 2019, 07:05:19 AM
post Re: Help choosing a Hantek USB oscilloscope
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Hydron
September 19, 2019, 11:16:21 PM
post Re: The new toy
[Laboratories ]
AlexanderHun
September 19, 2019, 09:49:30 PM
post Re: CM300 coil build questions
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
September 19, 2019, 09:49:15 PM
post Re: The new toy
[Laboratories ]
Mads Barnkob
September 19, 2019, 09:13:29 PM
post Re: Help choosing a Hantek USB oscilloscope
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Mads Barnkob
September 19, 2019, 09:08:20 PM
post Re: CM300 coil build questions
[Dual Resonant Solid State Tesla coils]
acobaugh
September 19, 2019, 07:16:20 PM
post Help choosing a Hantek USB oscilloscope
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
kamelryttarn
September 19, 2019, 04:19:58 PM
post The new toy
[Laboratories ]
AlexanderHun
September 19, 2019, 09:01:46 AM
post Re: CM300 coil build questions
[Dual Resonant Solid State Tesla coils]
acobaugh
September 18, 2019, 07:27:46 PM
post Re: CM300 coil build questions
[Dual Resonant Solid State Tesla coils]
acobaugh
September 18, 2019, 06:56:20 PM
post Re: CM300 coil build questions
[Dual Resonant Solid State Tesla coils]
acobaugh
September 18, 2019, 05:08:06 PM
post Re: CM300 coil build questions
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
September 18, 2019, 01:35:58 PM
post Re: CM300 coil build questions
[Dual Resonant Solid State Tesla coils]
acobaugh
September 18, 2019, 05:54:23 AM
post Re: Blast from the past!
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
klugesmith
September 18, 2019, 05:05:55 AM
post Re: UD2.7 Gate Signals
[Dual Resonant Solid State Tesla coils]
coilinator
September 17, 2019, 08:24:59 PM
post Re: Blast from the past!
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
MRMILSTAR
September 17, 2019, 08:19:45 PM
post Re: Blast from the past!
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Mads Barnkob
September 17, 2019, 06:53:52 PM
post Blast from the past!
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
MRMILSTAR
September 17, 2019, 05:52:00 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