Semi-autonomous soldering robotic arm
Robotics course · team project, 2024–2025
Raspberry Pi · Python · UDP · SolidWorks
During (2024) this year’s robotics lecture project, my teammate and I worked on a semi-autonomous soldering robot arm. This project had some difficulties and ended with a bit of failure, but we learned a lot from it. In the cover image, you can see the whole system, but please disregard the mess in the background (which was not caused by us)
In our college, we have a Mitsubishi Melfa RV-2F-D robot arm. This is an industrial robot with 6 degrees of freedom (DOF), and it has a gripper module on the end effector. Our basic plan involved feeding soldering wire to the soldering iron tip using a Raspberry Pi, a stepper motor, a stepper motor driver, a 12V DC power supply, a holder, and a feeder mechanism.
Challenges:
- The soldering iron stands upright in a fixed position
- Driving the soldering wire directly to the soldering iron tip
- Communication with the robot arm and retrieving position values
The Soldering Iron Stands Upright in a Fixed Position
We started with a brand-new soldering iron, and the end effector of the robot arm has a gripper with multiple holes, three of which are metric-sized. After taking measurements, we created a stand using SolidWorks. This stand is used to hold the soldering iron upright. In the second part, we added a supporting piece to guide the soldering wire. The soldering wire travels through a 1-meter, 4mm air hose, curving towards the soldering tip.

Figures 1 shows the technical drawings of our holder and wire feeder mechanism. Figure 2 shows our initial studies. The mechanism was printed with some gaps, so we used a silicone gun to stabilize it. However, when the soldering iron heats up, the silicone can melt over time. In earlier tests, we had a broken mechanism, but we made modifications to improve stability.

Driving the Soldering Wire to the Iron Tip
The soldering wire is thin, but the inside of the air hose is much larger, which caused the wire to move independently at times and fail to connect to the soldering iron tip. To solve this, we used a ferrule, as shown in Figure 3. While the ferrule is not a perfect solution and is typically used at the ends of cables, it worked well in this case and is very affordable.

Figure 4 shows the final feeder and holder mechanism together.

Communication Between Raspberry Pi and Robot Arm
Many groups use input/output cables to control the robot arm, but I didn’t want to use a 24V system and reduce it to 5V. Additionally, we were using a stepper motor, which requires specific pulse frequencies for driving. To avoid these issues, we used an Ethernet cable and Raspberry Pi 4. However, when I tried to retrieve information such as joint angles and X, Y, Z coordinates from the robot arm using Python, the code couldn’t parse the data.
After some research, I found a library :
By pairing the IP and socket with the Ethernet cable, the library allows us to retrieve the robot arm’s position and joint angles. The results were slightly different, but that was not an issue for us.
We created a scenario where the robot arm starts at a home location, then moves to the soldering iron tip cleaner (some people ask why the tip doesn’t rotate on the cleaner — this is because our tip and feeder are too close to each other, and we can’t take that risk). The robot then moves to the soldering paste and proceeds to the PCB. We added two potentiometers to the PCB and defined six points for soldering.
This is the manual side of the project. My teammate used RT Toolbox 3 to provide position values to the robot, and while the robot arm was running, I could manually adjust the soldering points. Figure 5 shows the RT Toolbox 3 code used to manipulate the robot, and in Figure 6, you can see the position values from our code.


In GIF 1, you can see the Python terminal while the robot is operating.
then I recorded these points and wrote an if-else condition to drive the stepper motor. For the stepper motor, we used an L289 (green PCB) motor driver, which provides DC and stepper motor control with a 12V supply. Our stepper motor usually draws 1.7A, but during long experiments, the current increases above 2.5A.
Figure 8 shows the L289 stepper motor and DC motor driver.

We also faced another problem with driving the stepper motor using Python and the Raspberry Pi. In some experiments, the motor only shook, so we found an example code to run. When we changed the step delay, the problem reappeared. After some adjustments, we determined that a step delay of 0.0008 worked fine for us.
Figure 9 shows the Raspberry Pi circuit schematic for our project using Fritzing.

During the presentation, the soldering wire got stuck in the air hose, but I have included some soldering results and a video showing when the system works properly.
Results



I’ve also included the GitHub link to the project. I hope you find it informative.
Photos
