tjhorner / upsy-desky

Make your standing desk smarter
https://upsy-desky.tjhorner.dev
Other
478 stars 24 forks source link

Clarify BOM for manufacturing PCB #45

Closed Crazyphil closed 3 months ago

Crazyphil commented 3 months ago

Troubleshooting Guide

Description

I'm trying to assemble a PCB order directly from a PCB manufacturer (not because I don't like you earning some money off this project, but because shipping and importing from the USA to Europe is more pain than ordering from China). During the process I noticed some inconsistencies in the component descriptions in the KiCad project, the BOM file from Tindie and the actual packages on the PCB.

Also, a bit more information in regards to how to order the PCB at the manufacturer of your choice would be nice, although I do understand if you wouldn't like to do that because of the support effort this could create. However, you could still profit from referrals. A great example in my opinion is the Valetudo Dreame Breakout PCB for the Valetudo project, where there is even a community of people sharing their PCBs (not a use-case for upsy-desky, of course) and consolidating orders for reduced shipping cost.

Logs

No response

Which version of the Upsy Desky firmware config are you running?

No response

How do you manage your Upsy Desky's updates?

None

If you're using an ESPHome YAML config, which version of ESPHome are you running?

No response

ESPHome Config

No response

tjhorner commented 3 months ago

Component D1 is marked as 1N5817, but this component as well as the linked datasheet on Tindie refer to a through-hole part. The PCB, however, clearly needs an SMD part, so shouldn't this component more likely be a 1N5819WS?

Yes, that's correct. I'll update the BOM.

Component U1 is marked as CP2102N-Axx-xQFN28, which has a QFN28 package with 7 pins per edge. However, the PCB has 8 pins per edge, so I would actually need a CP2102N-Axx-xQFN24 chip, no?

No, the QFN-28 package is correct. You might have mis-counted the pins — there are 7 per edge on U1.

I'll see what I can do regarding more information on self-ordering a PCB from a manufacturer, but my time to work on this project is very limited at the moment. If you are ordering from JLCPCB, you can use the LCSC row in the BOM to correlate each part with the correct part from their inventory. Those are the exact parts I use in the pre-assembled units.

Crazyphil commented 3 months ago

Thank you for the quick response.

No, the QFN-28 package is correct. You might have mis-counted the pins — there are 7 per edge on U1.

That was my fault, I had it the other way round: The footprint was correct, but the MPN referenced a part with package QFN24 (CP2102N-A02-GQFN24). As I've seen from the commit, you've spotted that already.

I'll see what I can do regarding more information on self-ordering a PCB from a manufacturer, but my time to work on this project is very limited at the moment.

I understand, time is a very precious resource indeed :smile: An alternative I came upon during my research could be PCBWay's Shared Projects that offer preconfigured public PCB (and assembly) orders and a small 10% commission to the project's author for every order. That way, users wouldn't have to deal with configuring the project for themselves. However, the minimum order amount of 5 PCBs still applies. After comparing multiple services I can say that their offers are competitively priced, and they even offer shipping under the IOSS scheme for EU customers, which takes care of any taxes and import hassles.

If you are ordering from JLCPCB, you can use the LCSC row in the BOM to correlate each part with the correct part from their inventory. Those are the exact parts I use in the pre-assembled units.

In that regard, there's one more thing I've found which I forgot to mention: in in the BOM, the LCSC number is equal for both R18 (1kΩ) and R22 (940Ω). I remember darkly from my electronics course a few years ago that resistor values aren't necessarily that exact and therefore interchangeable in a certain range. However, if in this case it really doesn't matter whether to use two different components or just one, why not simplify it formally on the PCB instead of only in the BOM?

sibero80 commented 2 months ago

+1 on the PCBWAY Shared Projects idea. I'm located in South America, and getting things shipped from China vs Europe/USA is orders of magnitude easier and cheaper. I'd gladly pay 10% or 20% over PCB and parts costs if it goes to the designer.