Introduction: DIY Arduino Battery Spot Welder

Picture of DIY Arduino Battery Spot Welder

Due to many requests for the PCBs

I do currently have some PCB Sets and prebuilt kits in stock. Take a look here:

https://malectrics.eu

An Arduino Nano based Spot Welder for battery welding


This Spot Welder can be used to weld 18650 batteries. It uses a 12V car battery as welding current supply. Typically one 40Ah 440A battery delivers enough current to get good welds with 0.15mm nickel strips and even 0.25mm nickel strips. For thicker nickel strips maybe you will need bigger battery or two in paralell.

The Welder generates a double pulse, where the first one is 12% of the time of the second one by default. Pulse time of the main pulse is adjustable by the rotary encoder and displayed on the screen in mS so you can exactly adjust the time. Its adjustable from 1 … 999 mS.

Watch the Video to get detailed instructions on how to use it.

https://www.youtube.com/watch?v=CNmvx2JSCvA

Project Files: (BOM, pcb files, aluminum template, arduino code...)

https://github.com/KaeptnBalu/Arduino_Spot_Welder_V3


Update 09.2017

Completely new version 3 of the Spot Welder released. Improvements in V3:

  • Mosfet PCB now with 2oz copper layer and wider traces which connect the high current carrying mosfet legs to the u-shaped aluminum part (still compatible to V2 Arduino Board)
  • 7 segment display replaced by OLED display
  • potentiometer replaced by rotary encoder
  • Menu system to easy adjust the low battery alarm, AutoPulse delay and short pulse time
  • powered directly by car battery, no more need for extra power supply
  • TVS diode integrated on the mosfet pcb, no external diodes necessary
  • upgraded Mosfets to IRFB7430 (they can handle up to 1000A welding current with no problem)
  • Standby feature: after 5 minutes of inactivity the Spot Welder will go to standby and the foot switch and AutoPulse will be deactivated while in standby


Update 08.2017

With a little mod you can power the Spot Welder directly from the car battery instead of using a seperate power supply. See Step 9 in the instructable or my Blog for more Info.

Update 05.2017
New V2.2 available with some pcb improvements and the new "AutoPulse" feature. Read More

Update 03.2017

The Spot Welder has a new PCB layout ! Improvements in the V2:

  • only one mosfet driver instead of four
  • changed electrolytic capacitor to film capacitor
  • capacitors closer to the mosfet driver
  • wider pcb traces for high current paths
  • added gate resistors for the mosfets
  • aluminum u-shaped part for the mosfet board (much easier to assemble)
  • general pcb layout improvements
  • pcb is now designed in KiCad (more open source than Eagle)

Step 1: Making the PCB (V3)

Picture of Making the PCB (V3)

You can find the Eagle / KiCad files for the PCBs on my Github.

Files for Spot Welder V3

Files for Spot Welder V2

Files for the previous Version

Easyest way is to order the boards at an PCB manufacturer. For example at pcbway.com .There you get 10 boards for about 25 €. The V3 is a bit more expensive because the mosfet board needs to be made with 2oz copper layer. The necessary gerber files for ordering at pcbway.com can be found in my Github.

You can support me by registering through this link http://www.pcbway.com/setinvite.aspx?inviteid=128...


This way you get a 5$ coupon for your order and i get some percent discount on orders for upcoming projects.

But if you like diy you can also build it on a prototype pcb board with hand wiring. This is how i did the first prototype of the spot welder V1. In the pictures you see a manufactured board looks much cleaner.

Step 2: Optional: Ordering PCBs at a PCB Manufacturer

Picture of Optional: Ordering PCBs at a PCB Manufacturer

So many people asked how to order the pcbs. So here is a little instruction.

Ordering the new V3:

For Version 3 you need to order the Mosfet and the Arduino board individually because the Mosfet board needs a 2oz copper layer. The Arduino board can be ordered with standard 1oz copper. Dimensions for the 2 boards the same (50mm x 60mm).


Ordering Tutorial : (pcbway.com)

(V3)

Just go to http://www.pcbway.com/orderonline.aspx (This is the "PCB Instant Quote" Tab on their Website)Type in Board Dimension (50mmx60mm) and quantity (cheapest is 10). Rest of the options don't need to be changed for the Arduino Board. You can of course change the colour of the Solder Mask (board colour) or the Silkscreen (text on the boards) to what you like. This does not affect the price. You can see how it shoud look like in the picture. Then click quote now, choose your favorite shipping option and click "add to basket". Now you are asked to add the gerber file. Use the Arduino_Board_V3.zip from my Github.

For ordering the Mosfet Board you need to repeat this process but choose "2 oz copper layer" now. All the other options can stay the same as with the Arduino Board. Use the Mosfet_Board_V3.zip this time.

(V2 or 2.1)

