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

Offline Phoenix

  • High Voltage Experimenter
  • **
  • Posts: 50
  • 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: 116
  • 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 Experimenter
  • **
  • Posts: 50
  • 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: 116
  • 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 Experimenter
  • **
  • Posts: 50
  • 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: 194
  • Karma: +7/-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 Experimenter
  • **
  • Posts: 50
  • 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 Experimenter
  • **
  • Posts: 50
  • 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: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
badpeter
Today at 03:45:43 AM
post Re: DRSSTC Driver Logic
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
March 24, 2019, 11:02:51 PM
post Re: DRSSTC Driver Logic
[Dual Resonant Solid State Tesla coils]
Laci
March 24, 2019, 10:43:55 PM
post Re: DRSSTC Driver Logic
[Dual Resonant Solid State Tesla coils]
Netzpfuscher
March 24, 2019, 09:54:54 PM
post Re: Chinese MOSFETS/IGBTS
[Solid state Tesla coils]
Mads Barnkob
March 24, 2019, 08:07:19 PM
post Re: Chinese MOSFETS/IGBTS
[Solid state Tesla coils]
profdc9
March 24, 2019, 04:37:50 PM
post Re: UD 2.7C Build
[Dual Resonant Solid State Tesla coils]
profdc9
March 24, 2019, 03:22:14 PM
post Re: DRSSTC Driver Logic
[Dual Resonant Solid State Tesla coils]
Laci
March 24, 2019, 02:59:48 PM
post Re: WTS [EU]: UD2.7 thru hole pcb
[Sell / Buy / Trade]
FilipŠebík
March 24, 2019, 08:39:46 AM
post Re: UD 2.7C Build
[Dual Resonant Solid State Tesla coils]
Thunderstruck
March 24, 2019, 08:35:33 AM
post Re: Chinese MOSFETS/IGBTS
[Solid state Tesla coils]
flyrod
March 24, 2019, 04:07:24 AM
post Re: Chinese MOSFETS/IGBTS
[Solid state Tesla coils]
Thunderstruck
March 23, 2019, 10:07:54 PM
post Re: WTS [EU]: UD2.7 thru hole pcb
[Sell / Buy / Trade]
Mads Barnkob
March 23, 2019, 04:07:55 PM
post WTS [EU]: UD2.7 thru hole pcb
[Sell / Buy / Trade]
Fumeaux
March 23, 2019, 02:12:48 PM
post Re: UD 2.7C Build
[Dual Resonant Solid State Tesla coils]
Thunderstruck
March 23, 2019, 08:03:58 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
petespaco
March 23, 2019, 01:50:47 AM
post Re: Chinese MOSFETS/IGBTS
[Solid state Tesla coils]
Hydron
March 23, 2019, 12:11:10 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
badpeter
March 22, 2019, 08:19:21 PM
post Re: Chinese MOSFETS/IGBTS
[Solid state Tesla coils]
profdc9
March 22, 2019, 06:39:37 PM
post Chinese MOSFETS/IGBTS
[Solid state Tesla coils]
Fumeaux
March 22, 2019, 05:51:55 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
petespaco
March 22, 2019, 03:46:16 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
kamelryttarn
March 22, 2019, 11:25:19 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
Mads Barnkob
March 22, 2019, 10:56:16 AM
post Re: looking for PCB creating software
[Printed Circuit Board]
Teravolt
March 22, 2019, 06:02:15 AM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
badpeter
March 21, 2019, 11:04:48 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
Hydron
March 21, 2019, 07:51:23 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
badpeter
March 21, 2019, 07:09:05 PM
post Re: looking for PCB creating software
[Printed Circuit Board]
kamelryttarn
March 21, 2019, 02:26:09 PM
post Re: GDT Experiments
[Solid state Tesla coils]
Uspring
March 21, 2019, 11:57:53 AM
post Re: GDT Experiments
[Solid state Tesla coils]
Teravolt
March 20, 2019, 11:15:50 PM
post Re: GDT Experiments
[Solid state Tesla coils]
Thunderstruck
March 20, 2019, 09:07:04 PM
post Re: Keep or throw away ?
[Beginners]
Teravolt
March 20, 2019, 05:18:07 PM
post Re: New small SSTC
[Solid state Tesla coils]
Bambinz
March 20, 2019, 03:52:15 PM
post Re: New small SSTC
[Solid state Tesla coils]
Mads Barnkob
March 20, 2019, 01:23:52 PM
post Re: GDT Experiments
[Solid state Tesla coils]
T3sl4co1l
March 20, 2019, 01:18:29 PM
post Re: GDT Experiments
[Solid state Tesla coils]
Mads Barnkob
March 20, 2019, 01:06:24 PM
post Re: cute-qcw Tesla Coil
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
March 20, 2019, 01:00:46 PM
post Re: Help for people buying the "12-48 Volt 1800/2500 Watt ZVS induction Heater"
[Electronic circuits]
Mads Barnkob
March 20, 2019, 12:41:22 PM
post Re: Keep or throw away ?
[Beginners]
Thunderstruck
March 19, 2019, 10:02:41 PM
post Re: Keep or throw away ?
[Beginners]
Hydron
March 19, 2019, 08:14:33 PM
post Re: Keep or throw away ?
[Beginners]
Teravolt
March 19, 2019, 05:12:03 PM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Experimentonomen
March 19, 2019, 01:32:32 PM
post Re: Welcome new members, come say hello and tell a little about yourself :)
[General chatting]
Mads Barnkob
March 19, 2019, 12:20:34 PM
post Re: Strange gdt waveforms
[Dual Resonant Solid State Tesla coils]
Mads Barnkob
March 19, 2019, 12:15:22 PM
post Re: Which varnish to use to coat the Secondary?
[Solid state Tesla coils]
Mads Barnkob
March 19, 2019, 10:46:50 AM
post Re: Keep or throw away ?
[Beginners]
Thunderstruck
March 19, 2019, 09:11:09 AM
post Re: Keep or throw away ?
[Beginners]
Mads Barnkob
March 19, 2019, 08:24:31 AM
post Re: Keep or throw away ?
[Beginners]
Teravolt
March 19, 2019, 01:51:51 AM
post Re: Keep or throw away ?
[Beginners]
Thunderstruck
March 18, 2019, 09:56:42 PM
post Re: cute-qcw Tesla Coil
[Dual Resonant Solid State Tesla coils]
Weston
March 18, 2019, 07:55:52 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