Author Topic: OneTesla SD Interrupter extending On-Time?  (Read 605 times)

Offline Phoenix

  • High Voltage Enthusiast
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
OneTesla SD Interrupter extending On-Time?
« on: April 14, 2018, 07:43:41 AM »
Hello everyone,

i have just bought and built the OneTesla Midi Interrupter for my homemade 160mm DRSSTC and it works very good but i have a question: The Interrupter only goes up to about 80uS of Ontime in the Midi mode. Currently, i am running my coil only on 350V DC. The issue now is that i will not reach the full primary current of 1000A with such a low Ontime and therefore my sparks are not as long as with my homemade Interrupter and 300uS On-Time.

Is there a way to change that on the SD Interrupter? Do i have to change the code for that and what do i need to change? I already have a large MMC (375nF) but the primary current does not ramp up fast enough in 80uS. Should I convert my coil in the future to run on 3 Phases rectified (565V)? But i do not own a 3 Phase Variac and i am a little bit umcomfortable if I can not ramp up the voltage slowly with a Variac.

Greetings,
Phoenix
« Last Edit: April 14, 2018, 07:45:51 AM by Phoenix »

Offline futurist

  • Global Moderator
  • High Voltage Technician
  • *****
  • Posts: 111
  • Karma: +0/-0
    • View Profile
Re: OneTesla SD Interrupter extending On-Time?
« Reply #1 on: April 15, 2018, 12:24:02 PM »
It's very simple, download their SD interrupter firmware http://onetesla.com/media/SDinterrupter.zip, edit LOOKUP_TABLE_SCALE constant in constants.h file and upload the code using arduino IDE

Code: [Select]
//on-times in microseconds, don't forget to multiply by LOOKUP_TABLE_SCALE!
#define ON_TIME_ARRAY_LENGTH 26
static byte on_times[] =
{33, 33, 33, 33, 27, 23, 20, 20, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 8, 8, 8, 8, 8, 8, 8};

LOOKUP_TABLE_SCALE will multiply on-times for different notes/bps, for example if LOOKUP_TABLE_SCALE is set to 3, max. on-time will be 99 us

Offline Phoenix

  • High Voltage Enthusiast
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: OneTesla SD Interrupter extending On-Time?
« Reply #2 on: April 15, 2018, 05:15:21 PM »
Thank you very much for your response it helps a lot  :)

I have never done anything with an Arduino so i have a question: The Interrupter has a connector called AVR-ISP. Can i hook up the Interrupter to the Arduino as shown in this image? https://www.arduino.cc/en/uploads/Tutorial/Arduino_ISP_wires.jpg

Greetings,
Phoenix
« Last Edit: April 15, 2018, 06:12:22 PM by Phoenix »

Offline futurist

  • Global Moderator
  • High Voltage Technician
  • *****
  • Posts: 111
  • Karma: +0/-0
    • View Profile
Re: OneTesla SD Interrupter extending On-Time?
« Reply #3 on: April 23, 2018, 06:37:53 PM »
Yes, that should do the job

Sorry for late answer

Offline Phoenix

  • High Voltage Enthusiast
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: OneTesla SD Interrupter extending On-Time?
« Reply #4 on: April 29, 2018, 04:09:29 PM »
Hello,

I am trying to upload a new code to the Atmega 328 of the OneTesla SD Interrupter using the Arduino as ISP. I already managed to burn the bootloader but i am not able to upload the code to the chip.
I set the Arduino to use as ISP, then i uploaded the example ISP to the arduino and then i opened the main file of the SD-Interrupter with the arduino software. I connected the arduino to the interrupters AVR-ISP connector like so: https://www.arduino.cc/en/uploads/Tutorial/Arduino_ISP_wires.jpg

I made absolutely sure that the pins are connected correctly to the arduino by tracing them back to the chip using a multimeter. The only thing i changed in the code was the LOOKUP_TABLE_SCALE. I set it to 10 to get a On-Time of up to 330┬ÁS for my large tesla coil. I also tried the older arduino verson 1.03, but it does not work neither.

