wizzdev image

ESP32 Optoisolated Programmer – PCB Analysis #2

Welcome to the continuation of our mini-series of blogs about the ESP32 Optoisolated Programmer – PCB Analysis #2. Enjoy!

Screen printing stencil 

The first step in SMT assembly is to apply solder paste to the copper pads on the PCB using a stencil. This is a metal foil with holes cut in it, called apertures. 

The board is placed under the stencil, while the solder paste is placed on the stencil. Using a squeegee, the paste is spread on the stencil, like butter on bread. The paste fills the apertures and sticks to the PCB. Then, the board is moved away from the stencil and goes to the further production stage.

Aperture design is critical to eliminate solder defects such as short circuits, missing solder, and solder balls. A good practice is to reduce the apertures in the stencil by 10% relative to the dimensions of the solder fields on the board. This will compensate for small misalignments of the board position to the stencil, resulting from machine inaccuracies and stencil stretching due to wear.

Proper placement of soldermask is also important. This is a protective layer to prevent the oxidation of the copper. In addition, the soldermask will prevent short circuits. The hole in the soldermask that exposes the solder pad is called the window. The window needs to be slightly larger than the pad because, during PCB production, soldermask is always applied with some offset. If the soldermask were to overlap the pad it would lift the soldermask stencil. If the stencil was not pressed against the PCB surface then the paste would escape beyond the actual printing area.

In the figure below we have marked what the correct windows in the soldermask and apertures in the solder stencil look like.

Pin in paste

The USB socket has a few pins soldered with SMT solder paste and four pins through it, to make it difficult to detach the socket from the board if the cable is tugged.

It is possible to solder small through-hole components together with SMD components in the SMT process. This is called the pin in the paste process. It involves printing solder paste from the holes where the solder pins are to be placed. Then the component is applied by a pick&place machine and soldered at the same time as the other SMD components. 

In order to properly apply the solder paste, we need to cut large enough windows in the soldermask. The solder paste is applied into the hole, on the metal border of the hole, and directly on the laminate. The soldermask forms a reservoir that prevents the liquid tin, once the paste has melted, from spreading on the board creating unwanted solder balls (which is a disadvantage according to IPC-A-610 as they can make a short circuit).

PCB with applied solder paste.

PC with components placed on the solder paste, ready to be soldered in a reflow oven.

This is what a properly soldered pin-in-paste USB connector looks like.

Graphic elements

Since this project is a demo project, we wanted our logo to be clearly visible. The WizzDev company logo is a two-color design. For this reason, part of the logo is done in white paint on the soldermask. The other part is made as a window in the soldermask, revealing gold-plated copper. 

Gold plating is used for much more advanced designs, mainly with BGA chips and edge connectors. In the case of our project, there is no need for the board to be gold plated. We used gold plating for aesthetic reasons only. The same goes for the black soldermask color. We usually use green because it is the cheapest.

Stay tuned for the final article about our PCB Analysis. Until the next time!

Recent entries

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.