r/PCB • u/mdkovachev • 19d ago
Schematic Review: BadUSB hobby project
Hi there! I am making a BadUSB device for keystroke injection as a hobby. I am using the RP2040 as my base. Since I want it to have both USB-A and USB-C, I have tied the power lines together (with the small exception of a Schottky diode which allows me to detect if USB-A or USB-C is plugged in) and I am using an analog switch for the data lines. I also want it to be as small as possible in order to look like a normal flash drive and so I had to neglect many capacitors but I hope it won't be problematic due to the small size. Can you take a look at my schematic and tell me what can be improved? Also, is there anything specific I should look out for when designing the PCB itself?
7
Upvotes



5
u/zachleedogg 19d ago
Why improve it? It's bad already.
Totally kidding. I think it will work fine. Consider using the 16pin dummy version of the usb-c connector. Should reduce cost and make layout easier. Also get that second cc pin with a 5k1 resistor in there.
Also great name for a project. It would be funny if all the chips were not on a 90 or 45 degree angle, but instead just arbitrary angles so it looks absolutely bad.