If i press upload using programmer next, i am always getting this error message:
Code: [Select]
Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Moritz99\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path C:\Users\Moritz99\AppData\Local\Temp\arduino_build_800372 -warnings=none -build-cache C:\Users\Moritz99\AppData\Local\Temp\arduino_cache_168924 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Moritz99\Downloads\SDinterrupter (1)\SDinterrupter\src\main\main.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Moritz99\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path C:\Users\Moritz99\AppData\Local\Temp\arduino_build_800372 -warnings=none -build-cache C:\Users\Moritz99\AppData\Local\Temp\arduino_cache_168924 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Moritz99\Downloads\SDinterrupter (1)\SDinterrupter\src\main\main.ino
Using board 'uno' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\Moritz99\AppData\Local\Temp\arduino_build_800372\sketch\main.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\Moritz99\AppData\Local\Temp\arduino_build_800372\sketch\main.ino.cpp" -o "C:\Users\Moritz99\AppData\Local\Temp\arduino_build_800372\preproc\ctags_target_for_gcc_minus_e.cpp"
In file included from C:\Users\Moritz99\AppData\Local\Temp\arduino_build_800372\sketch\data.h:3:0,

                 from C:\Users\Moritz99\Downloads\SDinterrupter (1)\SDinterrupter\src\main\main.ino:8:

C:\Users\Moritz99\AppData\Local\Temp\arduino_build_800372\sketch\datatypes.h:4:19: fatal error: SdFat.h: No such file or directory

 #include <SdFat.h>

                   ^

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Uno.

