Skip to content
Menu
KevinKropp.com

Product Design and Engineering

  • Home
  • Shop
  • About
  • Videos
  • Cart
0
KevinKropp.com

Product Design and Engineering

BLE Gamepad

By krashkropp on June 1, 2025June 1, 2025

I wanted a simple Gamepad to play retrogames on a phone that I could have with me all the time. It is small enough to fit in a wallet and has a 150mah 302030 battery that will last for about 3 hours. overall dimensions are 86mm x 50.8mm x 4mm. There is a D-pad, 4 buttons on the right, 2 bumpers, start select, and a power button.

One of the hardest parts was finding IC and stackup that would work with iphone. Android is pretty compatible with most hardware and devices requesting Bluetooth pairing. The nimble stack for the esp family has support for the S3 and C3. I did end up using the C3 and have a few issues with the hardware mostly related to the recommended chip variants removing support for one of the GPIO banks and therefor needing to remove some features live battery voltage reading (more on this at the bottom of the page).

One of the main engineering goals was to make it as thin as possible. at the moment is has a 3mm thick battery that fits in a cutout in the pcb. there is then a plate on the back .5mm thick and a polycarbonate faceplate that covers the front of the battery with .5mm the faceplate drops down around the buttons to give them 1mm of reveil to not increase the overall profile.

There are 5 versions of the esp32 c3 qfn32 1 of witch is end of life 

2 of the packages provide 22 GPIOs with pins 19-24 acting as GPIOs these are the c3 n4 and h4

The base esp32c3 is still revision v0.4 and the recommended is the x variant and is likely going to be the IC available moving forward 

With that in mind the 16 (actually 15) GPIOs to use are 

0

1

2

3

4

5

6

7

8 – This is the boot pin so it should not be held while booting for normal use

9 – This is a boot pin

10

11 – pin 18 but is normally configured as power in and not natively setup to be a gpio

18 – used for usb

19 – used for usb

20

21

A good test would be to see if 18 and 19 could be used as long as usb cnc on boot is disabled (and would hurt debug a lot but might be ok for production)

Category: Uncategorized

Post navigation

Headlamp

Related Posts

Grain Mill

August 15, 2020
Read More

Pick and Place

April 18, 2025
Read More

Power Tapper

November 25, 2021
Read More

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • BLE Gamepad
  • Headlamp
  • Pick and Place
  • Perkins Spring Coiler
  • Train engine and track

Recent Comments

No comments to show.

Archives

  • June 2025
  • May 2025
  • April 2025
  • March 2024
  • April 2023
  • March 2023
  • April 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • September 2020
  • August 2020
  • June 2020
  • March 2020

Categories

  • 3D-Printing
  • CAD/CAM
  • Electronics
  • Equipment
  • Molding
  • Uncategorized
©2025 KevinKropp.com | WordPress Theme by Superb WordPress Themes