“PnPAssist is a tool that helps you to assemble PCB boards manually.
The PnPAssist is an open source innovative CNC table that position the next SMT component with a proper orientation for you to make hand assembly a lot more fun and way more efficient. PnPAssist is a numerical, precise positioning device that makes tedious and repetitive manual PCB assembly easier for you and prevents you from making mistakes.
Why I build this?
I often find myself assembling PCB boards that I designed for my own R&D activities or for a small number of boards I prepared for sale on Tindie. This process is a little bit painful. First I find the location and value of the component from the CAD software. Then I find the right value/package component from my boxes among dozens of components and locate that component by determining its place on the blank PCB. This process continues repeatedly for each component. I designed a tool for myself to improve this time-consuming and error-prone process.
I take a look at the PnP machines for a long time and made researches to make or buy one for myself. But every time I gave up. It frightened me whether it would be accurate enough and the time consuming preparation phase for each new type of board. After all, I was making dozens from one type of board, not hundreds of the same board. There was no enough place in my room for such a large machine. That’s why I decided to design a simpler and easier device.
How to Use It?
This machine works with a PnP mount file. Most of the CAD software (may be all of them) for PCB design has option to export this file. For Autodesk Eagle you can export from File > Export > Mount SMD menu
This text file contains the name, X coordinate, Y coordinate, angle, value and the package of the components on the PCB.
R5 14.31 6.59 90 470ohm M0805
R6 16.41 10.04 180 470ohm M0805
Save this mount file to an SD card and put it on the PnPAssist SD card reader. The machine will home itself on power up.
Place the empty board on the rotary disk. Now you are ready to PnP. For the fist component you need to adjust the machine position under the laser cross. Every time you click the on board switch the machine moves in order to center the next component under the laser cross and the microscope. If you do not have a microscope You can only use the laser cross indicator. When the next component is at the center of the main rotary axis you can rotate the machine to feel your self comfortable to put the component on its place. The machine will show you the name value and the package of the component that you will use on it’s oled screen.
This machine has one linear and one rotary axis. The two lead screws move one center gear. This design have many advantages and simplifies the hardware design. The lead screws with center gear design locks the axis from moving and rotating freely and provide great precision. If you move only one of the motor the table moves and rotates at the same time. In this aspect there is a similarity with the CoreXY platforms. If you move the motors same amount at the opposite directions only the rotary axis moves. If you move the motors same amount at the same direction only Y axis moves. For this reason I decided to use only one step pulse signal from the micro controller to the motor drivers. This ensures that both motors rotate the same amount.
I use atan2 function to convert the Cartesian coordinates to Polar coordinates for the rotary axis. A polar coordinate system uses an angle and a distance from a center point to define a point in 2D space.”