tl;dr: I’m reasonably sure this will work as is.
The following comments involving my personal opinions might be most useful for more complex projects:
While I also try to isolate building blocks in my schematics, I think it’s sometimes beneficial to have some visible connections using wires. Your schematic isn’t very complex, but I still needed to jump around a bit to understand how current flows from the USB connection to the output. I would arrange the building blocks so that current flows from left to right and include one wire that starts at the USB jack, passes by the CH224K and its bypass cap, through the FET to the terminal block, so you can read the current flow like you would a line of text.
Layout:
- Before manufacturing, better before starting the layout, I would include the design rules of your manufacturer under File > Board Setup > Design Rules > Constraints. Currently you haven’t defined minimal clearances, widths etc. Google “[your preferred manufacturer] capabilities”. You might also find existing KiCad templates that you can import.
- I would place the reference designators on the silkscreen so they are visible after assembly, to help with debugging and repairability.
- I would also take care that everything you want to show is legible; currently, your JP-labels overlap U1
- To find enough room on the silkscreen, you could probably reduce your text size. Look up the minimum in your manufacturer capabilities; in addition to putting those values into your design rules, you can also add them in File > Board Setup > Text & Graphics > Defaults > Silk Layers. Apart from that being the new standard, you can then also easily go to Edit > Edit Text & Graphics Properties to set all existing reference designators to those new default values. In my personal experience (with JLCPCB at least), the text also stays legible waayyy below the quoted minimum size.
- I make it a point to include some metadata on all my PCBs; a version number, date, a project title and the name of the designer, so I don’t confuse myself or others when the PCB is found some years later in a random box.
- I like your package size for the passive resistors and caps, but if you have space issues, you will probably have no issue soldering the smaller 0805 packages by hand either. We regularly have discussions what size can comfortably soldered without magnification; one of my colleagues insists that even 0603 is comfortable.
Regarding both the schematic and layout: run the ERC/DRC and fix all errors and warnings. Most of it is noise, but hidden beneath that, serious issues can hide.
Another idea that might be out of scope for your project: You could add optional 5.1k pull-down resistors on the CC lines and a solder jumper from VBUS to VOUT. Then you could use the board even without the CH244K and the FET if you only need 5V.
eutampieri@feddit.it 1 week ago
I tried to implement all of your suggestions. Would you mind having a look now?