How To Solder Properly : Techniques on a MaxSonar Sensor

Before you decide to solder the wires to your sensor, you should first decide whether that is the best choice for you and your application.

This guide below will help you through the process of soldering properly.

Before you get to the guide, we want to give you the option to skip that process.

If you are having trouble with soldering your wires to your sensor or you would rather skip that step altogether, then there is another option.

Our connector options and wire attach can make this process much easier.

These connectors come in a variety of configurations and sizes to suit different needs.

Straight 7 Pin Header

7 Pin Connector

90 Degree 7 Pin Header

Shielded Cable Attach (For the WR Sensor Line)

Wire Attach Shielded Cable Attach Option

Key Takeaways

  • List of Materials to properly solder and desolder a MaxBotix Inc., sensor
  • Techniques to properly through-hole solder a MaxBotix Inc., sensor
  • Techniques to properly desolder a MaxBotix Inc., sensor

Materials Needed for Soldering

Materials Needed for Desoldering

  • Goggles
  • Hands-free clamp
  • Wire stripper
  • Soldering iron with stand
  • Soldering iron tip
  • Lead-free solder ~.031
  • Clean sponge
  • Brass sponge
  • Tip Tinner
  • Liquid flux
  • Exhaust fan
  • Soldering iron
  • Soldering wick
  • Solder vacuum (Solder sucker)
  • Isopropyl alcohol
  • Soft toothbrush

Soldering is a skill anyone working or experimenting with electronics needs to know. Proper soldering takes practice, patience, and persistence, but this article should guide you on the right path. This article outlines proper technique and safety precautions which are essential for individuals who are new to soldering. Solder is a metallic “glue” that holds the parts together and forms a connection that allows electrical current to flow.

Anyone who frequently solders can tell you proper precautions should be taken before soldering. Liquid solder can drip and pop, so eye protection and appropriate clothing (i.e. not shorts and a sleeveless shirt) should be worn when soldering. Soldering produces some harmful fumes, so you should have an exhaust fan at your station as well.

soldering ironvarious solder tipsThe first tool you need is a good soldering iron. Soldering irons can be purchased at most local hardware stores or online. A 15 to 40-watt soldering iron, or one with a variable temperature control, is best for soldering electrical components. You will need a good tip for your iron; soldering tips come in a wide variety of shapes and sizes from screwdriver, wedge, and flat tips to pencil, cone, and precision tip. Choose a tip that is small enough to work easily around the board and components.

Whether you are soldering on a header, connector, or wires directly to the board, the technique is the same. When soldering wire, however, it is easier to tin the wire before soldering.

sensor with header connector on sensor sensor with wires

How to Tin a Wire

1. You will need to gather your tools from the list above. Take your wire stripper and strip the outer insulation of the wire.

wirestrippers

2. Add a small amount of liquid flux to the bare wire.

flux in a tube putting flux on wires

3. With the soldering iron hot, use the side (not the tip) of the iron to heat the wire and melt the flux. Your flux will start to smoke and sizzle. Take your solder and touch at the point where the iron and wire make contact. The solder should become liquid. Then move the solder along the bare wire. The heated flux will evenly pull the melted solder into the wire.

Now that your wire has been properly tinned, it can be soldered to the sensor the same way as the connector below.

Soldering a Connector onto a MaxBotix Inc., Sensor

1. Heat your soldering iron. While your iron is heating up, you can place the sensor board into a hands-free clip holder.

hands free clip for soldering

2. Add a little flux to legs of the connector and the holes of the sensor board.

adding flux to a header flux on a sensor

3. Line up the legs of the connector to the proper output holes on the sensor board. You can then insert the connector legs into the sensor output holes.

connector by vias on sensor connector on sensor headers

4. Apply heat evenly to the leg and pad with the side of the soldering iron.

5. Apply solder where output pad, leg, and iron meet. Watch the liquid solder to make sure it flows around the leg and into the output holes.

6. Once the solder is in place, remove the solder away from the board followed by the iron. If you remove the iron first, the liquid solder could cool leaving your solder stuck to the board.

7. If more solder is needed, you can pull the liquid solder with the iron to make sure the pad and leg are completely soldered with no spaces or gaps.

