r/PeripheralDesign • u/Giant-Crumpet • 4d ago
From scratch PCB Design Help for Bluetooth Gamepad
Hello Everyone!
I have been working on getting an ESP32-S3 to act as an Xbox controller via bluetooth for my iphone to use with the Delta emulator. I have managed to get it to connect and send inputs in game, so my main hurdle has been overcome!
Now that I have my code working for the microcontroller, I want to design a PCB to turn it into a full fledged wireless controller. Unfortunately, I have very little experience with building full on peripherals, specifically regarding PCB design. Would anyone be able to give me an idea of what that PCB needs to include and maybe some resources to help me flesh out my design needs? Here's a list of what I think I need in terms of components.
- Plug and play battery management
- Power distribution
- Buttons/sticks/IO
- Daughterboard footprint for soldering the ESP32-S3 to the board
I don't know if there is anything else I'm forgetting, but this is all I think it needs. Any additions/clarifications would be greatly appreciated.
I would love any input on this so I can not only get a better idea of what I need, but so I can also learn more about how to gain the intuition that people have about circuit design.
Also, I've attached a preliminary design of what I plan on making it look like. Let me know what you think!
2
u/Gary_Spivey 2d ago
It wouldn't be much more work to simply move the esp32 onto the new PCB entirely, and might save you some money to boot. I don't think most board houses do assembly for castellated daughter boards.
For battery management, find an IC and copy the typical application circuit directly from the datasheet. Ditch the idea of hot swappable lithium batteries.
Buttons and such depend on how you plan to implement them: most game consoles use rubber membranes with conductive pads under the button bit, rather than an independent mechanical pushbutton for each button. If going the membrane route, you'll need to design the corresponding pads onto the PCB and ensure they aren't covered by any solder masks or silkscreen, but are plated (oxidization will inhibit connectivity).
It probably won't be relevant given the design, but you can even design an antenna that uses PCB traces directly onto the board to save yourself some money.