I am slowly getting disappointed because i can`t use my interrupter anymore, because i already burned the bootloader. The code on the chip is gone and i am not able to upload a new one. Can someone please help me?

Offline profdc9

  • High Voltage Technician
  • ***
  • Posts: 169
  • Karma: +2/-0
    • View Profile
Re: OneTesla SD Interrupter extending On-Time?
« Reply #5 on: April 29, 2018, 04:23:47 PM »
I think you are missing the Arduino SdFAT library.

https://www.arduinolibraries.info/libraries/sd-fat

This may already be included with the Arduino IDE but if not you can get it from above.

You may have to compile this project first and then set up the Arduino IDE to point the include directories to the Sdfat.h and other include files, and the libraries directory to the library, probably something like libsdfat.a or sdfat.lib or something like that.  You may be able to get away with copying the include files and libraries into the same directory as your project.  I have not used the Arduino IDE much so I can't tell you exactly what to do.

It looks like these links are others with the same issue with instructions on how to install:

https://forum.arduino.cc/index.php?topic=384749.0
https://forum.arduino.cc/index.php?topic=421843.0
https://forum.arduino.cc/index.php?topic=432739.0

Dan
« Last Edit: April 29, 2018, 04:25:53 PM by profdc9 »

Offline Phoenix

  • High Voltage Enthusiast
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: OneTesla SD Interrupter extending On-Time?
« Reply #6 on: April 29, 2018, 05:05:28 PM »
Thank you very much, profdc9   :D

You were absolutely right. I simply included it in my libraries folder and now it works like a charm  :).

Greetings,
Phoenix

Offline Phoenix

  • High Voltage Enthusiast
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: OneTesla SD Interrupter extending On-Time?
« Reply #7 on: May 09, 2018, 05:34:03 PM »
Hello,
after modifying the code of the interrupter in order to achieve longer On-Times, my large DRSSTC finally works perfectly with it.

Here i have some test videos:

Imperial March:

Pink Panther Theme:

Different Songs:

The longest spark i have captured so far is 330cm (11 feet) long.

Greetings,
Phoenix

High Voltage Forum

Re: OneTesla SD Interrupter extending On-Time?
« Reply #7 on: May 09, 2018, 05:34:03 PM »

 


* Recent Topics and Posts

post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
oneKone
Today at 02:28:27 AM
post Re: IGBT selection - TO-247 or minibrick?
[Dual Resonant Solid State Tesla coils]
Garyf
September 18, 2018, 05:51:35 PM
post Re: Theremin based on the stm32f103c8t6 and bluepill, stm32duino
[Electronic circuits]
profdc9
September 18, 2018, 05:00:57 AM
post Re: Theremin based on the stm32f103c8t6 and bluepill, stm32duino
[Electronic circuits]
futurist
September 17, 2018, 08:57:40 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
Mads Barnkob
September 17, 2018, 11:20:53 AM
post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
September 17, 2018, 11:17:23 AM
post Re: mmc capacitor banks
[Spark gap Tesla coils]
Mads Barnkob
September 17, 2018, 08:52:32 AM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
aq62386238
September 16, 2018, 03:31:06 PM
post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
profdc9
September 16, 2018, 04:34:36 AM
post Theremin based on the stm32f103c8t6 and bluepill, stm32duino
[Electronic circuits]
profdc9
September 15, 2018, 10:55:33 PM
post Re: Garden flag pole hit by lightning
[General chatting]
profdc9
September 14, 2018, 05:13:33 PM
post Re: mmc capacitor banks
[Spark gap Tesla coils]
profdc9
September 14, 2018, 04:50:48 PM
post Re: Garden flag pole hit by lightning
[General chatting]
OakleyC
September 14, 2018, 12:45:05 AM
post Re: Garden flag pole hit by lightning
[General chatting]
Phoenix
September 13, 2018, 09:59:00 PM
post Re: Garden flag pole hit by lightning
[General chatting]
oneKone
September 13, 2018, 03:34:39 PM
post Garden flag pole hit by lightning
[General chatting]
Mads Barnkob
September 13, 2018, 02:35:00 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
September 13, 2018, 08:59:50 AM
post Re: mmc capacitor banks
[Spark gap Tesla coils]
OakleyC
September 13, 2018, 02:09:09 AM
post Re: mmc capacitor banks
[Spark gap Tesla coils]
Hydron
September 12, 2018, 04:16:38 PM
post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
oneKone
September 12, 2018, 12:21:48 PM
post mmc capacitor banks
[Spark gap Tesla coils]
OakleyC
September 12, 2018, 11:18:07 AM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
September 12, 2018, 08:56:06 AM
post Re: IGBT selection - TO-247 or minibrick?
[Dual Resonant Solid State Tesla coils]
Hydron
September 12, 2018, 08:11:12 AM
post Re: IGBT selection - TO-247 or minibrick?
[Dual Resonant Solid State Tesla coils]
Spuriosity_
September 12, 2018, 04:58:28 AM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Hydron
September 10, 2018, 04:31:16 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Uspring
September 10, 2018, 01:37:22 PM
post Re: new member seeking advice.
[Solid state Tesla coils]
Mads Barnkob
September 10, 2018, 01:36:14 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
September 09, 2018, 07:59:44 PM
post Re: new member seeking advice.
[Solid state Tesla coils]
pentode
September 09, 2018, 09:09:22 AM
post Re: new member seeking advice.
[Solid state Tesla coils]
oneKone
September 09, 2018, 08:42:36 AM
post Re: 160mm PLL sstc
[Solid state Tesla coils]
oneKone
September 09, 2018, 08:22:06 AM
post new member seeking advice.
[Solid state Tesla coils]
shogun94
September 08, 2018, 12:57:25 AM
post Re: Non toroid top loads
[Spark gap Tesla coils]
Patric
September 05, 2018, 08:41:36 PM
post Chineese spark aways !
[Solid state Tesla coils]
pentode
September 05, 2018, 02:30:21 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
Mads Barnkob
September 05, 2018, 01:43:24 PM
post Re: Non toroid top loads
[Spark gap Tesla coils]
Mads Barnkob
September 05, 2018, 01:42:16 PM
post Re: 160mm PLL sstc
[Solid state Tesla coils]
Mads Barnkob
September 05, 2018, 01:35:07 PM
post Re: 160mm PLL sstc
[Solid state Tesla coils]
oneKone
September 05, 2018, 12:36:22 PM
post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
oneKone
September 05, 2018, 12:31:49 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
aq62386238
September 05, 2018, 11:59:20 AM
post Re: Non toroid top loads
[Spark gap Tesla coils]
Max
September 05, 2018, 11:52:36 AM
post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
September 05, 2018, 10:08:06 AM
post Re: 160mm PLL sstc
[Solid state Tesla coils]
Mads Barnkob
September 05, 2018, 08:36:25 AM
post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
oneKone
September 05, 2018, 05:44:25 AM
post Re: 160mm PLL sstc
[Solid state Tesla coils]
oneKone
September 05, 2018, 05:33:32 AM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
aq62386238
September 04, 2018, 04:47:33 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
Mads Barnkob
September 04, 2018, 01:51:22 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
aq62386238
September 04, 2018, 01:38:46 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
Mads Barnkob
September 04, 2018, 12:07:06 PM
post Re: Hacking the IKEA 2000 Watt induction stove (5 parts)
[Electronic circuits]
aq62386238
September 04, 2018, 10:51:43 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