LED Pendant - PCB iteration
I’ve been working on an electronics project. A small 7-LED pendant that can be recharged over USB.

Making something a piece of electronics to be worn as jewelry means that it needs to be small. And to get small electronics, you need to make your own printed circuit board. What follows is three attempts at making my own circuit boards, and the lessons learned along the way.
Version 1 - trigger happy.

I jumped right Eagle CADSoft, very excited to get a PCB ordered since the turnaround can be as long as two weeks. My enthusiasm was not rewarded. What you see above is most of the required components thrown onto the board wherever they fit. Then I pressed the autoroute button, which creates the traces to connect everything together. The result is a bit of a mess.
It worked, mostly, but there were some problems.
- A via (plated hole that joins top traces to bottom traces) was automatically placed under the USB port. This was on the power line coming from the USB port. Problem is the housing of the USB is connected to ground. If the USB housing touched that via, it’s an instant short circuit.
- Traces were very thin. My first try to attach the USB port ripped the copper off the board when I tried plugging it in an out with a bit of force.
- The R1 resistor turned out to not even be needed. Oops.
- The design relied on an Adafruit LiPoly Backpack to charge the battery, adding cost and size.
- Autorouted traces on the board offend my sensibilities as an engineer and an artist. It’s just ugly.
Version 2 - poorly executed USB charging.

I did some research on charging Lithium Polymer batteries and found the MCP73831, a teensy little chip that handles most of it’s complexity. By adding this chip, and the other components it needs to function, to the board I can shrink the product in both size and cost. The problem was that I plunked those components on the board wherever they would fit.
I also decided the autorouter was not to be trusted and learned how to route things myself. I thickened by trace width and got routing. Then as before, I got excited and placed my order. The next day, I had regrets.
- Battery pins being diagonal doesn’t really fit with my enclosure designs.
- There are 9 vias, that’s a lot, which may be a sign that everything is far more tangled up than it needs to be.
- Components still randomly placed all over, no sense of order or design.
Version 3 - Something to be proud of, for now.

I quickly realized that my layout was terrible. Basically, components that are linked together should be near to each other. Then the traces that connect them can be short and clean, and less stuff gets tangled with long traces and too many vias.
Improvements:
- Moved the USB charging components all very close together.
- Use a ground plane, which means the ground connection does not have to be routed, it just connects to the plane.
- Move components around to “center” them on the board, as much as possible, which makes it look a bit cleaner.
- Only 2 vias, and they will be hidden by the main controller chip.
- Vias now have no exposed copper on top, so they will never accidentally short.
- USB port and power switch moved closer to the edge so they are more accessible to giant fingers.
This has been an amazingly fun journey into learning to make circuit boards. I’ll be posting some more fun stuff of the assembled product soon. In the meantime, check it out yourself, it’s open source software and hardware.
And special thanks to OSH Park.com the most awesome PCB fab in town for hobbyists like me.





(exciting, eh?)
