Designing and assembling my first PCB(vilkeliskis.com) |
Designing and assembling my first PCB(vilkeliskis.com) |
I got a few small simple boards made through OSH to test their services and their user portal basically left me in the dark for 1-2 weeks.
I'd still use them again but JLC and PCBWay are operating at another level.
I've also got concerns about the quality of American electrical products.
They don't do assembly, just the bare PCBs—and my last projects required assembly.
Overseas will almost always win on price (at least in small quantities), but it's hard to beat the turnaround from local manufacturers...
I wish there were more regional places like PCBWay and JLCPCB in US, EU, etc (with similar pricing) so shipping didn't require circumnavigating the globe.
There does seem to be a willingness by Chinese manufacturers to deal with small-volume makers and sellers. Look at the minimum order quantities on Alibaba. That's supposed to be a wholesale market, but often wholesale starts at 2 units.
[1] https://www.reddit.com/r/PrintedCircuitBoard/comments/9bt5ed...
⸻
1. Some details may be incorrect as I was 10, this was the late 70s and I only saw the results, not the process.
There are US shops like Advanced Circuits that can turn boards around extremely quickly, but obviously you are paying for that speed. Most people ordering a handful of boards for a hobby project, or prototype are probably optimizing more for cost and consistency than shaving a few days off the lead time.
Once someone finds a vendor where they know the quality will meet whatever their own subjective minimum is, there's not much incentive to shop around. Being able to tack on assembly at JLC with a single checkbox also exponentially increases the desire to just stick with that vendor.
The transition to SMD and having the "fab" do the assembly was another hurdle for me.
Now I tend to consult LCSC Electronics at the same time I am designing my circuit: checking availability and price of the various components I am proposing to use in my design.
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!
https://github.com/bschwind/tsl4531-module
(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.
I wish I could 3d print a board with all its components - instant gratification (which incidentally was one of my half baked projects)
I can tell you where Claude wouldn't have been much use: if it didn't fire right up due to a short or voltage drop that might occur during reset propagating through circuit. You're on your own at that point and gotta break out the multimeter.
The problem isn't that people outsource it, it's that they need to outsource to China. That's an abject failure of domestic PCB manufacturers who simply don't want to deal with retail customers.
Almost everyone who has the experience of etching a board, or even using a router to automate making one, and also has the experience of ordering a PCB, never makes one by hand again.
Edit: and many perfectly useful projects use through hole components. Not everything of value had a microprocessor
Electricity costs 25 pence per kWh here. I don't have to make many boards before JLC becomes cheaper than firing up the heated bubble etch tank.
I first started using JLC instead of etching at home in early 2020, and since then I've had a small child, so yeah I'm not running the bubble tank with a 6-year-old running around. Maybe in a couple of years we'll do one by hand, drawing the tracks on the PCB with a Dalo pen and so on, because I remember doing that with my dad when I wasn't much older than my son is now.
But that is definitely going to be an Outside Toy.
That method works for creating single sided PCBs with through-hole components or rough SMD parts. Double sided PCBs are more effort but still possible.
But everything more complex than that - multiple layers, blind or buried vias, fine-pitch SMD, anything involving clock frequencies higher than say 50-100 MHz or depending on specific impedances or capacitances, or requiring stuff like vias to groundplanes to dissipate heat in copper? No way even for a dedicated hobbyist. And you need special equipment to make a proper stencil if you can't use a soldering iron due to feature size or because it's impossible otherwise (=BGA parts).
And where it gets really spicy is sandgrain sized SMD parts (0201 and smaller). Even for professional repair shops, that size requires experienced experts...
It is pretty fast though, and worth learning if you need to do prototyping quickly. You can have a finished board in just hours instead of a week.
Usually I can get away with using a simple Sharpie marker mask, though I've also had good luck in the past with the toner transfer method for more intricate designs:
https://www.thompdale.com/pcb_etch/gotee_board_production/Ea...
I've got a cat and live in a carpeted apartment. I prefer to keep most projects "dry" for that reason.
Things like soldermask, multiple layer stackups and plated holes and vias are standard on dirt-cheap Chinese boards but are challenging and time-consuming to do at home.
And yes drill through holes.
Ofcourse only good for two sided (layers) boards at the most.
Note that without a plated through hole (vias are small plated through holes, those designed for component legs are bigger) the solder will only adhere to one side. For mounting large components where vibration may be a problem this will make the pad weaker & more likely to lift off. A plated through hole lets the solder flow through & bond to pads on both sides. So you sometimes do need plated through holes.
Otherwise I agree. These days 4-layer boards are so cheap it's often worth just dedicating an entire layer to ground, and one to power. E.g. Signal, ground, power, signal. All your ground connections become vias. Most of your power connections are vias to a lower inside plane. Your signal traces are available to probe & rework easily. You get a bit of distributed capacitance from the power & ground planes.
Then fill the remaining space with power planes. GND on one side, most-used supply voltage on the other side.
That way you reduce/avoid the need for blind (or worse: buried) vias.
Another trick: route signals roughly east-west on one side, roughly north-south on the other side, and use a via where you change direction. Many early (complex!) computer mainboards were done that way on 2-layer boards (often using through-hole IC pins or passives as via).
You shouldn't really need 3+ layers unless you get into high density stuff like many-ball BGA parts & the like.
For stuff like passives it's usually easier to use Digi-Key or Mouser and you can filter by MOQ so you only see things that are available individually.
I always feel anger or something when I see some YouTuber say they easily made a board and ordered it pre-assembled from JLCPCB. They make it sound like it's so painless, but for me it's mostly searching through part listings trying to find one without a minimum order quantity of like 100, because there are no filters or sorts for that
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.
But you find each time you find something in a category, a hall sensors, an encoder, a capacitance sensor, gpio expander, adc, you just file that away as kind of solved and next time you hit that part first before finding alts. Over time you have to dig about less and less. But dont bother with things like resistors, caps, etc that are basic. Even mosfets, unless you have special needs the 3 main types jlc has as basic are fine. Dont get some odd package thats technically two mosfets in one, just put down two basic mosfets. And if you do need a more 'advanced' part, look what is on jlc's promo list atm. Theres very popular stm's for example that are prettymuch constantly on promo (promo is they have the part loaded in mid term for some big customer so you might as well piggyback. Means no loading fee. Adds up)
Llm's can be useful for sifting the sand. Narrowed it to like 30 options and still dont know whats the best pick? Export search as csv and ask your favourite stochastic parrot which part would work best for your application and why. Dont ask them for part numbers though, completely pointless.
I needed a lot of different resistor, capacitor, etc values so each and every one needed me to go through that search.
Almost everyone is using King Board, and they are high quality
Overseas can work with crazy turnarounds too. Once I ordered a bunch of stuff from Digikey, and the parcel came around from the tiny village of Thief River Falls MN to rural Bavaria in less than 30 hours, picking/handling included. And free shipping, despite being less than 100€ in volume.
(disclaimer: have no experience with them)
I have been ordering from them since last century and they are excellent, great customer service too.
And there are probably others but with even less visibility / willingness to interact with private customers. Hell, I used to live next door to a sales office for a local PCB fab, but they never bothered to answer my inquiry about prototypes.
(That's another thing the proto-friendly companies do right: instant quotes without log-in requirement)
It's honestly depressing. I could believe the theories (off vibes, since I'm not in manufacturing, just a hobbyist) that this is one of the reasons why China is overtaking the West in hardware. Manufacturers here just don't want to talk to you at all unless you're willing to buy a million units, it seems. From what I've heard, in China, it's far easier to get started (and that certainly matches my experience with jlc/pcbway).
Like, I get it, profit wise. But it's a bit of a sad state of affairs.
(And if you're assembling them yourself, then you can also buy kits of the common ranges to save the hassle and cost of having to maintain a stock)
If you live in the US, it's free shipping and for breakout boards or smaller work, still a great option. Unless you're a student, I think most side projects aren't make or break if the boards cost $5 vs $2. Even $20-25 I would consider fair for a one-off side project and they also do $1/sqin medium runs if you need > 10.
We'll see what 2026 brings, I suppose.
American PCB fabs are far higher quality/capability than most Chinese quick-turn fabs, but good luck getting Advanced Circuits or similar to talk to you for under $5k.
That isn't to say that the products JLC and PCBWay produce aren't high-quality: they are - for what they are, but you aren't using JLC boards in your $100mm satellite.
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.
Sounds impressive in relative terms but not quite so in absolute terms, because PCB is dirty cheap so 100% is just $10-$20.
> it's not unreasonable to expect them to deliver higher and more consistent quality than home fabs.
Actually it is the opposite, OshPark quality is consistently higher than JLC for years. Chinese manufacturers can do Apple products but also Temu craps, so don't get your hopes high. The only reasonable expectation is being cheap reduces quality.
Maybe I'm just catching up to what people already know, but it feels like the tariffs are especially bad for parts and not just products where the U.S. market is the final stop.