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

Offline Phoenix

  • High Voltage Enthusiast
  • *
  • Posts: 33
    • 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: 109
    • 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: 33
    • 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: 109
    • 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: 33
    • 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: 158
    • 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: 33
    • 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: 33
    • 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: QCW Parts
[Sell / Buy / Trade]
alan sailer
July 19, 2018, 01:21:28 AM
post BNC connector repair on (epoxy potted) Pearson Wideband Current Monitor
[Electronic circuits]
Hydron
July 18, 2018, 03:55:09 PM
post Re: How exactly Antenna or Feedback Core works?
[Solid state Tesla coils]
Uspring
July 18, 2018, 03:20:07 PM
post Re: QCW Parts
[Sell / Buy / Trade]
TDAF
July 18, 2018, 09:58:27 AM
post Re: Big filter caps obtainability
[Dual Resonant Solid State Tesla coils]
DaiKen
July 18, 2018, 08:22:21 AM
post Re: QCW Parts
[Sell / Buy / Trade]
alan sailer
July 18, 2018, 04:02:37 AM
post Re: QCW Parts
[Sell / Buy / Trade]
oneKone
July 18, 2018, 12:56:29 AM
post Re: How exactly Antenna or Feedback Core works?
[Solid state Tesla coils]
oneKone
July 18, 2018, 12:54:30 AM
post Large Ferrite Core with IGBT-Brick Driver
[Transformer (ferrite core)]
Phoenix
July 17, 2018, 07:19:13 PM
post QCW Parts
[Sell / Buy / Trade]
alan sailer
July 17, 2018, 07:00:59 PM
post Re: How exactly Antenna or Feedback Core works?
[Solid state Tesla coils]
alan sailer
July 17, 2018, 05:51:35 PM
post Re: Next Gen DRSSTC
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
July 17, 2018, 07:36:39 AM
post Re: Big filter caps obtainability
[Dual Resonant Solid State Tesla coils]
oneKone
July 17, 2018, 04:18:06 AM
post Re: Micro drsstc
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
July 16, 2018, 08:19:13 PM
post Re: How exactly Antenna or Feedback Core works?
[Solid state Tesla coils]
Mads Barnkob
July 16, 2018, 08:12:20 PM
post Re: Big filter caps obtainability
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
July 16, 2018, 07:47:25 PM
post Re: How exactly Antenna or Feedback Core works?
[Solid state Tesla coils]
moisesdias
July 16, 2018, 12:37:20 PM
post Re: DIY MMA welder (aka stick welder)
[Transformer (iron core)]
rikkitikkitavi
July 16, 2018, 10:17:34 AM
post Re: How exactly Antenna or Feedback Core works?
[Solid state Tesla coils]
oneKone
July 16, 2018, 06:47:27 AM
post How exactly Antenna or Feedback Core works?
[Solid state Tesla coils]
moisesdias
July 16, 2018, 04:16:00 AM
post Re: Big filter caps obtainability
[Dual Resonant Solid State Tesla coils]
DaiKen
July 14, 2018, 01:30:26 PM
post Re: DIY MMA welder (aka stick welder)
[Transformer (iron core)]
oneKone
July 14, 2018, 05:54:41 AM
post Re: Micro drsstc
[Dual Resonant Solid State Tesla coils]
oneKone
July 14, 2018, 04:18:17 AM
post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
oneKone
July 14, 2018, 04:00:09 AM
post Re: DRSSTC impedance
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
July 13, 2018, 09:00:52 PM
post Re: DRSSTC impedance
[Dual Resonant Solid State Tesla coils]
Marty
July 13, 2018, 12:45:17 PM
post Re: DRSSTC impedance
[Dual Resonant Solid State Tesla coils]
Hydron
July 13, 2018, 09:08:00 AM
post Re: DRSSTC impedance
[Dual Resonant Solid State Tesla coils]
Teravolt
July 13, 2018, 03:22:21 AM
post DRSSTC impedance
[Dual Resonant Solid State Tesla coils]
Marty
July 12, 2018, 08:14:38 PM
post Re: Huawei RRU3908 base station teardown and circuit analysis (part 1 & 2)
[Radio frequency]
Mads Barnkob
July 12, 2018, 07:55:47 PM
post Re: Drsstc 3
[Dual Resonant Solid State Tesla coils]
Usernametaken
July 12, 2018, 10:14:41 AM
post DIY MMA welder (aka stick welder)
[Transformer (iron core)]
rikkitikkitavi
July 11, 2018, 04:08:30 PM
post Absorption plate set for gamma radiation
[Detection, counting and measurements]
Physikfan
July 10, 2018, 12:50:46 PM
post Re: Huawei RRU3908 base station teardown and circuit analysis (part 1 & 2)
[Radio frequency]
Mads Barnkob
July 09, 2018, 09:46:10 PM
post Re: Problem with LOPT
[Transformer (ferrite core)]
Andy Kay
July 09, 2018, 08:54:25 AM
post Re: Problem with LOPT
[Transformer (ferrite core)]
profdc9
July 09, 2018, 05:08:15 AM
post Re: looking for PCB creating software
[Printed Circuit Board]
Teravolt
July 08, 2018, 06:57:35 PM
post Re: Problem with LOPT
[Transformer (ferrite core)]
Andy Kay
July 08, 2018, 05:39:19 PM
post Re: More Tesla Coil Music
[Dual Resonant Solid State Tesla coils]
profdc9
July 08, 2018, 03:58:55 PM
post Re: Problem with LOPT
[Transformer (ferrite core)]
profdc9
July 08, 2018, 03:48:15 PM
post Re: Problem with LOPT
[Transformer (ferrite core)]
Andy Kay
July 08, 2018, 12:03:23 PM
post Re: More Tesla Coil Music
[Dual Resonant Solid State Tesla coils]
Hydron
July 08, 2018, 11:55:56 AM
post Re: More Tesla Coil Music
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
July 08, 2018, 11:09:42 AM
post Re: Problem with LOPT
[Transformer (ferrite core)]
profdc9
July 08, 2018, 03:26:32 AM
post More Tesla Coil Music
[Dual Resonant Solid State Tesla coils]
profdc9
July 08, 2018, 03:15:36 AM
post Problem with LOPT
[Transformer (ferrite core)]
Andy Kay
July 07, 2018, 08:37:42 PM
post Re: looking for PCB creating software
[Printed Circuit Board]
flyrod
July 07, 2018, 06:00:01 AM
post Wheatstone bridge and ADC reference voltage
[Electronic circuits]
kamelryttarn
July 06, 2018, 09:56:20 AM
post Re: looking for PCB creating software
[Printed Circuit Board]
Teravolt
July 06, 2018, 06:13:33 AM
post Coils in close proximity
[Vacuum tube Tesla coils]
pentode
July 05, 2018, 05:18:10 PM