8. Add more solder if needed. Again, you can pull the liquid solder with the iron to make sure the pads and legs are fully soldered with no spaces or gaps.

soldering sensor pins arrow shows potential gaps between sensor and header

9. Now, that one leg is soldered to the board, you can adjust the connector placement by reheating the solder.

10. Once the connector is flat and level on the board, remove your iron and let the liquid solder cool for a second.

11. Finish soldering the remaining legs into the sensor outputs on board. The same method is used when soldering wires to the sensor instead of a connector. Just think of the tinned wire as the leg of a connector.

finished sensor with connector top view of the finished sensor

12. You can now use a soft bristle toothbrush and isopropyl alcohol to gently scrub the excess burnt flux off of the sensor board. You need to remove the active flux because it may damage the board if not removed.

using a toothbrush to clean off flux rubbing alcohol bottle

Properly Desoldering a Sensor

After learning to solder, you will eventually need to desolder a component. Knowing how to properly desolder is almost as important as knowing how to solder. Desoldering is removing the solder from a component on a circuit board. If not done carefully, you risk the possibility of damaging the pad or circuit pathways on board. You will need to gather your soldering materials again from the list above.

1. Heat your soldering iron. While the iron heats up, place the sensor in a vice or a hands-free circuit board holder. Once iron becomes hot, place the solder wick with excess at the base of the pin where the output pad and pin meet. Then place the iron on the solder wick. As the wick heats up, the solder becomes liquid and is drawn up into the wick.

desoldering view of sensor the soldering wick

2. As liquid solder begins to be drawn up the wick, slowly pull wick along pad until all of the solder is gone. Do not push against the pad or you may damage or rip the pad of the board.

3. Once the solder is removed from around the pin and the output pad, you can remove wick from the board. Remove the wick first, then remove the iron. This prevents the wick from becoming stuck to the pad. If the wick does become stuck, reheat it with the iron to melt the solder that is holding the wick. Do not try to pull wick without melting the solder as this can damage the pad, and possibly the circuit pathway.

shows removal of wick and iron

4. When solder is removed, use the tip of the iron against the pin or wire and gently push the pin from side to side. This ensures the pin is not free from the board. If no visible solder is present, but component still feels attached, heat, and repeat. Do not force it because doing so can cause damage. Remove all of the remaining solder from the component pins and gently remove the connector from the board.

edge of completed part with header and sensor on board desolder pin

5. Using a soft bristle toothbrush, and isopropyl alcohol gently scrub the sensor board, to ensure the board is clean.

using a toothbrush to clean off flux rubbing alcohol bottle

Using a Solder Vacuum to Remove Solder

1. Apply iron tip to the area between pin and pad.

2. The vacuum is ready to use when the bottom of the vacuum is pushed in. Next, keep the tip of vacuum close to the pin. As soon as the solder becomes liquid make one quick motion: remove iron, place vacuum tip over the pin, press the button on side of the vacuum.

solder vacuum on board a solder vacuum

3. If done quickly and carefully, the vacuum should draw up the liquid solder. If not, repeat the process until the solder is removed.

4. Remove component and clean board with a toothbrush and isopropyl alcohol to ensure the board is clean.

While there are many intricacies to soldering, it is a great feeling to look back at a finished electrical project and know it’s working properly because you took the time to learn a new skill to complete your project the right way.

Contact our technical support team if you need any additional help or have any questions about soldering or desoldering. We are here to help you succeed.

Products related to the Article Above

MB1200 XL-MaxSonar-EZ0

Ultrasonic Sensor

MB1360 XL-MaxSonar-AEL0

Ultrasonic Sensor

MB1004 LV-ProxSonar-EZ0

Ultrasonic Range Finder

Articles related to the Article Above

Interfacing a Raspberry Pi with an Ultrasonic Sensor
Interfacing a Raspberry Pi with an Ultrasonic Sensor
How to use an Ultrasonic Sensor with an Arduino

How to Use an Ultrasonic Sensor with an Arduino

Using Multiple MaxSonar Sensors

Using Multiple Ultrasonic Sensors