Screaming Circuits: Engineer stories

Disruption and The Internet of Things

Every few years something new rears its head and changes everything. The old rules break, convention gets unconventional, storied institutions get shaken to the core. We call this, "Disruption."

Automobiles disrupted the horse and buggy industry. Airplanes disrupted the passenger ship industry. Computers disrupted the typewriter industry. In 2003, Screaming Circuits brought disruption to the electronics manufacturing industry by bringing it online, with performance and flexibility previously unheard of.

The latest disruptive current is the Internet of Things (IOT). It means everything will be connected. Everything will be intelligent, and everything will be complex inside.

I recently spoke on "The Peggy Smedely Show", a part of the Connected World Network, about disruption, the IOT, and how Screaming Circuits is, again, driving disruption, this time by helping enable the IOT. 

Give yourself a little over twelve minutes and hear what I had to say.

Duane Benson
A QFN says "What?"


Running Out of Time - You'd Rather be up on the Mountain

How many times can the project manager come in and ask how the PC board design is doing? Why can’t management understand that it’s difficult to say how long it will take to do something that’s never been done before? This is totally new ground. It’s innovation in its purest form. And you, the designer are driving it home.

If only you could squeeze a few more days into the week. If only you could have the confidence that the boards will be built right – this is complex stuff, with wafer scale 0.4mm pitch micro BGAs, QFNs all over the place, and 0201 resistors and capacitors sprinkled around like salt and pepper.

 - You can squeeze more time in. You can be assured that the complex parts will go on right. You can keep the boss happy. Screaming Circuits quick-turn assembly service can build your job remarkably fast. Mount_Hood_reflected_in_Mirror_Lake,_OregonShort deadlines and difficult boards are our bread and butter.

It’s 6:00 pm on Friday. Hit “save” on your CAD file for the last time, and hop on over to A quick quote, order, and files upload, and you’re off to join your college buddy on the climb up My Hood you’ve been talking about for a month.

Don't delay, the mountain awaits your boot prints.

Duane Benson
Because it's there...

What's In Your Way?

If you're attempting to cross the median of a busy four-lane highway, it's entirely possible that there's a Jersey Barrier in your way. In that particular setting, having something sturdy blocking your way is probably a good thing. On the other hand, I would bet that, for the majority of you reading this, there are some barriers around you that you'd much prefer not to run into.

Jersey barrier dimensionsBarriers can bring on stress, uncertainty, risk, and a general sense of despair. Despair can lead to hopelessness. Hopelessness can lead to you being rolled up in a fetal position under your desk, tangled up in the nest of cables that every good engineer has under their desk. As everyone knows, if you're under your desk tangled in cords and whimpering when your boss walks in the room, you're probably not going to get a Christmas bonus.

That's where smart outsourcing can help. We talk about PCB Assembly as being our thing, but conceptually, it's more of a case of us trying to remove some of your barriers. We'd prefer that you get your Christmas bonus rather than getting carted off on a gurney, too afraid to open your eyes for fear of the glare of your abandoned co-workers.

Here's what we suggest:

  • Spend a little extra time on design review to increase your confidence (ever find an overlapping trace the day after sending the design out?) 
  • Double check that your BOM and or parts kit is current (If you chose the parts a few weeks ago, some may have gone out of stock)
  • Drink some water (dehydration can interfere with a clear, logical thought process)

If the extra day or two doing so causes a problem, just order a faster turn-time.

Duane Benson
129 °F in June of 2013?!
Well, what did you expect from a place called "Furnace Creek"?

Using the Newest gen ARM, Part III

The continuing saga of the 0.4 mm pitch KL03 ARM microcontroller. If you haven't yet done so, read part I, and part II.

Today, I have a look at the good, the bad, and the ugly - or more accurately, the good, and the bad and ugly. As I expected, I was quite pleased with the job done here in house. The board is nice and clean, the parts are well centered, and the solder joints are solid. No surprise here.

Here's a top-view of one we did here in Screaming Circuits:

4mil top view 800

