Constantin
Well-known member
Although i clearly have more to learn, i do know everything you just mentioned, but couldnt make it fit any better on a 2 layer board. I honestly have no idea how to route that board with fewer vias. I didnt include decoupling caps on the mini54 people paul's schematic didnt have them. I've used that crystal because its cheap and performs the same.
Decoupling caps belong on every power supply into a chip. They keep digital noise in (if applicable) and keep the chip well-hydrated re: power. Whether or not Paul showed the decoupling cap at the Mini 54, follow good practices, and don't just blindly copy. That reminds me of an old trade-show related tale where allegedly a British manufacturer displayed a pump with a non-sensical bolt placed into the volute and then delighted in discovering / publicizing how their far-east competition slavishly copied the design- down to the non-sensical bolt.
When you say the 'ground plane isn't used on one side' do you mean that I have not filled the top layer with another ground plane? Surely that just means you have to cut through the ground plane constantly which is bad?
FWIW, for 2-layer designs I avoid using one side for anything but GND. The other side gets signals, power traces, and so on. Any unused space on the signal/power side gets tied via multiple vias to the gnd plane on the other side. For example, the Mini54 daughterboard has zero signal or power-related vias. All Vias are strictly there to tie the top and bottom GND to each other.
If you understood all these principles, then I struggle to understand why you'd via the PGM button connection to the Mini54, for example. There was no reason to use a via, you had a clear shot at connecting the PGM signal directly to the chip. Your decoupling caps weren't tied directly to the GND plane either, nor the VSS pins on the chip. That chip should be sitting in a vast sea of GND seeing that so few pins are actually connected to anything.
When you redesign your boards, I suggest you see how you can accommodate the needs of both boards in terms of your header and pin selection. The current design is dense, easy to solder and hard to route to well. Alternative approaches to the header selection and pin designation may make for a easier routing exercise.
Apologies, but I'll re-iterate my suggestion to abandon the bare metal approach for now and focus on getting a working product (even if it sells at a higher price in lower volumes) and only then investing the engineering to make a lower-cost bare metal system if demand and interest warrant it.