Fail Of The Week: How Not To Use Pushbuttons

If you are a regular at creating printed circuit boards, it is likely that somewhere in your shop there will be a discard pile of boards on which you placed a component in the wrong orientation such that it would not work. It’s easily done, and don’t be shy to admit it if it’s happened to you.

[Bill] was making his own ARM developer board, taking inspiration from the ARM Pro Mini. He produced his PCB design and sent it off to the board house, and in due course received and reflow soldered a batch of beautiful dev boards. On power-up though, something was wrong! No USB device detected on his computer, a disaster. A lot of studying board and schematic led to the discovery that his push-button switches had been placed at 90 degrees to the orientation it should have had, leaving them in a permanently “on” position.

The PCB bug makes this is a Fail Of The Week post, but he transformed into a win with some experimentation with the switch outline in KiCAD before finding a way to mount the switches on the pads at 45 degrees, covering three of the pads. Well done, and well done for admitting the error.

[Editor’s note: been there, done that. One way to prevent the error is to only connect to diagonally opposite pins of the tact switch, so the rotation doesn’t matter.]

Having earlier asked others to come clean with their PCB mistakes, it’s probably appropriate to admit that Hackaday scribes are just as fallible as [Bill] when it comes to PCB layouts. Somewhere there may still be a board on this bench with a QFN microcontroller bodged on at 90 degrees to its original orientation, with cut tracks and tiny wire runs.

Whether you are a seasoned PCB pro or a wet-behind-the-ears rookie, our Creating a PCB In Everything series should be of interest.

