# Questions about Arduino spot welder controller

**URL:** <https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795>\
**Category:** General Guidance\
**Created:** [February 2, 2015, 10:32am UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795 "2015-02-02T10:32:15Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![avandalen](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/avandalen/32/213592_2.png) [@avandalen](https://forum.arduino.cc/u/avandalen)\
**Post date:** [February 2, 2015, 10:32am UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/1 "2015-02-02T10:32:15Z")

</div>

**Read the article of the DIY battery tab resistance fine-spot welder here:**  
**[http://www.avdweb.nl/tech-tips/spot-welder.html](http://www.avdweb.nl/tech-tips/spot-welder.html)**

Because the electronics and software is too complicated for many people I have made a printed circuit board.

> **[Spot welder controller](https://www.avdweb.nl/popular/spotwelder/spot-welder-controller-with-tft-display)**
>
> Here, I share technical solutions that arised during the development of my solar-bike.

**Questions about the spot welder controller can be asked in this topic.**

---

<div class="post-metadata">

**Author:** ![KenF](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/kenf/32/218491_2.png) [@KenF](https://forum.arduino.cc/u/KenF)\
**Post date:** [February 2, 2015, 10:43am UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/2 "2015-02-02T10:43:12Z")

</div>

Interesting. Just been looking over the software [Here](http://www.avdweb.nl/arduino/hardware-interfacing/spot-welder-controller.html)

Just wondering what this bit is supposed to be doing.

```plaintext
#include 
#include  // library
#include  // library
#include  // library

```

---

<div class="post-metadata">

**Author:** ![330R](https://avatars.discourse-cdn.com/v4/letter/3/d78d45/32.png) [@330R](https://forum.arduino.cc/u/330R)\
**Post date:** [February 2, 2015, 11:18am UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/3 "2015-02-02T11:18:57Z")

</div>

I don't quite understand why you are shorting the two big wires from the transformer. Isn't one end supposed to go to the ground clamp?

---

<div class="post-metadata">

**Author:** ![avandalen](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/avandalen/32/213592_2.png) [@avandalen](https://forum.arduino.cc/u/avandalen)\
**Post date:** [February 5, 2015, 10:29pm UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/4 "2015-02-05T22:29:42Z")

</div>

> KenF:  
> Interesting. Just been looking over the software [Here](http://www.avdweb.nl/arduino/hardware-interfacing/spot-welder-controller.html)
> 
> Just wondering what this bit is supposed to be doing.
> 
> ```arduino
> #include 
> 
> ```

#include&nbsp; // library  
#include&nbsp; // library  
#include&nbsp; // library

> ```arduino
> 
> ```

Yes that is weird, long story, but fixed now.

---

<div class="post-metadata">

**Author:** ![avandalen](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/avandalen/32/213592_2.png) [@avandalen](https://forum.arduino.cc/u/avandalen)\
**Post date:** [February 5, 2015, 10:30pm UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/5 "2015-02-05T22:30:32Z")

</div>

> 330R:  
> I don't quite understand why you are shorting the two big wires from the transformer. Isn't one end supposed to go to the ground clamp?

It is not shorted.

---

<div class="post-metadata">

**Author:** ![Henry\_Best](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/henry_best/32/1013044_2.png) [@Henry\_Best](https://forum.arduino.cc/u/Henry_Best)\
**Post date:** [February 6, 2015, 4:13am UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/6 "2015-02-06T04:13:46Z")

</div>

That's an unusual arrangement.  
Usually the two arms are diametrically opposed, either vertically or horizontally, so that they can compress the work parts together before sending the current through them. I can't see how your welder would work without pinching the two work parts together.  
See [Web Hosting, Reseller Hosting & Domain Names from Heart Internet](http://www.tool-net.co.uk/p-363291/clarke-csw6t.html?gclid=CNauroS6zMMCFU7KtAodBjgAHQ) for an example.

---

<div class="post-metadata">

**Author:** ![baxev2005](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@baxev2005](https://forum.arduino.cc/u/baxev2005)\
**Post date:** [February 9, 2015, 9:28am UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/7 "2015-02-09T09:28:06Z")

</div>

> Henry\_Best:  
> That's an unusual arrangement.  
> Usually the two arms are diametrically opposed, either vertically or horizontally, so that they can compress the work parts together before sending the current through them. I can't see how your welder would work without pinching the two work parts together.  
> See [Web Hosting, Reseller Hosting & Domain Names from Heart Internet](http://www.tool-net.co.uk/p-363291/clarke-csw6t.html?gclid=CNauroS6zMMCFU7KtAodBjgAHQ) for an example.

This electrode arrangment is used for battery tabs welding or other welding tasks, where the access is limited to one side only. Search for battery tab welding and you 'll see why is this done like this.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [March 7, 2015, 2:45pm UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/8 "2015-03-07T14:45:15Z")

</div>

Hello Albert!  
My name is David and I was curious where i can find the \<Switch.h\> library and the \<Albert.h\> library.  
I found the \<Streaming.h\> library and I am assuming that the \<Arduino.h\> library is already installed with my Arduino software program I recently installed on my laptop. Thank you in advance for your help!!  
P.S. I think your spot welder is awsome!!!! Kudos & Accolades!!!

---

<div class="post-metadata">

**Author:** ![dave-in-nj](https://avatars.discourse-cdn.com/v4/letter/d/13edae/32.png) [@dave-in-nj](https://forum.arduino.cc/u/dave-in-nj)\
**Post date:** [March 7, 2015, 3:55pm UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/9 "2015-03-07T15:55:58Z")

</div>

interesting. what is the typical amp load and what thickness of metals can this handle ?

I have wanted to weld battery tabs, but since it is so rare, just buy them pre-welded.

also wanted to make/weld thermocouples from raw thermocouple wire.

can't wait for the youtube on this.

---

<div class="post-metadata">

**Author:** ![avandalen](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/avandalen/32/213592_2.png) [@avandalen](https://forum.arduino.cc/u/avandalen)\
**Post date:** [March 8, 2015, 10:57am UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/10 "2015-03-08T10:57:08Z")

</div>

> KenF:  
> Interesting. Just been looking over the software [Here](http://www.avdweb.nl/arduino/hardware-interfacing/spot-welder-controller.html)
> 
> Just wondering what this bit is supposed to be doing.
> 
> ```arduino
> #include 
> 
> ```

#include&nbsp; // library  
#include&nbsp; // library  
#include&nbsp; // library

> ```arduino
> 
> ```

This has been changed now  
#include \<Arduino.h\>  
#include \<Streaming.h\> // library  
#include \<Switch.h\> // library  
#include \<Albert.h\> // library

---

<div class="post-metadata">

**Author:** ![avandalen](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/avandalen/32/213592_2.png) [@avandalen](https://forum.arduino.cc/u/avandalen)\
**Post date:** [March 8, 2015, 10:57am UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/11 "2015-03-08T10:57:26Z")

</div>

> KenF:  
> Interesting. Just been looking over the software [Here](http://www.avdweb.nl/arduino/hardware-interfacing/spot-welder-controller.html)
> 
> Just wondering what this bit is supposed to be doing.
> 
> ```arduino
> #include 
> 
> ```

#include &nbsp;// library  
#include &nbsp;// library  
#include &nbsp;// library

> ```arduino
> 
> ```

This has been changed now  
#include \<Arduino.h\>  
#include \<Streaming.h\> // library  
#include \<Switch.h\> // library  
#include \<Albert.h\> // library

---

<div class="post-metadata">

**Author:** ![avandalen](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/avandalen/32/213592_2.png) [@avandalen](https://forum.arduino.cc/u/avandalen)\
**Post date:** [March 8, 2015, 10:59am UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/12 "2015-03-08T10:59:16Z")

</div>

> Henry\_Best:  
> That's an unusual arrangement.  
> Usually the two arms are diametrically opposed, either vertically or horizontally, so that they can compress the work parts together before sending the current through them. I can't see how your welder would work without pinching the two work parts together.  
> See [Web Hosting, Reseller Hosting & Domain Names from Heart Internet](http://www.tool-net.co.uk/p-363291/clarke-csw6t.html?gclid=CNauroS6zMMCFU7KtAodBjgAHQ) for an example.

You can see here the Spot welder opposed configuration  
  
The series configuration spot welding is not very common, but always used for welding batteries.

---

<div class="post-metadata">

**Author:** ![avandalen](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/avandalen/32/213592_2.png) [@avandalen](https://forum.arduino.cc/u/avandalen)\
**Post date:** [March 8, 2015, 11:03am UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/13 "2015-03-08T11:03:15Z")

</div>

> dwforbes:  
> Hello Albert!  
> My name is David and I was curious where i can find the \<Switch.h\> library and the \<Albert.h\> library.  
> I found the \<Streaming.h\> library and I am assuming that the \<Arduino.h\> library is already installed with my Arduino software program I recently installed on my laptop. Thank you in advance for your help!!  
> P.S. I think your spot welder is awsome!!!! Kudos & Accolades!!!

Look here:

> **[Arduino tips](https://avdweb.nl/arduino/misc/troubleshooting)**
>
> Here, I share technical solutions that arised during the development of my solar-bike.

---

<div class="post-metadata">

**Author:** ![avandalen](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/avandalen/32/213592_2.png) [@avandalen](https://forum.arduino.cc/u/avandalen)\
**Post date:** [March 8, 2015, 11:09am UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/14 "2015-03-08T11:09:33Z")

</div>

> dave-in-nj:  
> interesting. what is the typical amp load and what thickness of metals can this handle ?
> 
> I have wanted to weld battery tabs, but since it is so rare, just buy them pre-welded.
> 
> also wanted to make/weld thermocouples from raw thermocouple wire.
> 
> can't wait for the youtube on this.

See here:

> **[DIY spot welder](https://avdweb.nl/popular/spotwelder/diy-spot-welder)**
>
> Here, I share technical solutions that arised during the development of my solar-bike.

---

<div class="post-metadata">

**Author:** ![Kingmaury](https://avatars.discourse-cdn.com/v4/letter/k/ecae2f/32.png) [@Kingmaury](https://forum.arduino.cc/u/Kingmaury)\
**Post date:** [September 17, 2015, 1:32pm UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/15 "2015-09-17T13:32:59Z")

</div>

I mounted the electronics for the spot welder, I turned, but I always 220 V on output to the transformer. I checked and installed all components correctly.It has already happened a problem like this?  
Thanks.

---

<div class="post-metadata">

**Author:** ![avandalen](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/avandalen/32/213592_2.png) [@avandalen](https://forum.arduino.cc/u/avandalen)\
**Post date:** [January 10, 2016, 9:37am UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/16 "2016-01-10T09:37:10Z")

</div>

> Kingmaury:  
> I mounted the electronics for the spot welder, I turned, but I always 220 V on output to the transformer. I checked and installed all components correctly.It has already happened a problem like this?  
> Thanks.

If you want to measure the output voltage, use a load.

---

<div class="post-metadata">

**Author:** ![avandalen](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/avandalen/32/213592_2.png) [@avandalen](https://forum.arduino.cc/u/avandalen)\
**Post date:** [January 12, 2016, 1:42pm UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/17 "2016-01-12T13:42:50Z")

</div>

> Kingmaury:  
> I mounted the electronics for the spot welder, I turned, but I always 220 V on output to the transformer. I checked and installed all components correctly.It has already happened a problem like this?  
> Thanks.

You must load the output with a MOT, lamp, resistor etc.

---

<div class="post-metadata">

**Author:** ![candido](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/candido/32/1126429_2.png) [@candido](https://forum.arduino.cc/u/candido)\
**Post date:** [January 12, 2016, 2:28pm UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/18 "2016-01-12T14:28:54Z")

</div>

Considering that each one of the two SCRs switch on for either the positive or negative mains half-waves which are 10ms long (assuming 50 Hz for the power mains) is there any reason why the minimum welding time cannot be set to 10 ms instead of 50 ms?

Maybe with a shorter welding time there will be no need for switching to the lower 400A current mode.

---

<div class="post-metadata">

**Author:** ![avandalen](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/avandalen/32/213592_2.png) [@avandalen](https://forum.arduino.cc/u/avandalen)\
**Post date:** [January 12, 2016, 6:44pm UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/19 "2016-01-12T18:44:29Z")

</div>

> candido:  
> Considering that each one of the two SCRs switch on for either the positive or negative mains half-waves which are 10ms long (assuming 50 Hz for the power mains) is there any reason why the minimum welding time cannot be set to 10 ms instead of 50 ms?
> 
> Maybe with a shorter welding time there will be no need for switching to the lower 400A current mode.

The first weld controller that I have built had no synchronisation and therefore the weld time was not very accurate (+/-20ms) and the minimum weld time was set to 50ms because of reproducibility. For me this was fine. But with the synchronisation, the weld time is more accurate and a shorter weld time is possible, but I have not tested this. The weld times can be changed in the software easily.

> > > Maybe with a shorter welding time there will be no need for switching to the lower 400A current mode.  
> > > I think that very short weld times are tricky, in some circumstances it may work, it should further be examined.

---

<div class="post-metadata">

**Author:** ![candido](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/candido/32/1126429_2.png) [@candido](https://forum.arduino.cc/u/candido)\
**Post date:** [January 12, 2016, 7:20pm UTC](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795/20 "2016-01-12T19:20:41Z")

</div>

> avandalen:  
> The first weld controller that I have built had no synchronisation and therefore the weld time was not very accurate (+/-20ms) and the minimum weld time was set to 50ms because of reproducibility. For me this was fine. But with the synchronisation, the weld time is more accurate and a shorter weld time is possible, but I have not tested this. The weld times can be changed in the software easily.
> 
> > > > Maybe with a shorter welding time there will be no need for switching to the lower 400A current mode.  
> > > > I think that very short weld times are tricky, in some circumstances it may work, it should further be examined.

OK, that makes sense, thanks.

Some capacitor discharge spot welders can use dual pulses where the first is a short pulse in the order of 10 ms and the second (after, say, a 10 ms pause) is a bit longer. It was in this context that I had asked the initial question.

As you say, this will require some investigation and testing. In theory the current from the capacitor discharge will be a decreasing exponential while the one from the transformer should be sinusoidal. These different waveforms will probably produce different welds.

[Next page](https://forum.arduino.cc/t/questions-about-arduino-spot-welder-controller/286795.md?page=2)