Just go to http://www.pcbway.com/orderonline.aspx . (This is the "PCB Instant Quote" Tab on their Website)Type in Board Dimension (100mmx60mm) and quantity (cheapest is 10). Rest of the options don't need to be changed. You can of course change the colour of the Solder Mask (board colour) or the Silkscreen (text on the boards) to what you like. This does not affect the price. You can see how it shoud look like in the picture.

Then click quote now, choose your favorite shipping option and click "add to basket".

Now you are asked to add the gerber file. Use the spot_welder_v2_gerber.zip or spot_welder_v2.1_gerber.zip from my Github.

(ONLY FOR THE OLD VERSION: You can also order each board on its own with the Arduino_Board_Gerber.zip and the Mosfet_Board_Gerber.zip from my github.)

After clicking "submit order now" the guys at pcbway check if everything is ok with the gerber file. This can take only a few hours but can also take some days, depending on how busy they are.

In the Spot_Welder_V2_Gerber.zip Gerber file the "Mosfet" pcb and the "Arduino" pcb are on one
PCB. So ordering 10 pieces means you get 10 full sets. You have to cut the boards in half at the middle line when you receive them.

Step 3: Populating the Arduino PCB (V3)

Picture of Populating the Arduino PCB (V3)

Most parts used for this spot welder are throug hole components. Only some 1206 SMD parts and very few smaller ones are used. So its very easy to solder. If you buy the parts i recommend ordering some more of the smd parts because these little things like to disappear on the floor if your not carefull.

Bill of Material (BOM)

Mouser.com Shopping Cart

In the new V3 version i used some 1206 SMD parts and some other sizes to keep the pcb size the same as with the previous V2 version.

To solder this SMD parts i figured it is the easiest way to put some solder on all of the pads. Then hold the SMD part in its position with a tweezer and solder one side. Now the part stays in place and you can solder the other side. Now heat both sides alternating and the part will automatically be pulled in its correct position by the solder.

Take care of the SMD diodes polarity (see the picture). If they are put in the wrong way arround it wont work or may cause damage.

Populating the rest of the through hole parts is very straight forward. Start with the small flat parts and work your way up to the bigger ones. You can see this in the pictures.

Step 4: Populating the Mosfet PCB (V3)

Picture of Populating the Mosfet PCB (V3)

The new mosfet pcb can use a aluminum part instead of the u-bend 16mm2 wire. This makes it much easier to build because you dont need a high power soldering iron and tons of solder. You can of course still use a u-shaped wire instead of the alumium part.

The template for the alumium parts is on my Github. Alumium Parts Template or if you want to buy the ready made aluminum parts take a look here: malectrics.eu

First solder the 8 small tvs diodes to the top of the pcb and the big tvs diode to the bottom.

Then screw the u-shaped alumium part to the pcb with m2x8 or m2x10 screws and m2 nuts. Make sure the screw heads are on the pcb side. This is necessary if your srews are a bit to long (m2x10). If you put them in the other way arround they may touch the mosfets later and cause a short circuit. You can also rivet the part to the pcb with 2,4x8mm rivets. Alternatively solder a 16mm2 wire bend to an u-shape to the pcb.

Now you need to install the mosfets and the straight alumium part. In order to do this bend the mosfets legs in a 90 degree angle with some pliers. Use m3x10 screws, m3 nuts and nylon washers to srew the mosfets with the aluminum part to the pcb. Make sure to put nylon washers between the pcb the m3 nuts to make sure they can not scratch the pcb and cause a short circuit. After this solder the mosfets legs to the pcb. Put plenty of solder on the pcb traces that run from the mosfets to the u-shaped aluminum part to make these traces more rigid.

Since you already installed pin headers to the arduino pcb, it is now easy to install the pin headers to the mosfet pcb. Just put the female headers for the mosfet pcb on the ones on the arduino pcb. Lay the Arduino pcb on the table, put the mosfet pcb on top of it and solder the pin headers.

Step 5: Making Welding Cables

Picture of Making Welding Cables

Parts:

  • 2pcs 50cm 16 square mm flexible cable (silicone cable or welding cable H01N2-D)
  • 2pcs about 4cm long 16 square mm solid copper wire pieces
  • 2pcs cable shoes
  • 2pcs cable crimp connectors or luster terminal
  • 4pcs shrink tube

Assembly:

  1. "Sharpen" the solid copper wire pieces. But not to sharp. The tip should have a flat front of about 0.5 to 1mm diameter. An easy way to do this is putting the copper piece in a drill and holding it on a belt sander while the drill is spinning and the belt sander is running.
  2. Crimp the cable shoes to the cable with a crimping tool. If no crimping tool available you can also use a vise to clamp it. Or solder it with a high power soldering iron.
  3. Insert the welding cables and the tips in the cable crimp connectors and crimp or solder it. Alternatively you can use luster terminals.
  4. Add shrink tube or electrical tape

Step 6: The Foot Switch

Picture of The Foot Switch

If you dont want to use the Auto Pulse feature where the pulse is triggered automatically after touching the nickel strip with both welding tips you can optional use a foot switch.