Next, I've got one that I did at home. It actually surprised me and came out better than I had expected. Here's a top-down view of the one I did at home with home-grade tools (No, I didn't intentionally make it look bad. The board surface is just a bit shinier than the one above.):

Home top view 800

Of course, "better" is a relative term. I didn't say good. I could call this both bad and ugly. I did manage to center the parts quite well - that took a lot of careful nudging with sharp tweezers and and an X-Acto knife blade.

All of those little round shiny spots are solder balls. That's what happens when you get too much solder on the board, get solder off the pads, or have the wrong reflow profile. They might look harmless, but if there are too many under the chip, the connections could be shorted.

The fillets on the 0201 capacitor are a little lean on solder in the one I did, and there's a solder ball on the right side, but, again, it looks better than I expected.

Next time, I'll post the X-rays and show what's under the hood.

Duane Benson
Carburetors, man.
That's what life is all about


I'm a bit behind in my blog work - well, way behind, actually. I started this series back in January with the intro post.

Here's where I am right now:

  1. I have three different sets of PC boards.
  2. One set, I took home to see if it's possible to solder a micro BGA at home. (As someone working at a car manufacturer might want to see if they could balance a crankshaft at home, for fun)
  3. Two sets, from our partner, Sunstone Circuits, are here in my desk with parts, ready to go through our machines.

After I've got all three sets built, I'll have them X-rayed to see how they look under the hood. Finally, I'll solder thru-hole headers on and fire up the chips to see if the shared escape system works.

Here's one of the boards without access to the inner pads:

KL03 SunstoneFF 4mil (2)-001

And, here's the shared escape:

KL03 SunstoneFF 4mil (3)-001

The main concern I have is that Reset is on one of the inside pins (B4). I'm not sure if I can get the chip to a state where it will operate properly without unobstructed access to reset.

The routing I've chosen is probably the only possible option for reset. Pin A4, right above, is used for the single-wire debug (SWD) clock. I'm assuming that can't be shared. B5 is Vdd, so that's out. It might be possible to go down. C4 defaults to one of the crystal pins, and D4 defaults to a disabled state.

In the route I've chosen, B3 is an ADC input, so it should start out high-impedance, and therefore not interfere. A3 defaults disabled, so it won't get in the way.

Next step: solder time!

One other thing - The images above show non-solder mask defined (NSMD) pads. Those are standard for BGAs 0.5mm pitch and higher. This part is 0.4mm pitch. Some manufacturers recommend solder mask defined pads (SMD) for 0.4mm and smaller. I'm actually testing several pad styles: SMD, NSMD and solder mask opening = copper.

KL03 footprint contenders

Duane Benson
Run it up the flag pole and see who solders

Using the Newest gen ARM Microcontrollers

KL03 on stampI've written a few times about the new Freescale KL03 ARM Cortex M0+ microcontroller. This particular part comes only in very small packages, with the smallest being a 1.6mm x 2mm WLCSP (wafer level, chip scale package) 0.4mm pitch, 20 bump, BGA. That's a mouthful - albeit a very tiny mouthful. Maybe just a toothful.

On the left, here, I've got a pair of them on a US postage stamp.

For us, it's not a particularly difficult part to assembly; just a garden variety 0.4 mm pitch BGA, as far as we're concerned. We place loads of them. But, it can be a very different story for a designer. Conventional wisdom says that a PCB designer has two choices with a part like this: a very expensive PC board, or don't use the part.

Escape routing becomes very difficult (read: expensive) at 0.4 mm pitch. This part only has six connections that need to be escaped, but that can still be a problem. You can't fit vias between the pads KL03 SunstoneFF 4mil 800to escape out the back side. You can't put vias IN the pads, unless you have them filled and plated over at the board house. That's expensive in small quantities.

This blog post series is going to examine some possible ways to use these parts with more of a standard fab, such as Sunstone quickturn. I've got three different process blank PC boards, each with four different land patterns.

I've been asked about home reflow too, so as a bonus, I've done my best to duplicate hobbyist conditions for one of the board sets.

Check back next week for the first set of results, and be sure to quote your assembly job at Screaming Circuits or your PC boards at

Duane Benson
"Screaming Reflowster" not sold here

Do you Need that Part? Or, is it Just Habit?

At the moment, I'm working on an Arduino compatible clock. Like most of my Arduino compatible boards, this one uses an Atmega32U4, with USB built in. With the Atmega32U4, I sacrifice a little in program memory and SRAM, but gain a bit in reduced parts count.

A USB capable Arduino-compatible is, of course, programmed via USB, and can be powered by the USB port. Most Arduino boards also have a 5 volt regulator to be used when being powered by a wall-bug power supply. Naturally, I put the USB connector on the clock board, as well as the 5 volt regulator. With the two different supplies, I also put in circuitry to auto switch sources and protect the USB host when both supplies are connected at the same time.

NeoPowerSupplyMy first PCB revision required a few hand-mods, but not many. Still, I decided to re-spin the board and remove the two mod wires. While doing so, it suddenly occurred to me - a blinding flash of the obvious - that most cell phones and other small devices are charged with a USB-connector 5 volt wall-bug power supply. Why then, would I also need a separate power supply and on-board 5 volt regulator?

By pulling the regulator off of the board, I could eliminate a few capacitors and the supply auto-select / protection circuitry. Not only did I save in component cost, but I was able to reduce the PC board size, and thus cost, by about a third.

  1. I had the 5 volt regulator in the design because Arduinos can be powered by either USB or a non-regulated power supply.
  2. The reverse power protection is necessary to prevent damage to the USB host if the other power is also connected.
  3. The auto-power switching circuit is necessary so that a user doesn't need to flip a switch or change a jumper when changing power sources.
  4. I had two extra LEDs to indicate which supply was powering the clock.

I questioned my original assumptions, found a "because it's always done that way" and eliminated it. Assumptions are meant to be challenged.

Duane Benson
Question authority!
And then get squashed
(or, squash extra space out of your PCB)

Intergalactic Geek Pride Day Quiz

There was a time when "Geek" was far from a badge of honor. Jr. High School (AKA middle school) was developed specifically for the purpose of making geeks miserable. We were told that lockers were  designed for holding books, lunches jackets, but in reality, the secret anti-geek coalition had lockers installed so geeks could be stuffed inside of them, or could have the doors slammed in their faces.

But, then something happened. While the world wasn't looking, a geek became the richest man in the world. Pro-nerd and pro-geek movies became popular. It became cool to claim to be a geek or a nerd. The problem is that there's a big difference between claiming the title "geek" and being given the title "geek."

Well, May 25th is Geek Pride Day. In honor of Intergalactic Geek Pride Day, I've put together a little quiz on the subject.


  1. Is it better to be considered a nerd, a geek or both?
  2. What's the difference between a nerd and a geek?
  3. Does the outside world know the difference between "nerd" and "geek" and thus does it matter which one you're called?
  4. If you've never actually been called a geek, but claim to be a geek anyway, are you really a geek?
  5. If a geek talks in the woods, but there's no one there to hear, did the geek actually speak?
  6. If you can explain what you do for a living (or hobby) to a random stranger and have more than about one in fifty understand, can you still claim to be a geek?
  7. If you don't have enough cables laying around the houses to connect just about any two pieces of computer / electronic equipment together, can you really claim to be a geek?
  8. If you can't assemble a spare PC from parts you have around the house in about an hour, can you still claim to be a geek?
  9. If you can't count in more than one base, can you still claim to be a geek?
  10. If you don't love songs by Tom Lehrer, can you still call yourself a geek? (If you don't know who he is, quick: Youtube)

 Bonus question:

  1.  Tesla or Edison?


If you're a true geek, you already know the answers so I don't need to list them.

Duane Benson
The best revenge is not violence or deviousness
The best revenge is to be happier
...and to build robots for world domination


Canada's Singing Astronaut

If you're going to exit, you may as well exit in style and I can't think of a better example than Commander Chris Hadfield's "good by" from the International Space Station on Monday (May 13). Thank you, Astronaut Hadfield.

Since this is my  electronics blog, I've got to tie it into electronics design and assembly, so, like um... If you're building electronics for space, you might need to better insulate your PCB traces or put wider gaps in because otherwise you might get arcs and stuff. And be sure to shave your tin whiskers.

Duane Benson
Please sir. May I have some more


I have a question for you. When is the last time that you responded to an unsolicited email? It's been a very long time for me. However, I just did open up and read an unsolicited email that actually seems somewhat relevant to me. The specific subject was an offer to be a guest blogger here on I don't know that I'll take them up on the offer. It kind of depends on what they might want to write about.

But I did jump over to their website: I've never done business with them, but they do have some interesting products and they started in a garage in 1971. Anyone who started in a garage 40+ years ago and is still around must be doing something right. Their site looks like it's more or less focused on test & measurement, prototyping, robotics and other things electronic. (I think I've heard the term "prototyping" someplace...).

What first caught my eye as relevant was their section on digital panel meters. Why would that catch my eye, you might ask? (Or you might not) The first panel meter I looked at is an "independent power supply version." Ah, the plot thickens. Just last weekend, I exploded a power supply in a robot I'm building. It didn't actually explode, but it certainly did release smoke and stopped releasing electrons at about the same time. Smoke for electrons is not  a fair trade as far as I'm concerned.

I was putting a digital Ammeter on the main power line and couldn't remember if it the meter was designed for high side or low side. Poof! I empirically determined that it was designed for low side. I should have known better because it drew power from the robot power supply without any isolation.

If my meter had an isolated or independent power supply, then I could probably have put it on the high side. Oh well. It wasn't the first time I've traded smoke for electrons, nor will it likely be the last.

Duane Benson
rhythm characterized by regular recurrence of a systematic arrangement of basic patterns in larger figures