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

Offline profdc9

  • High Voltage Engineer
  • ****
  • Posts: 213
  • Karma: +10/-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: 990
  • Karma: +15/-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: 213
  • Karma: +10/-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]
hightemp1
Today at 05:51:09 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
petespaco
Today at 04:07:17 AM
post Strange GDT signals (need to help)
[Dual Resonant Solid State Tesla coils]
VNTC
Today at 02:19:24 AM
post Re: Easy access to optimal resonance frequency but the benefit is quite small
[Dual Resonant Solid State Tesla coils]
VNTC
Today at 02:00:48 AM
post Re: Strange gdt waveforms
[Dual Resonant Solid State Tesla coils]
VNTC
Today at 01:33:56 AM
post Re: DRSSTC design questions + project progress
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
May 22, 2019, 08:31:55 PM
post Re: Easy access to optimal resonance frequency but the benefit is quite small
[Dual Resonant Solid State Tesla coils]
dexter
May 22, 2019, 08:31:51 PM
post Easy access to optimal resonance frequency but the benefit is quite small
[Dual Resonant Solid State Tesla coils]
VNTC
May 21, 2019, 11:35:57 PM
post Re: Offgrid 48V solar to 24V battery setup
[Electronic circuits]
Mads Barnkob
May 21, 2019, 09:59:54 PM
post Re: General Oscilloscope Probing Techniques for (DR)SSTC h-bridge
[Beginners]
Mads Barnkob
May 21, 2019, 09:51:27 PM
post Re: ZVS Mazzilli circ with active gate driver - what causes ringing?
[Electronic circuits]
T3sl4co1l
May 21, 2019, 09:49:03 PM
post Re: ZVS Mazzilli circ with active gate driver - what causes ringing?
[Electronic circuits]
82026
May 21, 2019, 09:02:10 PM
post Re: DRSSTC design questions + project progress
[Dual Resonant Solid State Tesla coils]
Vaclav
May 21, 2019, 08:59:57 PM
post Re: DRSSTC design questions + project progress
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
May 21, 2019, 08:28:43 PM
post Re: Identification of unknown embedded computer, help needed.
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Mads Barnkob
May 21, 2019, 08:22:28 PM
post Re: DRSSTC design questions + project progress
[Dual Resonant Solid State Tesla coils]
Vaclav
May 21, 2019, 06:21:37 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
petespaco
May 21, 2019, 06:12:55 PM
post Re: DRSSTC design questions + project progress
[Dual Resonant Solid State Tesla coils]
profdc9
May 21, 2019, 04:06:38 PM
post Re: DRSSTC design questions + project progress
[Dual Resonant Solid State Tesla coils]
Vaclav
May 21, 2019, 03:56:56 PM
post Re: DRSSTC design questions + project progress
[Dual Resonant Solid State Tesla coils]
Vaclav
May 21, 2019, 03:46:56 PM
post Re: DRSSTC design questions + project progress
[Dual Resonant Solid State Tesla coils]
profdc9
May 21, 2019, 02:32:59 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
petespaco
May 21, 2019, 06:12:18 AM
post Re: Offgrid 48V solar to 24V battery setup
[Electronic circuits]
profdc9
May 20, 2019, 11:30:34 PM
post DRSSTC design questions + project progress
[Dual Resonant Solid State Tesla coils]
Vaclav
May 20, 2019, 06:38:54 PM
post Re: General Oscilloscope Probing Techniques for (DR)SSTC h-bridge
[Beginners]
Teravolt
May 20, 2019, 06:33:49 PM
post Re: ZVS Mazzilli circ with active gate driver - what causes ringing?
[Electronic circuits]
82026
May 20, 2019, 02:27:59 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
hightemp1
May 20, 2019, 02:57:46 AM
post Re: ZVS Mazzilli circ with active gate driver - what causes ringing?
[Electronic circuits]
T3sl4co1l
May 20, 2019, 01:06:27 AM
post Re: ZVS Mazzilli circ with active gate driver - what causes ringing?
[Electronic circuits]
82026
May 19, 2019, 09:14:59 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
petespaco
May 19, 2019, 06:40:41 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
flyrod
May 19, 2019, 04:04:12 PM
post Re: Offgrid 48V solar to 24V battery setup
[Electronic circuits]
Mads Barnkob
May 19, 2019, 11:24:46 AM
post Re: ZVS Mazzilli circ with active gate driver - what causes ringing?
[Electronic circuits]
flyrod
May 19, 2019, 03:22:54 AM
post Re: Are bleeder resistors necessary if I can easily discharge my capacitor?
[Spark gap Tesla coils]
profdc9
May 19, 2019, 03:18:52 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
petespaco
May 18, 2019, 10:48:59 PM
post Re: Is one of these good?
[Dual Resonant Solid State Tesla coils]
Golddustpeak
May 18, 2019, 04:19:11 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
petespaco
May 17, 2019, 10:57:17 PM
post Are bleeder resistors necessary if I can easily discharge my capacitor?
[Spark gap Tesla coils]
jpb133
May 17, 2019, 09:41:56 PM
post Re: Is one of these good?
[Dual Resonant Solid State Tesla coils]
Uspring
May 17, 2019, 12:41:17 PM
post ZVS Mazzilli circ with active gate driver - what causes ringing?
[Electronic circuits]
82026
May 16, 2019, 04:15:58 PM
post Re: Identification of unknown embedded computer, help needed.
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Fumeaux
May 16, 2019, 02:19:39 PM
post Re: Is one of these good?
[Dual Resonant Solid State Tesla coils]
Golddustpeak
May 16, 2019, 01:50:44 PM
post Re: Is one of these good?
[Dual Resonant Solid State Tesla coils]
Uspring
May 16, 2019, 12:17:01 PM
post Re: Identification of unknown embedded computer, help needed.
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Fumeaux
May 16, 2019, 08:45:15 AM
post Re: Identification of unknown embedded computer, help needed.
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Mads Barnkob
May 15, 2019, 11:49:59 PM
post Re: Identification of unknown embedded computer, help needed.
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Hydron
May 15, 2019, 10:51:33 PM
post Identification of unknown embedded computer, help needed.
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Mads Barnkob
May 15, 2019, 09:35:41 PM
post Re: Is one of these good?
[Dual Resonant Solid State Tesla coils]
Golddustpeak
May 15, 2019, 05:07:20 PM
post Re: Mounting LCD CFL's around DRSSTC?
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
May 15, 2019, 12:46:33 PM
post Re: General Oscilloscope Probing Techniques for (DR)SSTC h-bridge
[Beginners]
Mads Barnkob
May 15, 2019, 10:08:11 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