-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: cannot connect more than 1 controller #135
Comments
forgot to add console output but then every few secounds i get this:
|
weird. which board are you using ? sometimes it could be a bug in esp32 |
@ricardoquesada thankyou for your kind reply! I have no idea whats going on , so like you said use a different board - So i used my ODROID GO ESP32 edition and that uses a WROVER esp32 - BUT - still same thing , the thing is it works flawlessly with 1 controller and I really want to use it in my up and coming commercial product but I need that additional controller support , Do i need a new(ish) classic esp32? or maybe arduino settings ? thanks in advance |
to discard possible bugs (and to have access to the console) I suggest that you try the esp32 example based on esp-idf (not arduino). Example & instructions here: |
ok and thanks for that! |
ok , so i tried the IDF example as you suggested and can confirm it did work correctly with 2 controllers !! , I still need to do stability & performance etc , but this is fantastic that it works So that begs the question , why did this not work with ARDUINO? But for now thanks @ricardoquesada |
Good to know. Please follow the steps decribed here: https://github.com/ricardoquesada/esp-idf-arduino-bluepad32-template |
@ricardoquesada actually that was the one I got working , am not an IDF person myself , seldom use it , but for now it works exactly as I expected (my_project example), though does mean i have to rewrite code for IDF if I want this to work inside my project - but thats another thing. another option is to have bluepad32 on its own... again , superb work @ricardoquesada , |
I wouldn't use two microcontrollers... that will add an extra layer of complexity. In any case, if "esp-idf" is too complex, try PlatformIO... which simplifies things a bit. But if you really want to use two microcontrollers, get the cheapeast ESP32 that you can find. All have similar specs... what changes is the number of GPIOs and/or RAM (???). You might want to take a look at the AirLift module and how Bluepad32 interacts with it: https://bluepad32.readthedocs.io/en/latest/plat_airlift/ |
What happened?
I have a few different bluetooth controllers , a wii controller , ps4 copy controller and a game sir nova lite , all of them work 100% fine when paired , however if I try to connect more than 1 then the secound one will not pair
So I thought maybe they don't connect because of different manufacturers so I bought a 2nd gamesir nova lite , and that too works but only on its own
How do i get the example arduino project to work with more than 1 controller ?
thanks in advance , and well done on such a brilliant project!
Bluepad32 Version
Other
Bluepad32 version custom
bluepad32 4.1.0
Bluepad32 Platform
Arduino IDE
Platform version
arduino 2.34
Controller
issues
Microcontroller
ESP32
Microcontroller board
esp32 dev module
OS
Windows
Relevant log output
No response
Relevant sketch
The text was updated successfully, but these errors were encountered: