# Swapping Dev Board Crystals to Suit Your Needs

Microcontroller Dev Boards have the main hardware choices already made for you so you can jump right into the prototyping by adding peripherals and writing code. Some of the time they have everything you need, other times you can find your own workarounds, but did you ever try just swapping out components to suit? [Andy Brown] documented his process of transplanting the clock crystal on an STM32F4 Discovery board.

Even if you don’t need to do this for yourself, the rework process he documented in the clip after the break is fun to watch. He starts by cleaning the through-hole joints of the crystal oscillator with isopropyl alcohol and then applies some flux paste to each. From there the rest is all hot air. The crystal nearly falls out due to gravity but at the end he needs to pluck it out with his fingers. We’re happy to see others using this “method” as we always feel like it’s a kludge when we do it. Next he grabs the load caps with a pair of tweezers after the briefest of time under the heat.

We’d like to have a little bit of insight on the parts he replaces and we’re hoping there are a few crystal oscillator experts who can leave a comment below. [Andy] calculates a pair of 30pf load caps for this crystal. We understand the math but he mentions a common value for board and uC input capacitance:

assuming the commonly quoted CP + CI = 6pF

So we asked and [Andy] was kind enough to share his background on the topic:

It’s a general “rule of thumb” for FR4 that the stray capacitance due to the traces on the board and the input (lead) capacitance of the the MCU is in in the range of 4-8pF. I’m used to quoting the two separately (CP,CI) but if you look around you’ll see that most people will combine the two and call it just “CP” and quote a value somewhere between 4 and 8pF. It’s all very “finger in the air” and for general purpose MCU clocks you can get away picking the mid-value and be done with it.

That leaves just one other question; the original discovery board had an in-line resistor on one of the crystal traces which he replaces with a zero ohm jumper. Is it common to include a resistor and what is the purpose for it?

# A DIY Pick and Place You Can Build Right Now

There have been quite a few DIY pick and place projects popping up recently, but most of them are limited to conceptual designs or just partially working prototypes. [Juha] wrote in to let us know about his project, LitePlacer, which is a fully functional DIY pick and place machine with working vision that can actually import BOMs and place parts as small as 0402 with pretty good accuracy.

While some other DIY pick and place setups we’ve featured use fairly exotic setups like delta bots, this machine is built around typical grooved bearings and extruded aluminum. The end effector includes a rotating vacuum tip and a camera mounted alongside the tip. The camera provides feedback for locating fiducials and for finding the position of parts. Instead of using feeders for his machine, [Juha] opted to pick parts directly from pieces of cut tape. While this might be inconvenient if you’re placing large quantities of a single part, it helps keep the design simple.

The software that runs the machine is pretty sophisticated. After a bit of configuration it’s able to import a BOM with X/Y information and start placing within seconds. It also uses the camera to calibrate the needle, measure the PCB  using the fiducials, and pinpoint the location of cut tape sections.

If you want to build your own machine, [Juha] published detailed instructions that walk you through the entire assembly process. He’s also selling a kit of parts if you don’t want to source everything yourself. Check out the video after the break to see the machine import a BOM and place some parts (all the way down to 0402).

When [Adam] found himself in need of a force meter, he didn’t want to shell out the cash for a high-end model. Instead, he realized he should be able to modify a simple and inexpensive kitchen scale to achieve the results he desired.

The kitchen scale [Adam] owned was using all through hole components on a double-sided PCB. He was able to easily identify all of the IC’s and find their datasheets online. After doing some research and probing around with a frequency counter, he realized that one of the IC’s was outputting a frequency who’s pulse width was directly proportional to the amount of weight placed on the scale. He knew he should be able to tap into that signal for his own purposes.

[Adam] created his own custom surface mount PCB, and used an ATMega8 to detect the change in pulse width. He then hooked up a Bluetooth module to transmit the data wirelessly. These components required no more than 5V, but the scale runs from two 3V batteries. Using what he had on hand, [Adam] was able to lower the voltage with just a couple of diodes.

[Adam] managed to cram everything into the original case with little modification. He is now considering writing an Android application to interface with his upgraded kitchen scale.

# How To Laser Cut Mylar Solder Stencils

When you think about the difficulties of working with surface mount components, the first thing that often comes to mind is trying to solder those tiny little parts. Instead of soldering those parts by hand, you can actually apply solder paste to the pads and place all of the components on at once. You can then heat up the entire board so all of the parts are soldered simultaneously. It sounds so much easier! The only problem is you then need a solder stencil. You somehow have to get a thin sheet of material that has a perfectly sized hole where all of your solder pads are. It’s not exactly trivial to cut them out by hand.

[Juan] recently learned a new trick to make cutting solder stencils a less painful process. He uses a laser cutter to cut Mylar sheets into stencils. [Juan] appears to be using EagleCAD and Express PCB. Both tools are available for free to hobbyists. The first step in the process is to export the top and bottom cream layers from your CAD software.

The next step is to shrink the size of the solder pads just a little bit. This is to compensate for the inevitable melting that will be caused by the heat from the laser. Without this step, the pads will likely end up a little bit too big. If your CAD software exports the files as gerbers, [Juan] explains how to re-size the pads using ViewMate. If they are exported as DXF files, he explains how to scale them using AutoCAD. The re-sized file is then exported as a PDF.

[Juan’s] trick is to actually cut two pieces of 7mil Mylar at the same time. The laser must be calibrated to cut all the way through the top sheet, but only part way into the bottom piece. The laser ends up slightly melting the edges of the little cut out squares. These then get stuck to the bottom Mylar sheet. When you are all done cutting, you can simply pull the sheets apart and end up with one perfect solder stencil and one scrap piece. [Juan] used a Full Spectrum 120W laser cutter at Dallas Makerspace. If you happen to have this same machine, he actually included all of the laser settings on his site.

# Reflow Oven Controller with Graphic LCD

A reflow oven is one of the most useful tools you will ever have, and if you haven’t built one yet, now is as good a time as any. [0xPIT’s] Arduino based reflow oven controller with a graphic LCD is one of the nicest reflow controllers we’ve seen.

Having a reflow oven opens up a world of possibilities. All of those impossible to solder surface mount devices are now easier than ever. Built around the Arduino Pro Micro and an Adafruit TFT color LCD, this project is very straight forward. You can either make your own controller PCB, or use [0xPIT’s] design. His design is built around two solid state relays, one for the heating elements and one for the convection fan. “The software uses PID control of the heater and fan output for improved temperature stability.” The project write-up is also on github, so be sure to scroll down and take a look at the README.

All you need to do is build any of the laser cutters and pick and place machines that we have featured over the years, and you too can have a complete surface mount assembly line!

# Manual Pick and Place

Populating a large surface mount PCB can take forever. [craftycoder] from Freeside Atlanta has built a great looking manual pick and place machine, removing the need for tweezers. No more will passives stick to your tweezers while you are trying to place them on your PCB!

We have seen a lot of pick and place machines in the past few years. What makes this one stand out is its simplicity and the no-nonsense build. This pick and place is built on an MDF platform, uses bearings from Amazon, standard 12 mm rails, and has a small camera for a close-up look at your part placement. Sure it is a manual method, but it beats painstakingly placing each part with tweezers. It would be interesting to see how much this entire build cost; we expect that it was not too expensive. See this thing in action in the video after the break.

We hope this project has inspired you to go out and make something cool! If so, let us know what you have made!
Continue reading “Manual Pick and Place”

# This SMD Reflow Hot Air Gun Hangs Around Your Workbench

Has reflowing surface mount components got you down? [Giorgos] is currently working on a project that will lift your spirits…. well at least your hot air gun. Tired of manually holding his heat gun in one hand and IR thermometer in the other, [Giorgos] set out to create a device to alleviate just that. Although not completed yet, it appears the machine’s intent is to hold the heat gun at an appropriate height above the work piece in order to achieve the correct reflow temperature. He doesn’t say how the height of the hot air gun will be controlled. We’d like to see a microcontroller adjust the height of the hot air gun depending on the temperature of the component to be reflowed. [Giorgos] gives an extremely detailed account of his build process. Make sure to check out all four pages of the project post!

We’ve seen a lot of interesting work from [Giorgos] over the years like this capacitive touch-pad entry system.

[via Dangerous Prototypes]