Overview
I rewired a microwave transformer into a spot welder that delivers over 500A of current. It has enough power to spot weld 0.2 mm nickel strips onto 18650 cells repeatedly without overheating or any other issues. It can almost certainly weld thicker strips, but I didn't have any on hand to test that.
Transformer Rewiring
Originally, the secondary coil of this 1000W microwave transformer had many more turns of a much finer wire to step up the voltage needed to energize the magnetron. I replaced it with 12 AWG wire, wound twice around the transformer. When measuring the output voltage, this steps the input voltage down from 120V to just over 2V.

PCB Design
For this PCB, the main goal was to create a controller that could switch the relay and drive a small 128×64 OLED display, which the user could use to set the key welding parameters. It uses a 4-layer board stackup consisting of signal-ground-ground-power/signal. This board would almost certainly still have worked if I omitted the internal ground layers; however, I chose to keep them to better match the impedance for the USB lines and make routing easier.


Below is the finished PCB. The relay got melted while I was desoldering it from a salvage board; however, it functions flawlessly internally and the PCB works as expected.


Hardware Design
The only hardware design required for this project was a case to house all of the components. I designed the case in Fusion 360 with 3D printing in mind. The model requires no supports, and I made several design changes to help minimize warping during printing despite its size.

Software Design
The software design was relatively straightforward. The main tasks were driving the relay with specific timings and controlling the OLED display using the rotary encoder. The rotary encoder was read using a timer, which made its implementation very straightforward. In the main loop, I polled the I/O pin connected to the rotary encoder button for a press. When a press was detected, the microcontroller triggered a MOSFET, which in turn drove the relay.
The hardest part was probably driving the display over I2C. The I2C implementation itself was relatively straightforward, but figuring out which commands were required for each display operation was much more difficult. The datasheet was not particularly clear about the command structure, which meant I spent more time than I would like to admit figuring out how to initialize, clear, and update the display.
Results
The final spot welder design is shown below. I mounted the 3D-printed case onto a half-inch pine board and attached a spot welding pen to the end of the 2 AWG wire. Turning the rotary encoder knob on the front adjusts the three welding parameters: pulse duration, pulse count and pulse delay.

It does a pretty good job of welding 0.1 mm nickel strips. When pulling the strips off with pliers, the nickel tears before the weld fails.

