PCB F.O.R.G.E.

For Opportunities Reviving Great Era

GitHub LinkedIn Gmail

WORKING

Background Image 1

Booting Up the Machine

The first step in bringing PCB F.O.R.G.E. to life is getting it powered up — and yeah, it’s a bit like suiting up for a mission. We connect the 230V AC input to the SMPS, which steps it down to a stable 12V 5A supply for the motors and heating element. At the same time, the Raspberry Pi Zero W gets its juice from a 5V adapter — small but mighty, just like the Pi itself. But here’s where the real magic starts: the moment the Pi boots up, it automatically launches app.py. We set this up by adding a line to the rc.local file, making sure the web interface is always ready the moment power flows. It’s like having JARVIS waiting for commands as soon as you enter the lab. Once it’s up and running, we head over to the dashboard — a sleek web app hosted right on the Pi using Flask. From here, the control panel gives us three solid options:
• Capture Image: Snap a real-life PCB image for solder pad detection.
• Upload Image: Use a softcopy PCB design from EagleCAD or similar software.
• Initiate Soldering: Once the coordinates are set, start the magic and watch the machine get to work.

Background Image 2

The Heart of Automation: From Image to Soldering

When it’s time to bring a PCB design to life, our system makes it incredibly simple and efficient. If we select the "Capture Image" option, the Pi Cam v1.3 captures a real-life PCB image and sends it to the Raspberry Pi, where our custom-built machine learning model works its magic — detecting solder pads with precision. On the other hand, when we choose the "Upload Image" option, the green solder pads from a softcopy PCB, like those designed in EagleCAD, are identified using OpenCV. The coordinates of these pads are extracted and saved in a text file, following a structure similar to G-code. To take it a step further, we convert this text file into actual G-code using a custom Python script we developed. Once the prep work is done, it’s time for action.

By selecting the "Initiate Soldering" option, we simply choose the required text file and click "Start Soldering" — from there, the Raspberry Pi takes over, sending precise instructions via GPIO pins to the CNC machine, moving the stepper motors and servo exactly as needed. Every movement and action is carefully orchestrated with Python and its powerful libraries, ensuring smooth and flawless operation every time.

Background Image 1

The Art of Soldering

Soldering with PCB F.O.R.G.E. is a beautifully repetitive and precise sequence of actions — a perfect dance of mechanics and control. It starts with the X-axis moving into position, followed by the Y-axis, until the exact solder pad coordinates are reached. Once in place, the N20 motor feeder kicks in, pushing the solder wire toward the tip for just the right amount of time. To prevent the wire from being pushed away from the hot soldering tip, we regulate the N20’s RPM using a PWM controller — giving us fine control over the feeding speed. When the solder wire forms a perfect bulge, the MG90S servo takes over, gently lowering the entire solder pen holder so the heated tip makes contact with the PCB. The tip holds its position just long enough for the solder to melt and attach securely between the component pin and PCB pad. Once the joint is formed, the servo lifts the pen holder back up, and the machine moves on to the next soldering pad — repeating this delicate process with consistent precision.

Background Image 2

The Lifesaver Moment

Every project has that one moment where things could either fall apart or come together — and for PCB F.O.R.G.E., this was it. The N20 motor, our solder wire feeder, was working… but working too well. Without any speed control, it pushed the solder wire at full speed, and the result was a mess — the wire kept sliding over the soldering tip, never staying long enough to melt. At first, we couldn’t figure out why the wire wasn’t sticking, and the whole project felt like it was on the verge of failure. Then it hit us — the 5W soldering pen needed time to heat the wire properly. That’s when we came up with the idea of adding a PWM controller to regulate the N20’s speed. And just like that, everything fell into place. Slowing down the feeder meant the wire stayed perfectly in contact with the tip long enough to melt and form a solid joint. It was one of those breakthrough moments that kept this entire project alive — and it worked like an absolute dream.