For the first welder I built it with a simple wood box and a little switch. But meanwhile i bought a dedicated foot switch . You can get one for example at https://malectrics.eu/

You can use any switch that is NO (normally open) as a foot switch. It does not carry any current.

Step 7: Making a Fuse Case

Picture of Making a Fuse Case

Why using a fuse or a case ?

If you want to power the Spot Welder with a Lipo battery it is recommended to use a fuse on the positive welding cable. In case the Spot Welder should fail and cause a short circuit and for whatever reason you would not be able to seperate the welding tips this will prevent the lipo battery from burning down your house or exploding.

A 300A fuse works well and can handle higher currents for a short time without problems. Search on ebay for "ANL fuse 300" and you should find it.

First you need to make an adaptor to connect the Lipo battery to the spot welder and the fuse. In my case the battery has a XT90 connector so i made an adapter with this connector, two short pieces of 10 square mm silicone wire and 2 cable shoes.

When everything is connected you need to isolate the fuse. Easiest solution would be to wrap it in electrical tape. But a 3d printed case looks much cleaner.

Parts for the fuse case:

You can find the STL files for the case at my Github.

Other parts you need to finish the case:

  • 4pcs M3x25mm screws
  • 4pcs M3 nuts
  • 2pcs M5 nuts
  • 2pcs M5x12mm screws
  • 4pcs M5 washers

Assembling the case:

  1. Once you printed the case clean the holes if necessary and insert the 4 m3 nuts.
  2. Put in the positive cable that will supply power to the Spot Welders +12V input pad through the little hole in the lower case part.
  3. Push the M5 nuts in theire slots
  4. Lay the components in the case on the m5 nuts-> washer - fuse - washer - positive welding cable shoe
  5. Screw in the m5 srew partialy and push the unisolated end of the positive wire under the welding cable shoe
  6. Tighten the m5 nut completely
  7. Lay the positive end of the Lipo adaptor you made on the other side of the fuse, put in the screw and tighten it.
  8. Put on the top part of the case and screw the 2 case halfs together with the 4 m3 screws.
  9. Finally solder the end of the positive wire to the Spot Welders +12V pad on the Arduino pcb

Step 8: Programming the Arduino

Picture of Programming the Arduino

To upload the Arduino Code to the Arduino you need to do some preperation.

  • download the Arduino IDE from https://www.arduino.cc/en/Main/Software
  • download the Arduino Code from Github (please click the green "clone or download" button to download the whole project at once, downloading single files can sometimes cause problems)

Once you have installed the Arduino IDE you need to add two libraries. The "Adafruit_GFX" and "Adafruit_SSD1306".

Install them through the library manager in the Arduino IDE (click: Sketch -> Include Library -> Manage Libraries)

Then go to the SSD1306 library folder (on windows typically like this:

C:\Users\Marc\Documents\Arduino\libraries\Adafruit_SSD1306-master ) and open the "SSD1306.h" with a text editor.

