One of the most intimidating things when getting into the custom mechanical keyboard hobby is learning to solder (for us non-electrical background folks, anyway). You got everything you need… now you just need to put it all together.
For many keebnerds, soldering is all the fun of building your custom keyboard but at the same time it can be a very frustrating process (especially if you haven’t soldered anything before). When I started out, I resoldered entire boards, ruined PCBs, and wasted a ton of materials since I didn’t have a resource or a way to learn. Hopefully this guide will help prevent some of that headache and waste.
This guide is specifically for soldering mechanical keyboard switches to a PCB but if you stumbled upon my site from Google or anywhere else, these same techniques apply to any basic through-hole soldering (also, WELCOME!).
If you are only looking for soldering tool recommendations please feel free to read my review for some suggestions: Best Soldering Equipment for Building Your Mechanical Keyboard.
Disclosure: There are like, so many links on this page to some really awesome stuff; let’s talk about them. Some of these links are affiliate links which means that if you click on them and buy something, The Keeblog may earn an itty bitty commission at no extra cost to you. That being said, you can rest assured that The Keeblog will never ever recommend something that is either untested or known to have issues. I’ll only recommend what, in my opinion, is good stuff. So thanks in advance if you choose to click!
You will be working with a HOT iron and MOLTEN tin soldering wire. It is important to take necessary precautions to ensure your safety. No one wants to look like a dork, but I recommend wearing something to protect your eyes and cover your face from the fumes. When soldering, it is always recommended to take the following safety precautions:
- Solder in a well-ventilated area.
- Wear safety equipment: Goggles/glasses, gloves, long sleeves.
- Keep your workstation clean and uncluttered.
- Get a soldering iron stand. Here’s a good one available now on Amazon that includes a tip cleaner:
Hakko 633-01 633 Soldering Iron Holder, White
- Size: length 186 x width 84 mm.
- Applicable models: FX-600, FX-601, PRESTO, DASH
- Weight: 380 g.
- HAKKO Corporation is the world-renowned product welding company with proven solutions.
- Imported in Japan
It is also important to keep your PCB safe from static. Specifically in colder weather and/or when there is less humidity in the air static can become a risk as it could damage your PCB. I have personally experienced the horror of destroying a Clueboard PCB and permanently damaged the on-board LED (sliding around my carpet-flooring like a fool). You can prevent static by grounding yourself with a rubber grounding mat.
Bertech ESD Soldering Mat Kit, 18 Inches Wide x 24 Inches Long x 0.06 Inches Thick, Blue, Includes a Wrist Strap and Grounding Cord, RoHS and REACH Compliant (Assembled in USA)
- STRONG WORKSTATION PAD: Designed for electronic assembly, this grounding mat offers excellent resistance to oil, grease, most common solvents, hot solders, and soldering irons; comes with a wrist strap, alligator clip, and ground cord
- DURABLE MATERIAL: Made of a two-layered rubber with ESD properties; the top one is a blue static dissipative rubber layer laminated to a black conductive rubber bottom layer
- MULTI-PURPOSE: For use in aerospace assembly, electronic manufacturing, electronic repairs, fiber optics, hospitals, medical assembly, and soldering in high-temperature setting
- SPECIFICATIONS: Mat is 0.06 inches thick, 18 inches wide, and 24 inches long with a resistance to ground and point-to-point of 1 x 10e3–10e5
- SAFETY COMES FIRST: Bertech is a leading source of Electrostatic Discharge Products (ESD), Kapton Tapes, and Finger Cots; we also produce customized kits to meet our customers’ specific requirements
What You Will Need to Solder a Mechanical Keyboard
As mentioned in the intro, I have previously written a review on some great buys if you do not yet own any soldering equipment. You can see the recommendations here. Here’s what you will need to get started:
- PCB/Keyboard Kit
- Switches (It is universally agreed upon that Switches Matter)
- Soldering Iron (Here are some recommendations
Table could not be displayed.
Bestseller No. 1
MAIYUM 63-37 Tin Lead Rosin Core Solder Wire for Electrical Soldering (0.8mm 50g)
- √ Tin Lead Solder Wire: High Quality Rosin Core Solder Wire
- √ Parameters: solder wire Tin 63%- Lead 37% (Sn63-Pb37)
- √ Flux content 1.8%，electrical soldering wire dia is 0.8mm (0.0315inch)，gross weight 50gram (0.11lbs),good size for pocket
- √ Low Melting Point: 361F/183C. easy to be soldered, flows smoothly, soldering fast and strong soldering point.
- √ Applications: Very good soldering capability, esp for circuit board, DIY, home improvement, Repairation of cable/TV/Radio/sterro/ Toys and other electrical devices etc. (WARNING: This product can expose you to lead, which is known to the State of California to cause brith defects or other reproductive harm. For more information go to the offical Proposition 65 Warnings Website)
- Desoldering Pump and/or Copper Wick
If you are not sure what soldering equipment to purchase, please see my recommendations!
Switches can be purchased from many different vendors including Amazon and specialty sites like NovelKeys. If you are looking for something a bit on the fancy side, ZealPC is well known in the hobby to have the best switches (and they have something for everyone!).
Why are Good Soldering Techniques Important?
First and foremost, keeping your PCB neat and clean prevents electronic failures such as shorts that could potentially damage your keyboard. Short circuits can potentially permanently damage your PCB so you will want to take extra care in making sure there are no stray blobs of solder wire or excess flux and that the board is as clean as possible.
If there is a messy soldering job and a short occurs the damage can range anywhere from permanently damaged LEDs (PCB mounted ones LEDs hard to replace!) and key inputs that become permanently unresponsive (It’s rlly hd to understand you whn your kys don’t typ).
Another benefit to having good soldering habits when working on a custom mechanical keyboard is that clean soldering makes it easier to resell your board when you are looking to sell or trade your keyboard in the community (places like Reddit’s r/mechmarket). People prefer to have a cleaner PCB to work with and it is very common that the new owner will want to replace the switches to their preference.
Yes, switches matter. Here’s an in-depth article on switches if you are interested in finding your preference: Switches Matter
Soldering is admittedly a simple task though it can feel monotonous. It is important to stay focused when you are working with a bare PCB because, as mentioned before, you will be working with a HOT iron and MOLTEN tin soldering wire. It is crucial to take safety precautions not only to prevent injuring yourself but also to prevent damaging the keyboard kit that you bought with your hard-earned money.
First, you will want to clear your work area. It is best to have a clear working area of at least 1’ x 2’ to make sure you have plenty of working space.
Make sure you have ALL of your parts ready. The last thing you want is to leave a hot soldering iron running while you run through your supply box for more. Never leave a hot iron unattended!
You may attach all of the switches to the circuit board first prior to soldering if the switches are PCB mounted and the PCB supports this. PCB mounted switches will have additional plastic feet that can be mounted directly on the compatible PCB for more stability. Not all PCB’s and and switches support this.
Most custom mechanical keyboard kits use a plate mounted switch system for better alignment. You may also attach switches to the plate first and lay the PCB over the switch leads, making sure all copper leads are visible through the through-holes on the PCB. Don’t worry if some switches fall off the plate! Not all plates have a snug fit and it is possible that some will fall out before soldering. As you work across the board and secure the switches, you should see more stability.
How to properly grip your soldering iron and wire.
You will want to hold your soldering iron like a pen to keep it steady. If your hands are shaky like mine, you can try using you pinky as an anchor as pictured below on the right. Though it using the pinky anchor is not the most comfortable, it is sturdier and I find myself switching to this grip in areas where a bit more finnesse is needed. Typically, it is best to hold the soldering iron on the dominant hand. Although it might seem obvious, it is key to remember that the soldering iron heats and guides the metal. It does not release any metal. Keeping this in mind may help you adjust to the different motions you will be performing while holding a pen grip as it may take some getting used to.
Your other hand should hold the soldering wire as shown below. This wire will melt as you feed it against the solder iron and into the through-hole on the circuit board. It is always safer to keep a good distance between your fingertips and the hot iron. How you grip the solder wire may also depend on whether you purchase a tube or roll of solder wire. Here’s an excerpt from this article:
“…(Solder wire purchased in tubes) can be held like a pen and there is a hole on the tip of the tube where you can feed the solder wire through. This allows for more stability and keeps your fingertips further away from the hot iron. “
All together now…
Soldering switches to your mechanical keyboard PCB
Now that you know the proper and safe way to hold your equipment, this section will teach you how to actually solder your switches onto the PCB. To summarize each step, the actual soldering consists of heating up, feeding wire, and moving to the next switch. You will find that you can get into a “rhythm” once you begin.
After every 5 or so switches OR when you see your solder tip begin to oxidize, it is necessary to clean your solder tip. You can either use a damp sponge that is typically included in soldering kits or a brass wire sponge cleaner. I recommend using the brass wire cleaners as they are much easier to use and clean up after the soldering job is complete. Properly maintaining your solder iron tips not only ensures that they last longer but is also a safety measure as heavily oxidized solder tips distribute heat unevenly.
The ideal amount of soldering wire should leave a small “volcano” or “mountain” shape around the switch/component’s lead. A well-soldered through hole will have no visible space between the hole and the lead. Here is a poorly-drawn-but-an-effort-was-made picture for comparison:
Post-solder Clean Up
The last and most often neglected step in the soldering process is cleaning the board of any residual flux. If you are using the right soldering wire (non-leaded), there will undoubtedly be flux residue around your finished solder through-holes. These small “pools” of flux are not inherently harmful and won’t prevent you from using the board but excessive amounts can damage your PCB components over time. For this reason, it is best practice to remove any residue with a damp cotton swab or sponge as most flux is water soluble. Naturally, you will want to make sure everything is dry before you put the rest of your keyboard together and plug it in.
Excess flux residue won’t have a noticeable impact but will minimize any possible shorts in the long run. It’s also nice to know that everything “under the hood” looks just as great as it does on the outside.
Here is an example of a PCB with a lot of residual flux that could use some cleaning:
Desoldering is also an extremely useful skill to have in the custom mechanical keyboard hobby. Usually if you trade or purchase a keyboard second-hand, the previous owner will have already installed their own switches onto the board. Mechanical keyboard switches are one of the primary customization options of a keyboard and weigh heavily on the personal preference of the user. Because of this, it is very common for hobbyists to want to desolder the previous owner’s switches and replace them with their own.
This task can be even more monotonous and frustrating than soldering unless you have the right tools and/or technique. There are many methods to desoldering with some more destructive and some more efficient than others. I will only go over the methods that will best preserve your components because custom PCB’s and switches can get pricey and you will want to salvage them whenever possible.
Using a Desoldering Gun to Remove Solder: Recommended!
By far, using a desoldering gun is the most efficient and cleanest method of removing solder from your mechanical keyboard PCB (or any circuit board!). The biggest reason why most custom mech enthusiasts do not use a desoldering gun is due to the price as they can be very expensive. Do to the high price tag, it usually isn’t worth purchasing unless you plan on getting deep into the hobby and modifying, buying, and selling a lot of keyboards.
The operation of a desoldering gun is simple: power on, heat, and suction. Similar to a soldeing iron, there is a heating element that melts the solder on the through-hole of the PCB. Once melted, you just simply need to press the trigger to enable the suction and move the tip of the desoldering gun to extract the molten solder.
It is also good to supplement the clean up job with some copper wick. The following section will show how copper wick is used to remove solder with a wick. Understand that this can also be done using the desoldering gun’s heating element if there is any tough residual solder.
Using Copper Wick to Remove Solder
Copper solder wick is also a great way to desolder a keyboard. Before purchasing my desoldering gun, I used to use copper wick exclusively for quick desoldering jobs. When applied correctly, using copper wick only can yield the cleanest results when desoldering switches and componenets from any PCB. The proper technique is a bit difficult to put into words so I will leave it to this great YouTube video created by Scott Hill:
I would recommend keeping a pair of wire cutters close by to clip off the used wick. Here are some links to what I use and always keep closeby:
Hakko-CHP-170 Micro Cutter – Red
- Flush-cut micro soft-wire cutter has 8mm long jaw with angled head for flush-cutting applications on up to 16 gauge (1.3mm) copper and soft wire
- 2.5mm heat-treated carbon steel construction provides durability and long life
- Precision-ground holes and surfaces provide smooth movement, and spring returns tool to open position to reduce operator fatigue
- Dolphin-style nonslip hand grips with curved fore-edge provide comfort and control, and Parkerized surfaces prevent glare and increase corrosion resistance
NTE Electronics SW02-10 No-Clean Solder Wick, 4 Blue.098″ Width, 10′ Length
- Removes up to four times more solder than conventional wick, and extracts solder much faster than wicks based on Type-R fluxes
- Residue left behind is halide free and non-conductive, so it does not have to be cleaned off the board
- 100% copper wick has fine braid design to promote strong capillary action to pull in excess solder
- Available with standard or anti-static bobbins
Desoldering Pump a.k.a. Solder Sucker
The simplest and most frustrating method of desoldering… but still effective. Soldering starter kits often come with a desoldering pump which uses spring loaded suction to quickly pull off heated solder. While the operation is simple, it can get frustrating if you do not activate the plunger quick enough and the solder has already cooled enough to stay in the through-hole.
The process of using a solder sucker to remove solder from a PCB is simple but if you are planning on removing all of the switches from a mechanical keyboard, be prepared to spend a good chunk of time doing it. It may be worthwhile if you are on a budget and can be used in conjunction with copper solder wick.
The only time I choose to use a desoldering pump over other tools is if I really don’t care to salvage the PCB and only want to keep the components. A good example of this is when you have a malfunctioning PCB but amazing ZealPC mechanical switches that are very worth salvaging. You can quickly use a desoldering pump to remove enough solder to keep your switches.