Live data from Hacker News

Designing and assembling my first PCB

vilkeliskis.com

21–30 of 98 posts

Re: Designing and assembling my first PCB

#21

I've been trying to make a PCB but it's just so annoying having to sift through pages and pages of listings in order to find each individual tiny component without minimum order quantities of hundreds or more. The process of finding each component is so tedious that I gave up. (I was using EasyEDA hoping it would be easy to find components I could actually order -- nope)

DigiKey used to be a good place to get. Also design for parts you can get... In the old days you could also get samples from chip companies if you asked nicely. No idea if anyone still does that.

Re: Designing and assembling my first PCB

#22
post #10
post #2

It's incredible how cheap it is to get custom PCBs made at prototype scale these days, even ones with advanced features. It feels like we're living in a golden era of custom manufacturing.

It is unfortunate hope local companies like OSH Park get love too. The marketing of companies like JLC or pcbway whenever I post a hardware project on a website like Hackaday or Hackster always reach out to me to use em. Not that it would matter so many big makers on YT use em.

Is the cost and quality comparable to the Chinese options?

Re: Designing and assembling my first PCB

#23
Wow, very very similar to my first PCB, a breakout board for the TSL4531. I ordered it from OshPark back in 2016. Used the exact same soldering iron, and a Quick hot air station, though it's the less fancy one than you have.

https://github.com/bschwind/tsl4531-module

https://imgur.com/ozk7UuS

(sorry for imgur, not sure what people use for image hosts these days)

I then went on to also make a BME280 breakout:

https://github.com/bschwind/bme280-module

From there on I've made various PCBs, and thankfully they've pretty much all worked on the first try. I do take a lot of extra time to verify the design and double check all the datasheets.

Re: Designing and assembling my first PCB

#24
post #10

Earlier quoted context omitted.

It is unfortunate hope local companies like OSH Park get love too. The marketing of companies like JLC or pcbway whenever I post a hardware project on a website like Hackaday or Hackster always reach out to me to use em. Not that it would matter so many big makers on YT use em.

Is the cost and quality comparable to the Chinese options?

OshPark's quality is high, but their prices are certainly higher too. Good to support them though if you live in the States, since that's where they manufacture the boards.

Re: Designing and assembling my first PCB

#25
Nice board, looking forward to seeing your next one. A little feedback, helpful I hope:

A "via" is basically just a wire stuck right through the whole board top-to-bottom. (Okay, it's not really a wire. They drill a hole and then chemically grow a layer of copper that fills the hole.) You can connect the copper pattern on any layer(s) to that "wire", so it's often used to route a signal from one layer to the other. But you already have a real wire going through the board: the GND header pin! So no via is necessary; just connect directly to that pin on each layer (kicad probably did this for you automatically). This trick works with all thru-hole pins.

For RF or high-current applications, sometimes you cover a board with a grid of vias, just making redundant connections between the planes all over the place, "stitching" them together. But careful, add too many vias and the PCB shop will bill you extra.

Putting a GND pour on the top layer is a good idea. It's lower-impedance than individual skinny traces, and takes less/zero effort to route. The GND trace you manually routed isn't necessary; you can see by the transparent-red shape that kicad already has copper there. However, you ended up with a little "island" of dead copper between R2 and C2, which is the real reason you needed the via.

A better approach would be to use the bottom layer for +3.3V power instead of a redundant ground pour. This gets rid of the +3.3V traces (BTW, best to use a single, thicker one instead of 2x side-by-side) and unifies the island into the ground pour. Even though this is a micro-power application, playing the traveling-salesman game with long scraggly power traces is never a good idea. You would still need vias to connect each top-layer +3.3V SMD pad to the bottom-layer power plane, but the signal-integrity benefits of a plane make this worth it. Maybe the absolute best is an uninterrupted GND plane on the bottom and a +3.3V pour on the top.

Putting SMDs on the bottom side makes the board cost more, so good call leaving them all on top, but putting traces on the bottom layer is free. So you can even move signal traces between layers to avoid cutting up your planes too much. It's "fun" with big complex boards, like untying a giant knot...

You are very miserly with your +3.3V global net symbols in the schematic! You can place as many as you want to optimize the schematic's readability. Especially near the CSB pin, the 4-way solder dot looks like some intermediate signal in a voltage divider, but it's actually just +3.3V. Same suggestion with GND -- basically, it's more informative to read "this pin is GND, and this pin is GND" than "these two pins are connected, I wonder what they're doing...oh, it's all GND".

Pull-up resistors are usually oriented vertically, too, so they graphically pull "up"!

Anyway...I hope you don't mind all my constructive criticism. It's nice to see something on HN I know about!

Re: Designing and assembling my first PCB

#26

Wow, very very similar to my first PCB, a breakout board for the TSL4531. I ordered it from OshPark back in 2016. Used the exact same soldering iron, and a Quick hot air station, though it's the less fancy one than you have. https://github.com/bschwind/tsl4531-module https://imgur.com/ozk7UuS (sorry for imgur, not sure what people use for image hosts these days) I then went on to also make a BME280 breakout: https://…

It's so funny that you had a similar idea. Are you an electrical engineer or swe? What are you building these days?

Re: Designing and assembling my first PCB

#27

Nice board, looking forward to seeing your next one. A little feedback, helpful I hope: A "via" is basically just a wire stuck right through the whole board top-to-bottom. (Okay, it's not really a wire. They drill a hole and then chemically grow a layer of copper that fills the hole.) You can connect the copper pattern on any layer(s) to that "wire", so it's often used to route a signal from one layer to the other. B…

This is great! Thanks for the detailed write up and suggestions to improve. Like I said, this is my first time doing it and I have no background in EE or PCB design. If I make something else I'll give your suggestions a try.

Re: Designing and assembling my first PCB

#28

Earlier quoted context omitted.

Is the cost and quality comparable to the Chinese options?

OshPark's quality is high, but their prices are certainly higher too. Good to support them though if you live in the States, since that's where they manufacture the boards.

That's kind of the problem though. jlc/pcbway aren't just "cheaper", for anything 2 or 4 layer that doesn't require special coatings, thickness, or finish such as gold fingers, it's just so cheap and fast that it makes no financial sense to buy locally. You'd pay several hundred percents more to get the boards maybe 1-2 business days earlier.

In addition, china is where all the world's pcbs are made, even for commercial stuff, it's not unreasonable to expect them to deliver higher and more consistent quality than home fabs.

The gap only begins to slightly close at more complex boards, but not that much.

Re: Designing and assembling my first PCB

#29
post #17
post #5

JLCPCB is often the manufacturer of choice with DIY PCBs, and the reputation is well deserved. I recommend them as well, have never had an issue with what they've made. It's a bit pricier for a one-off board given the MOC, so it's preferable to do some sort of group buy if you can.

Slight tangent: a long time ago when I was into this hobby, Oshpark was usually the go-to instead of JLCPCB. What happened to them? Macrofab too if anyone's used them.

Simple: jlcpcb can deliver you 10 boards for anything a hobbyist will likely need for 10$ including shipping, and it ships in 24 hours. Oshpark cannot compete with that.

Re: Designing and assembling my first PCB

#30
post #21

I've been trying to make a PCB but it's just so annoying having to sift through pages and pages of listings in order to find each individual tiny component without minimum order quantities of hundreds or more. The process of finding each component is so tedious that I gave up. (I was using EasyEDA hoping it would be easy to find components I could actually order -- nope)

DigiKey used to be a good place to get. Also design for parts you can get... In the old days you could also get samples from chip companies if you asked nicely. No idea if anyone still does that.

Some still do, but they'll only send to businesses, not to individuals.

What's annoying for me is Digikey and friends insisting on only delivering with express carrier. I'd like to have a cheaper, slower option.

Post reply on HN