In the SSD1306.h you need to define line 51 (#define SSD1306_I2C_ADDRESS 0x3C) and line 69 (#define SSD1306_128_64) . In the latest versio its line 55 and 73.

The code should look like this after you changed it:

#define SSD1306_I2C_ADDRESS   0x3C  // 011110+SA0+RW - 0x3C or 0x3D
// Address for 128x32 is 0x3C // Adress for 128x64 is 0x3D (default) or 0x3C (if SA0 is grounded)
#define SSD1306_128_64
// #define SSD1306_128_32 // #define SSD1306_96_16

After you have done this dont forget to click save.

Now you can go back to the Arduino IDE and open the Arduino Code from the Github project you downloaded. Connect the Arduino Nano to your computer with an USB cable and it should automatically install the drivers for the Arduino Nano. If it does not connect take a look at this site https://arduino-info.wikispaces.com/Nano-USB-Drivers

If the Arduino is connected correctly a new Com Port should show up in your Arduino IDE under Tools -> Port

Select the new Com Port . Also selct as Board: "Arduino Nano" and Processor: "ATmega328"

Finally click on "sketch -> upload" to write the programm into the Arduino Nano. When it is finished the Display on the Spot Welder should show a low battery warning with the voltage of your USB Port because the default low battery warning is set to 11V.

Step 9: Using the Spot Welder

Picture of Using the Spot Welder

Now that your finished builing the spot welder here is how to use it.

Basic infos:

  • recommended welding battery: car battery 12V 40Ah 440A (or 440CCA) / Lipo battery: 3s 5000mAh with minimum 60C

  • Welding cable: 16mm², each about 50cm long

  • recommended welding material: 0.1mm to 0.25mm nickel strip

Safety Instructions: (V3)

Only use this product if you have some basic understanding
of electricity. We are dealing with very high currents here which can be dangerous.

The spot welder is capable of up to 1000A welding current for safe operation. Do not use a car battery that can deliver more Amps. For example a 40Ah 440A car battery works fine to weld 0.1mm to 0.25mm nickel strips to batteries.

If you want to use higher currents or longer welding cables you can do this at your own risk. Absolute maximum rating is about 1400A welding current.

Do not connect it wrong way around to the car battery. The U-shaped aluminum part goes to the batteries minus (black) pole.

On the first use set the welding time to 2 or 3ms and see how it welds. Then increase the time until you get good welds. If time is set to high, e.g. 20ms for very thin nickel your nickel material will “explode”.

Optional:

For maximum safety do this before the first use:

turn on the Spot Welder, take a multimeter and measure the resistance between the two aluminum parts. It should show arround 150 Ohm. If it shows 0 Ohm something is shorted out or you got a defective mosfet.

If you dont have a multimeter you can do this: turn on the Spot Welder, switch off the AutoPulse feature, then put a nickel strip on a piece of wood and put one welding tip on the nickel. Then quickly touch the nickel with the other welding tip. If nothing happens you are good. If you burnt a hole in the nickel strip something is wrong.

Quick Start:

  • Connect the welding cables and the spot welder according to the connection sketch.
  • Connect your foot switch to the spot welder (optional)
  • Set the welding time with the rotary encoder (Display shows 1-999 in milli seconds)
  • Now you can start welding

The new menu and OLED display features:
The main screen shows the Pulse Time (adjustable by turning the rotary encoder), the battery voltage, the total welds done and if the AutoPulse feature is activated.

You can enter the menu by “clicking” / “pushing on” the rotary encoder.

  • Auto Pulse: Here you can turn the AutoPulse on or off and set the delay time. The “AutoPulse” feature automatically activates a pulse after a 2 second delay (default) when both welding tips touch the nickel strip. If it is activated you can not use the foot switch to activate a pulse. The main screen will show “AUTO” in the right bottom corner if it is activated and “MANU” if it is deactivated.
  • Btry Alarm: you can set the voltage at which the battery alarm should be triggered (default 11V). If the alarm gets triggered the spot welder will stop working and show a low battery warning until a voltage higher than the set battery alarm is reached. (typically after recharging your battery)
  • Shrt Pulse: you can set the duration of the short pulse in % (1 …100) . For example if it is set to 10% and the main pulse is set to 20ms the sort pulse will be 2ms. The short pulse will always be at least 1ms no matter what % value is set. So if the main pulse is 5ms and short pulse is set to 10% it will still be 1ms and not 0.5ms.

·

·

·

Step 10: Adding the "AutoPulse" Feature to Your Existing Spot Welder (only V2.1 and Older)

Picture of Adding the "AutoPulse" Feature to Your Existing Spot Welder (only V2.1 and Older)

In the new V3 or V2.2 the “AutoPulse” feature is integrated

You can upgrade your “older” Spot Welder with the new feature pretty easy.

You only need a few parts: (SMD 1206 or wired parts, depending on what you prefer)

  • 1x 470 Ohm resistor
  • 1x 620 Ohm resistor
  • 1x 20 kOhm resistor
  • 1x Z-Diode (4,3V 0,5w)
  • a piece of thin wire (optional with a connector)

Connect them according to the schematic. (Probe is the mosfets middle Pin) Then upload the new V2.2 Arduino Code to your Arduino Nano.


While the AutoPulse feature is activated you can not use the normal foot switch to activate a pulse. So it is recommended to make the cable that connects to Pin D3 of the arduino removable with a connector. If you do this you need to install the 20k resistor from Pin D3 to GND to make sure the Arduino reads a solid GND signal if the connector is removed.

Alternatively you could flash the Arduino with V2.1 of the Spot Welder software again to disable the AutoPulse feature. Using this method there is no need for the 20k resisor or to make the cable removable with a connector.

Instructions Video: (20k resitor from Pin D3 to GND is missing in the Video, sorry)

Arduino Spot Welder AutoPulse Feature

Step 11: Addon to Power the Spot Welder With the Car Battery (only V2.2 and Older)

Picture of Addon to Power the Spot Welder With the Car Battery (only V2.2 and Older)

Not needed on the new V3 because already included by default

With the help of this very simple addon you can power the Spot Welder
directly from the car battery instead of a 12V power supply.

The only component that needs to be added is a 25V 470µF capacitor. This is enough to keep the voltage of the Arduino board up while the pulse is happening and the car battery drops in voltage. It works for pulse times up to about 50mS. For longer pulse times it is still recommended to use a seperate power supply.

I added the capacitor between the Arduinos Vin Pin and GND. Pay attention to the polarity of electrolytic capactors ! “-” goes to GND and “+” to Vin.

Then you can connect a cable from the voltage input of the PCB to the
car batterys positve terminal to start the Spot Welder. GND input is not needed since it is already connected to the car battery through the aluminum piece.

Oscilloscope measurements to check if the mod is working: (referring to the pictures)

  • Voltage at the Arduinos Vin pin while doing a pulse without the extra capacitor:

The Arduino keeps operating even without the extra capacitor, but i would not recommend it.The 22V voltage spike is very short and no problem for the Arduino Nano and the other components to handle.

  • Voltage at the Arduinos Vin pin with extra 470µF 25V capacitor and 6mS pulse time:

As you can see in the picture there is no significant voltage drop at this short pulse time.

  • Voltage at the Arduinos Vin pin with extra 470µF 25V capacitor and 45mS pulse time:

Here you can see that the voltage drops over the time of the 45mS pulse down to about 8V. That is still enough for the Arduino to operate properly, so about 50mS pulse time is the maximum which schould be used with this mod

Step 12: Populating the PCBs and Adding Wires (old Version)

Picture of Populating the PCBs and Adding Wires (old Version)

All the parts used for this sopt welder are throug hole components. So its very easy to solder. Start with the small parts and work your way up to the bigger ones.

Welding tips are made of 10 square mm thick solid copper wire. The cables are 16 square mm flexible copper wire. Do not make the welding cables to long (max. 50-60cm each). very long cables can cause high inductive voltage spikes which could damage the spot welder.


(update 08.2016)

- In the new Version you have to connect JP1 on the Arduino Board with JP1 on the Mosfet Board and JP2 on the Arduino Board with JP2 on the Mosfet Board. Use pin headers and sockets. These jumpers connect the ground of the two boards. You can see how it is done in the new pictures with the green pcb pretty good.

(update 12.2016)

- added a new picture series of populating the pcb, which should make it more easy to understand.

Step 13: Adding Protection Diodes (only on V2)

Picture of Adding Protection Diodes (only on V2)

Protection Diodes are not needed in the new V3

Diodes used:

Schottky: VS-100BGQ015 Mouser.com Part: 844-100BGQ015
TVS: 5KP13A-E3/54 Mouser.com Part: 625-5KP13A-E3

Why add diodes ?

The diodes can be used to make the spot welder more reliable when using very high welding currents or long welding cables. They reduce the peak voltage which appears because of the inductance of the welding wires. This is necessary because high voltage spikes could damage or kill your mosfets. A very detailed explanation whats going on can be found here

Adding the diodes:

You can either build some nice wires with cable lugs for the diodes to make it look pretty or solder them directly to the spot welder. The function will be the same. Just make sure to solder on the schottky only with a high power soldering iron so the diode does not become to hot while soldering. The cable for the diodes should be 10mm² ( 7 or 8 awg). For the tvs diode you can also use thinner cable if it is just a very short piece.

Short conclusion of whats going on:

I did some measurements with my 20$ oscilloscope, which is not very accurate, but you can see the effect of the diodes.

The first measurement was done with the normal spot welder with no extra diodes installed.

As you see at the end of the first pulse there is a voltage spike, which reaches up to about 34V. This is no problem as the mosfets are rated for 55V maximum. But if you use longer welding cables or a very strong car battery that can deliver very high current this voltage could probably exceed the 55V. This could then damage or destroy the mosfets.

To get rid of the voltage spikes you can install diodes to the spot welder. You need a TVS and a Schottky diode.

I first did a measurement with only the shottky installed. This lead to a strange oscillating behavior, which can even effect the arduino so the programm crashes. You can see this in the picture with the oscillating voltage.

Last i did a measurement with both diodes (TVS and Schottky) installed. Now the voltage spike at the end of the pulse only reaches about 20V. Even with higher currents or longer welding cables the voltage can not go much hgher because the diodes will prevent this.

Step 14: Frequently Asked Questions - FAQ

What car battery can i use for the Spot welder ?

Recommended is a 12V 40Ah 440A car battery but everything that can deliver 400A to 600A should be fine. I do not recommend to use a so called “deep cycle” battery.They look like a car battery but these are not made to deliver very high currents for a short time. They are meant to deliver little current like 20A to 50A for some hours. They are maybe capable of delivering the high welding current, but could be damaged after some welds.

What nickel strip can i weld ?

You should use 0.1mm to 0.25mm nickel strips. Typically 0.15mm Nickel Strip is good for all standard applications.
0.3mm nickel strip is possible if the pulse time is increased to about 50mS (this time was set with a 440 A or CCA car battery). Also try to use slotted nickel strips if you want to use 0.3mm ones because the slotted ones give you better welding spots with less current or shorter pulse time.

What foot switch can i use ?

You can use any switch that is NO (normally open). The foot switch does
not carry any current, so even very tiny switches will work. (Example foot switch) . Do not wrap the foot switch wire arround a welding cable and try to make a hand switch. This can damage the Spot Welder because of inductive voltage.

How long should the welding cables be ?

Make the cables as short as possible. I recommend 16mm2 (5awg) 0.5m for
each cable. If you make the cables longer the welding pulse will become weaker unless you use thicker cable. Also it is more likely that you damage the Spot Welder with very long cables because of the high inductive voltage that is generated in longer cables.

What power supply do i need for the Arduino board ?

The new V3 does not need a seperate power supply for welding times below
50mS. It can be directly connected to the car batteries or Lipos positive pole. For the older V2 a 12V 2A or 1A power supply works good. Alternatively a 3s Lipo / Liion battery also works perfectly.

Can i use the car battery to power the arduino board ?

Yes in the new V3 you can directly power it from the car battery or Lipo for welding times below 50mS. For V2 or older in the standard configuration you need a seperate power supply or battery.

But if you add a 470µF 25V capacitor between the Arduinos Vin and GND you can power the V2 and older Arduino Board from the car battery. More infos on the Mod

Is it possible to use a PC power supply instead of the car battery ?

No, you need a car battery. A pc power supply can not give you enough Amps to weld. You need about 400A. Typicall power supplys can deliver maximum 50A. Also power supplys usually dont like to be shorted, which is what the welder does.

My computer does not find the Arduino when I plug it in with USB !
If your System does not automatically install the necessary driver you need to install it manually. Check out this page: https://arduino-info.wikispaces.com/Nano-USB-Driv...

Comments

irasch (author)2017-08-10

Wow! I've wanted to get a battery spot welder for a long time now but didn't want to spend that much money.

I built your spot welder (the original version, before your latest update) and WOW! Works great. Just what I needed. I'm using an old 12V lawn tractor battery that wouldn't start the engine any more and it seems to have plenty of power.

Question: Could a 9V battery be used in place of the secondary 12V supply? I think it would be fine for the Arduino, but don't know if it would run the MOSFET drivers (8 of them in the original version).

Thanks for a great project.

KaeptnBalu (author)irasch2017-08-11

The 9V battery should work. Most of the current for the mosfet drivers is supplyed by the capacitors on the pcb, because they only need the high current for a very short time. The normal current draw of the Spot Welder is arround 100mA.

irasch made it! (author)KaeptnBalu2017-08-12

I'm looking to make the setup as compact as possible and enclose the board & battery in a small box (maybe 3d printed). So I'm thinking about not using a foot switch and attaching a small switch box to the negative probe side. I'd run it's wire back along the high current lines (old battery jumper cable wires) to the PC board in shielded cable. Do you think I'd have a problem with some kind of induced spike into the switch wires and fry the Arduino?

Or, since the line to the switch would run along both the + and - high current lines, would they cancel out?

Thanks. This is really a fantastic tool.

odys1981 (author)2017-08-05

Great project. I made it and I tried to use it with my 40ah 3s battery pack out of 18650 cells and it blown out my fuses after few attempts ( obviously it was silly idea). I believe it will work nicely with a car battery. As I have seen some other diy spot welders with Arduino and some of them supplied by a 3s-4s 5000mah 50c Lipo pack. Is it possible with this one. And something last how about to add an OLED or LCD screen. Is it easy?

KaeptnBalu (author)odys19812017-08-07

It will also work with the 3s 5000mAh Lipo. 4s is not good because the Welder is designed for 12V batteries.

I also had the idea with a OLED display and little menu system. This way you can change settings directly on the Spot welder instead of changing it in the Arduino code. Already working on it. But this addon needs a complete new pcb layout and new Arduino program. So it will take some mor weeks till it is ready.

AaronX2621 (author)2017-07-11

Ok I figured out my main issue with V2.2 not pulsing. The BOM has the mosfet driver part number as MCP 14E10-E/P. That's what I had originally purchased which didn't function properly. The name field for this part has MCP1407-E/P. I purchased some MCP1407-E/P drivers and they do function now properly. I do think I killed one or more mosfets even with a the extra protection and one of the 15 ohm resistors nuked itself.

KaeptnBalu (author)AaronX26212017-07-12

Dang it, the part number was wrong in all the BOMs. Sorry for that. I updated the BOMs so it is correct now.

AaronX2621 (author)KaeptnBalu2017-07-12

Thanks for fixing that drove me a bit nuts until I found the error. BTW I did do a BOM on mouser for this should anyone want it.

http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=54cbf7c8a2

It might be cheaper to get the mosfets from an overseas seller on a place like eBay. They’re $18+ through mouser for 8 but I picked up 10 on ebay for $7 shipped. I’m currently waiting on those to come in to test them

Some of the resistors on the BOM are qty 10 because of the price break for 10+, if you need 3 it’s cheaper to get 10

DrStein99 (author)AaronX26212017-08-01

So, the CORRECT mosfets to use are "IRF1405PBF". the expensive ones wrong mosfets are: "IRFB7437PBF". Awesome. I only had to make a special order from Mouser to pay shipping just to get the wrong ones. Thanks.

KaeptnBalu (author)DrStein992017-08-02

Both Mosfet types will work. The IRFB7437 can handle a little bit more current and have a better avalance current rating. So they should be more robust than the IRf1405. If you are using the recommended arround 400 CCA car battery type it doesnt matter which ones you use.

DrStein99 made it! (author)2017-08-01

Milled my unit using 3/4" brass stock 1/8" thick. Bottom part milled from 1/4 copper flat stock.

matze_rafnex made it! (author)2017-03-08

hi, i build the spot welder and now a make an add-on.

the problem is to work with two hands to hold battery and wire.

there are two RC_Servos MG996 .

Two springs at the upper back of the servos for the right thrust pressure of each servo for itself.I just connected the foot switch to the reed relay of the addon board.
So you can leave the spotwelder platine as it is.

Next, a plexiglass shield with LEDs is attached to protect the eyes, to tilt with switch and a runstop switch. safety first

see the video on youtube

DrStein99 (author)matze_rafnex2017-07-31

This automatic servo is a good idea. Why does this automatic servo need 2 servo's?

KaeptnBalu (author)matze_rafnex2017-03-09

Matze, that is an awesome construction you made there. Love it.

pistacik (author)2017-03-26

Few comments regarding V2 :
- do we really need 8 gate resistors for the mosfets? Woldn't 1 be enough?
- space under Arduino can be used for TTH parts, too.
-
people with good soldering skills can upgrade V1 with gate resistors,
too. Gate resistor can be soldered between DIP socket and board. For
other pins, piece of wire can be used.

Kudos for V2! It came out before I managed to finish original version!

KaeptnBalu (author)pistacik2017-03-26

Since the new version only has one driver for all mosfets, each of the mosfets should have its own gate resistor. On the V1 each mosfet had its own driver output and therefore gate resistor were not as critical as on the new v2.

HarleyDK (author)KaeptnBalu2017-03-28

Is there a special reason to use a mosfet driver instead of using mosfets with logic-level gate?

DrStein99 (author)HarleyDK2017-07-31

I think the logic level mosfets are like double the price, much more expensive. Probably not a big deal if someone want to build just one - or maybe the cost just too much. I don't know how much logic level mosfets for this size cost, but the last time I dealt with this for a motor driver, they were not cost efficient.

DrStein99 (author)pistacik2017-07-31

Or 1 network/bus resistor, instead of 8 resistors.

OK!

: D

CamaronC1 (author)2017-07-04

it works good for 0.15mm tabs but when I try to solder a 0.25mm tab with two psu batteries in parallel every time I fried the mosfets!

Rikv13 (author)2017-06-29

Can you eleborate on why the battery can't supply the arduino as well? Is it because when the weld is made, its shorted and therefor cant supply the arduino in that time?

KaeptnBalu (author)Rikv132017-06-30

The voltage drop of the car battery is not the problem. That should be compensated by the capacitors next to the mosfet driver.

But at the end of the pulse there is a voltage spike that reaches about the voltage rating of the mosfets. So arround 50V for the IRF1405 mosfets. It is only few micro seconds short but could damage the components on the Arduino board.

If you are using the 2 protection diodes the voltage spike is even shorter. So it may work then to power the Arduino Board from the car battery without blowing something up. Have not tested it.

AaronX2621 (author)2017-06-12

I have a question! The silkscreen for the 2.2 version has 20k resistors for R1, R13 and R14. The 2.2 version BOM only has 2 resistors of this value needed.

Is one going to not be populated, is the silkscreen value off on one, or is the BOM incorrect for v 2.2?

KaeptnBalu (author)AaronX26212017-06-13

Resistor R13 does not need to be populated. It was meant as a pull down
resistor, but after looking close to the schematic i realised R14 + R15
already do the pull down to GND.

In the latest PCB files on Github i removed R13. So in the next batch of PCBs there will be no R13. I have not received the new PCBs yet, so pictures are not updated.

AaronX2621 (author)KaeptnBalu2017-06-23

Well I have it all built without R13 populated. The device notices when both probes are placed as the LED flashed but I get no actual welding pulse out of it. Where would you start troubleshooting?

KaeptnBalu (author)AaronX26212017-06-24

Remove the AutoPulse Jumper and then put the Test Code on the Arduino.

https://github.com/KaeptnBalu/Arduino_Spot_Welder_...

Then you can measure all voltages with a normal multimeter. More detailed instruction is on Github:

https://github.com/KaeptnBalu/Arduino_Spot_Welder_...

AaronX2621 (author)KaeptnBalu2017-06-27

Still at a loss on this. I do notice I'm getting battery voltage at the welding tips when it's not pulsing (in normal 2.2 programmed mode, not test mode) which the youtube video says should be 0V. I hope the 2.2 pcb file didn't have a problem. I've ordered parts to make a few more of these to test just to see if the first one I assembled was a dud but it's not my first rodeo with SMD soldering. I usually do things smaller than 1206 though :)

AaronX2621 (author)KaeptnBalu2017-06-24

Flashed the nano into test mode. jump the foot switch header with auto pulse off.

Power supply in is 12.89V (it's a 12V wall plug). Nano D5 and pin 2 of the mosfet driver is 5V. LED is 2V but on. Mosfet gates on all 8 of them are 4V

mrcsft (author)2017-06-16

I know that a common PC power supply can't deliver the needed Amps but, have you thought about the possibility to use an high current transformer instead of the car battery? I don't think it would be difficult to find one in an old microwave or a UPS and eventually modify the secondary circuit as needed. What do you think about this possibility?

Southerner (author)2017-06-06

I tried to place an order at your web site:

https://malectrics.eu

but when the paypal link is taken it just drops back to the cart page and never goes to paypal or places the order.

KaeptnBalu (author)Southerner2017-06-07

Hi, i updated the website. The Paypal problem should be fixed now. Thanks for the info.

wattstar made it! (author)2017-06-02

I still have bits and pieces left from the first version. Includes pretty much everything to make 2 of the V1 design except for the Arduino and cables. I will include 6 sets of V1 boards!

I believe quite a few of the parts are the same in new version. All parts are quality components from reichelt.de $80 all up including postage. Shipping to Australia only.

testdriver65 made it! (author)2017-05-26

Hi everyone, hi Balu!
After a rather long period of time, I am ready to share with all my experience on the project of the welder case.
Here you can find all files to 3d print your own case:
https://www.thingiverse.com/thing:2346476

I hope that my case will be useful to owners of both old and new versions of the device. The lower space is designed for the use of
copper / aluminum contacts up to 3-4 mm thick. Also there you can find special TVS protection strut.

In my arduino welder i use AUIRF1324 mosfets and protective bus (pair of 1,5KE18CA DO- 201 TVS).

nbiscombe (author)2017-02-26

I cant find the list for all the required parts :( help

Switch26 (author)nbiscombe2017-04-26

i hope i am doing this right,can you see the attached file?

tomjasz made it! (author)2017-04-09

now please someone more creative than i replicate a two probe pen. $50 is to much... ideas?

Switch26 (author)tomjasz2017-04-26

shouldn't be hard to make one out of a pice of wood,just drill out two holes just big enough for the probes to fit tightly and perhaps coat the wood with epoxy,i will try it my self and report back with results

Switch26 (author)Switch262017-04-26

the only issue would be the wire shouldn't be too thin

12 awg wire should work just fine

ve3vxy made it! (author)2017-04-25

Here it is the V2 Spot-welder, My first attempt at the new version and it works great the first time. I used a 150 CCA U1 Battery and Set the welder to 17ms as you can see the welds turned out great, nickle strip I used is 0.15mm. The welding wires are a 8 AWG cut to 50cm with solder-iron tips as welding probes. One more note: I copied your aluminum parts template and the holes did not match the PC board, you may want to fix that. (Just to let you know that I built the original version and it took 4 boards of assembly too get 1 working unit.) Awesome new version keep up the great work Marc.

MichaelS1253 (author)2017-04-21

Can you use a super capacitor bank to power this?

dustlessimage (author)2017-04-19

V2.1 version of the maximum current? Can be used to repair welding gold necklace?

giurti (author)2017-04-07

Hello,

I have ended to assemble my first welder circuit, and now I'm ready to try it first time.

But I'm worried by risk of short circuit or component damage.

If one mosfet is damaged, can it get to short circuit perpetual state?

Can you suggest me a fuse to add to welder cable?

100A Car fuse can be good?

How much ampere need for welder?

KaeptnBalu (author)giurti2017-04-07

Hi,

The welder needs about 400A to function properly. But a normal fuse will not work in this application. If you use for example a battery that can deliver 440A, the welding current for the set pulse time will be close to 440A. So in case of a defective mosfet for example the current will still be 440A but for a longer time.

giurti (author)KaeptnBalu2017-04-10

Your reply increases my worry.

There is not anyone that uses any protection to prevent shorts?

It should be a 'must' for yourself's safety.

JeffS331 (author)giurti2017-04-17

I was looking at some fuse time curves and it seems possible to add a fuse around 50 to 100 amps because the current is very high for the first .010 seconds.

JanS9 (author)2017-04-05

Need PCB V2 in Germany. Has anyone some left over?

KaeptnBalu (author)JanS92017-04-07

Just finished my new website. You can get pcbs there if you like.

https://malectrics.eu

tomjasz (author)KaeptnBalu2017-04-09

nice! Fast and very reasonable shipping too. Very very well done! Thank you. Now, a welding pen somone?

testdriver65 made it! (author)2017-03-29

Hello everyone!
I made 3D models of the old version of the welder in FUSION 360.
Next step - is to design an optimal box for welder.

http://a360.co/2oxuqKM

About This Instructable

103,932views

698favorites

License:

More by KaeptnBalu:DIY Battery Powered Solder Fume ExtractorWanhao Duplicator i3 Plus LED Light UpgradeDIY Arduino Battery Spot Welder
Add instructable to: