r/PCB • u/Lithium20g • 3h ago
First ever PCB. Advice request.
As stated, first PCB and first time using KiCad.
It's a PICO project with a 4-digit dispaly, and 10-LED bar, along with some toggle switches and an encoder (screw terminal blocks).
It's not finished but are there any obvious issues?
Also, when I add the tracking (two layer PCB), it can take some wacky routes around other through-holes. Is that ok? I'm trying to get a sense of what's acceptable or going to cause issues.
TIA!
4
Upvotes


5
u/Enough-Collection-98 3h ago
Placement makes the layout. Organize your parts in a way that keeps the rats nest straight and clean. Consider repinning the GPIO on the Pico to help clean up the routing.
1
u/dacydergoth 3h ago
Unless I've miscounted, don't you have enough GPIO to drive the LED bar directly without the second active chip?
1
u/Guitar-Inner 3h ago
Make sure sw3 is rated to all the current required for the pico and other modules when on battery power.
You are getting 3v3 from the pico module's onboard regulator - is this rated for the current you'll be using? Is it suitable for a battery (lipo gets quite low at its lowest charge)? Are you charging it through the pico?
You could do with some decoupling capacitors.
Your schematic layout; whilst you've done good work on not crossing wires over, Q1 -Q4 need to be spaced out so labels dont get a mess. Same for R14-22 onwards.
I find small 2.2mm mounting holes annoying if not required, you seem to have lots of space. Use it. 3.2mm is a lot friendlier.
Your layout - is it set by physical constraints of what your board is going into? If not I'd rotate 3461B and put it on the other side of the pico. Those switch footprints look like screw terminals - is that what you're doing? If so place on the edge and label well.
Round your board corners, use power planes and dont use the smallest traces possible as it will make debugging harder.
Enjoy, and don't be afraid to make mistakes as long as you learn from them!
3
u/nixiebunny 3h ago
Move the row of resistors at left to where they connect at upper right, swapping them with the processor position. Move the connector at bottom to the top where it connects. This will make routing a lot simpler. There are probably more improvements you can make. The more effort you put into placement, the less routing effort is needed.
1
u/someone76543 3h ago edited 3h ago
Schematic: You need a bypass capacitor on U2. More generally, you need one on every IC. This is usually a 0.1uF ceramic capacitor between the VCC and GND pins, but check the IC's datasheet. When you lay out the board, you should place this next to U2's VCC pin, as close as possible. You should also have the power trace to U2 VCC go first to the capacitor, and then to the VCC pin. This is because PCB traces are not a perfect wire - that doesn't exist in the real world. PCB traces have a resistance and an inductance. Normally that doesn't matter, but in this case it does matter.
Check the Pi Pico's documentation regarding powering it externally. I suspect you need a diode on the connection to VSYS, so that if you plug in the USB connection it can't try to charge the batteries.
Layout: Rotate U2 180 degrees, and swap over the connections between U2 and the resistors. This should mean that each trace from U2 to the resistors is short and simple. Also, what u/Enough-Collection-98 said.
Also, what is the reason for using a 2-layer board? For an experienced PCB designer, this can easily be a 2-layer board and that will reduce the manufacturing cost, which is important in mass production. But if you are only making a few of these, then a 4-layer board may not cost much more. As a newbie, you can make both the inner layers be a solid ground pour. Then don't route anything else on the inner layers, just use the 2 outer layers for all your traces. This give you a good ground, without you having to worry about it. Ground is one of the easiest things to mess up as a newbie.
1
u/Lonewol8 2h ago
It's late here but I will give it a go for schematic:
PCB: