DIY Bluetooth GamePad for Android, PlayStation and PC
ฝัง
- เผยแพร่เมื่อ 26 มิ.ย. 2023
- Cheap & Quick PCB, 3D Printing, CNC machining, and fabrication services from PCBWay pcbway.com/g/v8fQIG - In this project, we will first see how to build a breadboard gamepad circuit, and how you can communicate the circuit as a gamepad with an Android device, TV Box, PlayStation, and Computer. Next, you'll see what you can do by assembling a printed circuit board with a Bat-themed design and using both a Bluetooth gamepad and other communication options.
Source Code & Circuit File - www.pcbway.com/project/sharep...
On the circuit side, I preferred the low-cost ESP32 development board, which offers wireless communication options such as WiFi, Bluetooth, and ESP-NOW. Besides ESP32, a joystick module, button, resistor, capacitor, and some wires are required for the gamepad circuit.
📌 Set up the ESP32 to use it with the Arduino IDE. First, enter the shared Additional Boards Manager URL link for ESP32, then search and install the ESP32 board.
raw.githubusercontent.com/esp...
📌 The source code includes a popular library called "BLE GamePad". If you go to the GitHub page of the library, you can find detailed explanations and examples. Go to “Add Library” search for the “BLE GamePad” library and install it. This library also needs the library named “NIM BLE”.
github.com/lemmingDev/ESP32-B... - วิทยาศาสตร์และเทคโนโลยี
Project Files - www.pcbway.com/project/shareproject/DIY_ESP32_Bluetooth_GamePad_for_Android_PlayStation_and_PC_6757e6d6.html
can you press a button and hold a joystick simultaneously?
Hey, this has been such a great video! Thanks for posting!
This is the video I was looking for! Thank you very much
Thanks
@@maker101ioNice project, please I need circuit diagram for this
bro where is the source code , from where should i copy it
The code he used is in the project files link in his pinned comment. Keep scrolling, it is after all of the steps. It says Code real big. Took me a while to find it.@@tharunjadav6670
I will do this right away! thanks
thanks
Tank you so much for create this project video
Thanks
Bro please give me the detailed video of the breadboard connection I have no idea on this and I have a project to doo bro please help me 😢😢😢
Thank you for sharing your knowledge,🙏
Thanks
Woow good job!
thanks
Thanks for sharing
thanks
Can you make video how to make wireless emg sensor with dry electrodes?
hey, would love to see something like this but instead of regular joysticks i‘d love to have 2 of the 3ds circle pads for a flatter controller for traveling instead of an bulky one
any way to do so?
great project but... how to add vibration for this gamepad and support usb connection since esp 32 cant be like usb hid device
Congratulation good project🎉🎉
thanks
can you add gyroscope support to this gamepad? it would be amazing!!!
Thanks
thanks
Hello friend, I need a keyboard with only 4 buttons and use it on the tablet, is this tutorial good?The video does not show which pins you use on the board to connect the buttons.
what would be the best way to make "joycon" like controllers? would you use 2 ESP32's one for each joycon?
5:27 why are there 2 PCB layers being attached on top of each other? Thanks.
what resistor are you using sir?
i want to use more d-pad button,m and r1,r2,r3, l1, l2, l3 what do i need to do?
The button resistors are not required. The esp32 has internal pullup resistors you can set with pinmode INPUT_PULLUP
Guess what happens when you're a classic arduino user
Hi, please help me. i want to use more d-pad button,m and r1,r2,r3, l1, l2, l3 what do i need to do?
Can I ask about the delay when using bluetooth or connecting via wifi?
hello, thank you for a great project, i'm making a controller gamepad for pc follow with your turtorial, but i have some problem, that I can connect bluetooth to the gamepad but when i'm in a game, the gamepad cannot use in the game although driver is installed, and it's still connect to computer, thank you so much
Hi, thanks for your comment. Did you update the "Game Mode" part in the code? There are three modes, "Android", "PlayStation" and "PC". Please choose "PC" mode or "PlayStation" mode. Also, I'm using a macOS device and the method of connecting is as follows: I selected the "PlayStation" mode in the source code, assigned one of the enabled buttons as the "PS" button, then uploaded the code into the circuit. I kept the "PS" button pressed while I made the circuit connection with the computer via Bluetooth. It connected and worked fine as a game controller while playing games. I haven't tried it on a Windows-based device, it might be easier. If you search for "connecting a game controller to a computer via Bluetooth", you can find many resources and solutions to problems. 😇
I will make it
thanks
Once programmed, it becomes plug and play? I want to build one ans then gift it to someone. That person would just have to connect to bluetooth or wifi and thst would be it?
So, can you remap the controls for media and navigation functions? Such as volume up/down, home, back, play/pause, win, etc?
I want to make my own media and navigation remote with a joystick for mouse input
Did you ever figure that out? That's exactly what I'm trying to build
@@aozzya1563 Not sure about this library, but you can do that with BleKeyboard lib
@@aozzya1563 I haven't done it yet, but one of the libraries I found had basic keyboard functions, which included generic media controls. It didn't have any sort of mouse or analog support, but I'm sure it wouldn't take much learning to implement. Either way, everything I want out of an air mouse media remote has been done in some capacity, including gyro.
ESP32 Is definitely the way to go, especially if you are going for a kodi remote.
How to add vibration for this project?
I can use PSP joystick for this?
Hi can i make this with 14 button and 2 joysticks total
can a 3 states switch be added, to change emulation (pc, android, psx) at runtime, or this can be done only on compile time?
and, is it complicated to make this battery powered?
Yes, mod switches can be added. But you have to re-adapt the source code. I think it's a good idea, if I find time I'll make this circuit and share the codes.
@@maker101io thanks, add battery too!
Hey really cool project but where can i find scourse code and schematic for this project?
The code he used is in the project files link in his pinned comment. Keep scrolling, it is after all of the steps. It says Code real big. Took me a while to find it.
Slguien tiene el codigo con botones de direccion digitales?
Not only can it gaming but also double as a Batarang
How does it work on playstation?
Hi, I've been looking for the file ESP32_BLE_Gamepad_Breadboard_Circuit.ino to do the configuration, but apparently they are no longer in the project or maybe I'm too clumsy and don't understand how to use what is already available. someone knows?
you go to the link and go down, the link is rigth up the comment
@@gameandfriendsmemory8958 Yes, I have already done it, but I can't find the configuration file, I don't know what the reason is, but I can't find it and I can't change the mode between PS, ANDROID or PC.
You can access the source code by following the shared link. The code is a single file (i.e. no other file or page for settings). You can most easily open, edit and upload the source code using an Arduino IDE code editor. When you open the code, scroll down the page, and browse through all the lines, you can see and update all the necessary definitions such as how many buttons you will use, which mode you will use, or which pin inputs are connected to the buttons.
Also, take a look at this answer:
"""
Did you update the "Game Mode" part in the code? There are three modes, "Android", "PlayStation" and "PC". Please choose "PC" mode or "PlayStation" mode. Also, I'm using a macOS device and the method of connecting is as follows: I selected the "PlayStation" mode in the source code, assigned one of the enabled buttons as the "PS" button, then uploaded the code into the circuit. I kept the "PS" button pressed while I made the circuit connection with the computer via Bluetooth. It connected and worked fine as a game controller while playing games. I haven't tried it on a Windows-based device, it might be easier. If you search for "connecting a game controller to a computer via Bluetooth", you can find many resources and solutions to problems.
"""
@@maker101io thanks 😃
abi source koda nerden bakıcaz
and how to open gamepad source code
how did you connect it? i dont see which connectors are used
same
i replyed to a reply
Does this work with ps5?
Does it work on android tv box
Evet
where is the source code from where should i copy and paste it in ide
The code he used is in the project files link in his pinned comment. Keep scrolling, it is after all of the steps. It says Code real big. Took me a while to find it. It will show up in your downloads as a .ino file.
where is the code you are using in this video
The code he used is in the project files link in his pinned comment. Keep scrolling, it is after all of the steps. It says Code real big. Took me a while to find it.
💯💯💯👌👍😉
is this compatible with ios?
I don't think so
where is the code
The code he used is in the project files link in his pinned comment. Keep scrolling, it is after all of the steps. It says Code real big. Took me a while to find it.
dude I don't understand the circuit at all
BTW it didn’t work so great on a submarine
You knew it had it coming 😂
Bro please give me the detailed video of the breadboard connection I have no idea on this and I have a project to doo bro please help me 😢😢😢
Bro please give me the detailed video of the breadboard connection I have no idea on this and I have a project to doo bro please help me 😢😢😢
Bro please give me the detailed video of the breadboard connection I have no idea on this and I have a project to doo bro please help me 😢😢😢
Bro please give me the detailed video of the breadboard connection I have no idea on this and I have a project to doo bro please help me 😢😢😢
Bro please give me the detailed video of the breadboard connection I have no idea on this and I have a project to doo bro please help me 😢😢😢
Bro please give me the detailed video of the breadboard connection I have no idea on this and I have a project to doo bro please help me 😢😢😢
Bro please give me the detailed video of the breadboard connection I have no idea on this and I have a project to doo bro please help me 😢😢😢
Bro please give me the detailed video of the breadboard connection I have no idea on this and I have a project to doo bro please help me 😢😢😢
Bro please give me the detailed video of the breadboard connection I have no idea on this and I have a project to doo bro please help me 😢😢😢
Bro please give me the detailed video of the breadboard connection I have no idea on this and I have a project to doo bro please help me 😢😢😢