Is it possible to control an Arduino directly with a Bluetooth Gamepad?

Hi all,

Just a general question, I purchased an Arduino Nano BLE 33 Sense thinking that it got Bluetooth onboard and I can find a way to connect a Bluetooth gamepad to it and then be able to read the inputs from the controller and use that to drive servos and motors. But after much googling and talking to ChatGTP, I am still unable to establish the connection and am wondering if it even is possible to do something like this.

IF it is, can someone please advise the best board and perhaps the library to do so? I can google the rest from there, lol

I am currently guessing its not and I will need to go the Raspberry Pi route for the robot I am building.

You might ask the a robot again until he/she/it provides the correct answer.

Keep in mind one answer could be 42.

2 Likes

may be look at hacks like this

2 Likes

haha you would be surprised, sometimes he/she/it outputs code that does not work and when you paste in the errors it gives an an appolgy and then a code update that does! So you can just tell it is doing the same thing I would do manually:

  1. google, read, find code example to use
  2. see it doesnt work, then go to the forums to find out there was an update
  3. utilize the update, bang head up against wall for a bit, and then tada, it compiles and works

"It" is the future after all lol :slight_smile:

wow nice find, I guess my googl'ing did not bring this up earlier, as I was not aware that the gamepads are HID devices. let me give it a try, thanks!!

Also validated that ArduinoBLE does not support HID devices.

Now I am googling the right stuff by searching for a BLE library with HID support, thanks a mil!!!

Will update here once I figure it out

"It´s" old wine in new bottles.

oh yeah, what tool did you use that was around that could auto-generate code for you, before ChatGTP? I dont recall anything like that back in my Computer Science class days

your nerdy roommate :slight_smile: ?
(and the code was correct)

haha so I dont got a nerdy roommate, I got chatGTP and the code comes out correct. What's your issue again?

I don’t have any issue

You are the one who said chatGPT was not helpful

Until beating chatGPT and getting something to chew on by me - your nerdy Forum roommate :wink:

And do you know why?

oh my bad, wrong person I am replying too. Sorry J-M-L I thought I was posting back to Paulpaulson. You are my nerdy forum roommate and have been a huge help, thanks so much!!

no, please enlighten me lol

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.