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

Offline profdc9

  • High Voltage Engineer
  • ****
  • Posts: 216
  • 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 Expert
  • *****
  • Posts: 1021
  • Karma: +16/-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: 216
  • 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: "LightningStorm" VTTC project
[Vacuum tube Tesla coils]
Avenger
Today at 03:18:07 PM
post Re: Onetesla TS driver board for OWN coil need some help
[Dual Resonant Solid State Tesla coils]
donnersm
Today at 03:18:03 PM
post Re: Onetesla TS driver board for OWN coil need some help
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
Today at 02:56:29 PM
post Re: SSTC interruptor not working
[Solid state Tesla coils]
Mads Barnkob
Today at 11:46:44 AM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Mads Barnkob
Today at 11:45:11 AM
post Re: "LightningStorm" VTTC project
[Vacuum tube Tesla coils]
Mads Barnkob
Today at 11:40:18 AM
post Re: My first DRSSTC on bricks
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
Today at 07:46:25 AM
post Re: Si-wafers, ideas?
[Electronic circuits]
Weston
Today at 07:07:57 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
hightemp1
Today at 05:45:55 AM
post Re: My first DRSSTC on bricks
[Dual Resonant Solid State Tesla coils]
Laci
June 24, 2019, 09:26:47 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
Bert911
June 24, 2019, 04:58:39 PM
post Re: Static electricity measurement
[Static electricity]
Doros
June 24, 2019, 01:56:17 PM
post Re: "LightningStorm" VTTC project
[Vacuum tube Tesla coils]
Avenger
June 24, 2019, 01:28:59 AM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Patrick
June 24, 2019, 12:47:16 AM
post SSTC interruptor not working
[Solid state Tesla coils]
juuzpo
June 23, 2019, 10:58:48 PM
post Re: Is one of these good?
[Dual Resonant Solid State Tesla coils]
Golddustpeak
June 23, 2019, 07:22:47 PM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Jeff B
June 23, 2019, 05:52:56 PM
post Re: Onetesla TS driver board for OWN coil need some help
[Dual Resonant Solid State Tesla coils]
dexter
June 23, 2019, 03:15:53 PM
post Onetesla TS driver board for OWN coil need some help
[Dual Resonant Solid State Tesla coils]
donnersm
June 23, 2019, 10:09:40 AM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Patrick
June 23, 2019, 10:07:04 AM
post Vacuum Epoxy Potting Attempt in Progress... (Pic Update 6/23/19)
[Transformer (ferrite core)]
Patrick
June 23, 2019, 08:50:14 AM
post Re: Si-wafers, ideas?
[Electronic circuits]
johnf
June 23, 2019, 01:28:20 AM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Twospoons
June 23, 2019, 01:17:50 AM
post Re: Si-wafers, ideas?
[Electronic circuits]
Twospoons
June 23, 2019, 01:04:13 AM
post Re: What happens when L and C are not matched?
[Electronic circuits]
Twospoons
June 23, 2019, 01:02:55 AM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Coupling
June 22, 2019, 11:10:02 PM
post Re: ZVS Mazzilli circ with active gate driver - what causes ringing?
[Electronic circuits]
flyrod
June 22, 2019, 08:45:17 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
flyrod
June 22, 2019, 08:36:34 PM
post Impressive 500,000 watt radio station from the 1930's
[Electronic circuits]
petespaco
June 22, 2019, 06:18:22 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
hightemp1
June 22, 2019, 05:47:22 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
T3sl4co1l
June 22, 2019, 05:21:58 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
hightemp1
June 22, 2019, 06:10:01 AM
post Re: Siemens Polyphos 30 xray machine
[X-ray]
Mads Barnkob
June 21, 2019, 09:08:16 AM
post Re: Choke-input DC-filter
[Electronic circuits]
johnf
June 20, 2019, 08:58:07 PM
post Re: CRT hacking ideas....
[Electronic circuits]
badpeter
June 20, 2019, 07:28:00 PM
post Re: Ideas needed!
[General chatting]
MRMILSTAR
June 20, 2019, 05:13:57 PM
post Re: Why did 4HV die??
[General chatting]
MRMILSTAR
June 20, 2019, 05:07:41 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
Bert911
June 20, 2019, 02:14:55 PM
post Re: Choke-input DC-filter
[Electronic circuits]
kamelryttarn
June 20, 2019, 12:53:58 PM
post Re: Choke-input DC-filter
[Electronic circuits]
johnf
June 20, 2019, 12:09:27 PM
post Choke-input DC-filter
[Electronic circuits]
kamelryttarn
June 20, 2019, 11:43:58 AM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
shrad
June 20, 2019, 08:57:42 AM
post Re: adventures in homemade flyback bobbins.
[Transformer (ferrite core)]
Patrick
June 20, 2019, 04:06:00 AM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
johnf
June 20, 2019, 03:50:56 AM
post Re: CRT hacking ideas....
[Electronic circuits]
petespaco
June 19, 2019, 11:29:28 PM
post Re: A dynamical arc model v2
[Dual Resonant Solid State Tesla coils]
Uspring
June 19, 2019, 01:40:16 PM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Mads Barnkob
June 19, 2019, 10:49:45 AM
post Re: A dynamical arc model v2
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
June 19, 2019, 10:43:32 AM
post Re: Light, laser and optics - Link collection
[Light, lasers and optics]
shrad
June 19, 2019, 10:03:54 AM
post Re: How go get single mode optic fiber to work
[Light, lasers and optics]
shrad
June 19, 2019, 10:02:21 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