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

Offline profdc9

  • High Voltage Technician
  • ***
  • Posts: 180
  • Karma: +4/-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: 816
  • Karma: +6/-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: 180
  • Karma: +4/-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: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
Today at 01:15:30 PM
post Re: DRSSTC design guide - progress report
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
Today at 01:00:34 PM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
sjsimmo
Today at 11:45:08 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
December 11, 2018, 09:13:49 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
sjsimmo
December 11, 2018, 12:03:54 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
December 10, 2018, 12:25:15 PM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
sjsimmo
December 10, 2018, 11:13:38 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
December 10, 2018, 09:18:24 AM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
Mads Barnkob
December 10, 2018, 09:13:37 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
sjsimmo
December 10, 2018, 02:18:59 AM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
sjsimmo
December 09, 2018, 11:09:34 PM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
Fumeaux
December 09, 2018, 10:23:38 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
sjsimmo
December 09, 2018, 06:05:02 AM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
Jesjes
December 09, 2018, 04:50:56 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
Laci
December 08, 2018, 12:52:41 PM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
sjsimmo
December 08, 2018, 09:51:47 AM
post Huawei RRU3928 1800MHz radio base station teardown (part 1 of 2)
[Radio frequency]
Mads Barnkob
December 06, 2018, 07:49:06 PM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
Fumeaux
December 03, 2018, 10:35:13 AM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
sjsimmo
December 03, 2018, 08:40:43 AM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
Jesjes
December 03, 2018, 05:31:29 AM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
chjarup
December 02, 2018, 11:44:14 PM
post SSTC-Driver PCB 1.3
[Printed Circuit Board]
Fumeaux
December 02, 2018, 10:25:23 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
Mads Barnkob
December 02, 2018, 04:23:16 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
chjarup
December 02, 2018, 12:12:57 PM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
Mads Barnkob
December 02, 2018, 09:57:04 AM
post Re: First SSTC build, need help troubleshooting
[Solid state Tesla coils]
Fumeaux
December 01, 2018, 09:15:01 PM
post First SSTC build, need help troubleshooting
[Solid state Tesla coils]
Jesjes
December 01, 2018, 03:38:37 AM
post Re: How sensitive are Tesla coils to Arduino boards?
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Laci
November 29, 2018, 08:34:50 PM
post Re: How sensitive are Tesla coils to Arduino boards?
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Netzpfuscher
November 29, 2018, 09:18:47 AM
post Re: My X-Ray Machine
[X-ray]
neukyhm
November 28, 2018, 07:33:44 PM
post Re: My X-Ray Machine
[X-ray]
Mads Barnkob
November 28, 2018, 07:14:52 PM
post My X-Ray Machine
[X-ray]
neukyhm
November 28, 2018, 04:42:32 PM
post Re: How sensitive are Tesla coils to Arduino boards?
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Mads Barnkob
November 28, 2018, 09:55:58 AM
post How sensitive are Tesla coils to Arduino boards?
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Laci
November 27, 2018, 08:50:54 PM
post Re: My First SSTC
[Solid state Tesla coils]
sjsimmo
November 27, 2018, 09:56:16 AM
post Re: My First SSTC
[Solid state Tesla coils]
Mads Barnkob
November 27, 2018, 08:53:35 AM
post Re: My First SSTC
[Solid state Tesla coils]
sjsimmo
November 26, 2018, 02:28:22 AM
post Re: My First SSTC
[Solid state Tesla coils]
pentode
November 23, 2018, 11:18:58 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
November 23, 2018, 06:39:47 AM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
sjsimmo
November 23, 2018, 03:48:47 AM
post Re: Nokia Siemens Flexi BTS base station teardown: Power amplifier (part 1 and 2)
[Radio frequency]
Mads Barnkob
November 22, 2018, 10:03:48 PM
post Re: Usable vacuum tube?
[Vacuum tube Tesla coils]
Mads Barnkob
November 22, 2018, 11:36:49 AM
post Re: Usable vacuum tube?
[Vacuum tube Tesla coils]
sjsimmo
November 22, 2018, 01:17:32 AM
post My First SSTC
[Solid state Tesla coils]
sjsimmo
November 21, 2018, 11:43:46 PM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
sjsimmo
November 20, 2018, 11:12:10 PM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
sjsimmo
November 20, 2018, 09:56:15 PM
post Re: (DR)SSTC II
[Dual Resonant Solid State Tesla coils]
Laci
November 20, 2018, 09:31:12 PM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Mads Barnkob
November 20, 2018, 08:34:59 PM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
November 20, 2018, 08:32:47 PM
post Re: My First DRSSTC
[Dual Resonant Solid State Tesla coils]
Laci
November 20, 2018, 07:14:56 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