48 thoughts on “Fail Of The Week: How Not To Use Pushbuttons

  1. While not my doing, I saw one board come across my bench for initial testing and firmware installation that just wouldn’t connect to the debugger.
    Close inspection revealed that the fab had rotated the first QFP bootloader chip by 90 degrees.
    In the same run, I found another that was offset by one pin. That one took closer inspection before I realized why it wasn’t responding.

  2. I remember this as one of my first fatal mistakes, a blow to my early teenage ambitions :-D

    But it doesn’t compare to an avionics DSP board protot where the big QFP sat belly up with hundreds of wires running out fo the pins. The pinout had been mistakenly reversed ! The dreaded “top view” / “bottom view” …..

          1. Hahaha @VK4MSL…

            Yep… “Skyhooks” in IC reference context, Gotta remember that one for if and when I build a kit:

            Sky-hooks… long hooks used to hold signs in a warehouse to the roof. (carry two),

            Long Weights…. a long cylindrical weight with the weight labeled as stretched as possible. (x2 one for each skyhook),

            Rubber hammer… made out of either a mallet or cast to look like a normal hammer,

            Glass nails… because rubber hammers need glass nails,

            Tartan paint… a compartmentalized paint can with pink and purple with a third void containing a partially set swirl of the two… to ya know Tartan-up that project (tartan, tarting, Tart…)

            A length of string… to answer, “How long is a piece of string” with, “This long”.

            I have a feeling a lot more “tools” can be added, however all this has to fit in a suitcase for that first time in another job.

    1. Unless you’re Brian Benchoff….

      However, letting the world know of your own roadblocks, fails, etc, can help others not fall down the same road and to help others with a quick fix suggestion when they do.

      OK, from now on I’ll resist non-constructive posts to a max of 2x per 50 comments and limit their comment to mild humor at best, unless the article is of low quality… Then I’ll either just not comment (Heck won’t even click on it) or this rule won’t apply.

  3. On a video capture chip in a package with 1 mm lead pitch, the manufacturer had numbered the 24 data outputs starting with 0 as the MSB, and I didn’t catch it, and connected them with 0 as the LSB. I wish I’d taken a picture of the rewiring job; it was pretty. Pretty ugly, that is.

  4. Then there is the classic one where there is a mismatch between the connector manufacturers pin numbering and the pin numbering of the footprint from the cad library.

  5. the use of corner to corner connection is actually a great failsafe method.
    Seen it a few times in commercial products, also makes seemingly compatible parts actually compatible where the pins are in the same place, however the internal construction rotates the conductors.

  6. Somehow mismatched the case for a TSSOP48 Flash with a TSSOP44 in the assignment of the footprint to the parts symbol. After I got the boards I had to slightly bend the pins and mount the Flash-chip at an angle, so that pins 1-22 matched with the footprint and the pins 44-25 at the other row. So I had to wire only 48-45 23-24 manually. But as a consequence of this one of the address lines was not fanned out under the BGA. We had to place a wire at a pin in an inner row with enameled wire. This did not work at the first try…
    It did boot up, but strangely the bad rate of the serial interface was half than expected. It turned out, the system clock also. There was a clock PLL which could do *1 or *2 but not divide. After some investigation it turned out that we had a connection missing (deleted logical connection instead of routed track), the supply of said PLL. So it supplied itself from the clock and passed on only every second pulse. Semi analog frequency divider :-)

    At least the prototype worked good enough to do the software installation (Linux OS) and setup.

  7. The biggest mistakes I have seen, and still see, are with three pinned devices such as transistors, scrs, triacs, etc…
    It’s gotten me once or twice early on so I know to triple check the datasheet against the footprint before committing.
    To92 can be worked with (while jamming to KoRn twisted transistor) but sot23 and to220 are a pain to try and correct when the wrong Pinot was chosen.
    Some people learn, some don’t. I know a few that, after 20 years will still make those mistakes and still argue with me on why it’s right while the triac is still smoking on the bench…..
    Engineers (palm to the face while shacking head…..)

    1. Check the datasheet? With through hole transistors? Maybe it’s because I buy too many old silent keys’ junk boxes and cheap ebay parts but I find that there are too many variations and I might not have the right datasheet. I prefer to have parts in hand and just slap them in a transistor checker. That way I KNOW which pin is which!

    1. > Aaaargh, my fault, worked on that part too late at night.
      I have a rule which already saved two of my latest projects: Never send pcb to fab house the same day it’s finished. Do a thorough validation check next day. In every instance the next day I’ve found some errors which would be hard to fix.

  8. Whew! I don’t feel so bad, anymore, about getting the wrong power buss across an LED/button board I just had fabbed. I Dremel cut and hot-wired the buss to recover. I guess I should take a pic for posterity. :-D

  9. I’ve done the switch one before. Worst fail, flipping a 50 pin 0.3mm pitch FPC connector. A great tech we had took some magnet wire and flipped it back in a couple of hours. My other favorite one – Siemens used to make a DMA controller chip in PLCC where they numbered pin one from the corner, when everyone else in the universe put pin 1 in the center of a side for that package. IIRC it was 84 pins and a messy rework.

  10. If you wanted a male 9 pin D connector and selected a female one, only to notice when you get the board back, you can put the male pin on the bottom of the board and the pinout will be fine.

  11. Been there done that… Kinda…

    A while ago, I wasted about $100 worth of components on a stupid mistake: I had set the mask clearance of my PCB design to a certain value in inches while I was thinking in millimeters. The result was three boards from OSHpark that had the tiniest sliver of ground/VDD plane exposed around each pad.

    So the plan was to solder one board together to test it, and if it worked, start selling the project on Tindie. But of course I didn’t see the problem (stupid 50 year old eyes) and I couldn’t figure out why my VDD was shorted to Ground. So I shrugged it off and made the second board of the three, step by step so I could make sure the short wouldn’t happen again. But of course it did, very quickly.

    I eventually made that second board work because I carefully cleared all the solder shorts, but I had to put a big warning on the board with a Sharpie. But that didn’t happen before I soldered the third board together (aware of the problem) and still couldn’t make it work: to add insult (bad luck) to injury (stupidity) the third board was missing a lot of vias because the drill had apparently broken in the middle of production, and no-one had noticed.

    For the long version of the story, read: https://hackaday.io/project/3620-l-star-software-defined-6502-computer/log/45504-so-much-fail-building-the-rev-4-boards

  12. I designed a microcontroller board once. The power stabiliser was down left. The plus was going up and then to the middle where a flipflop clocked the data out. The minus went to the right and then up and then to the middle to the flipflop.I created a heck of a coil there. A capacitor was not needed i thought during designing. The flipflop created his own data, and didn’t clocked the data from the databus. That board was a kind of randomgenerator instead of a microcontrollerboard. I solved the problem with a capacitor and an extra wire for the minus. I improved my PCB-designing skills since then a lot. I solved the problem with a capacitor and an extra wire for the minus. I improved my PCB-designing skills since then a lot.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.