Hello, first time poster (and also no significant EE background, so bear with me).
After receiving a batch of bad USB C PD trigger boards, I decided that it would be better if I made some myself. The design is taken from the CH224K datasheet. However, I am not sure if a. the schematic is correct b. the PCB is well laid out (I really struggled to fit everything)
Here is the schematic, and here is the PCB. Both are in a Codeberg repo.
jeinzi@discuss.tchncs.de 1 week ago
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:
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?
eutampieri@feddit.it 1 week ago
That’s an AMAZING comment, thank you so much!
Re: schematics. Will take this in consideration next time
Re: constraints and DRC. I haven’t done this yet because I’m really scared of the result (actually, I ran DRC and it gave me minor things). I didn’t want to invest too much time in something I didn’t know if it would work
Re: silkscreen. I placed designators there for space reasons, I will try and see if they would fit if smaller. Also, metadata in the silkscreen seems a good idea.
Re: U1. I was worried that moving the IC would mean rerouting everything. I noticed and thought “too bad”, but I will try this
Re: SMD handsoldering. I never tried this before, so I figured that for me 1206 would be a good place to start. 0603 would not be comfortable 😆, I envy your colleague
Re: C1. Will do!
Re: CC resistors. It’s a great idea!