-
Notifications
You must be signed in to change notification settings - Fork 186
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
bluetooth does not appear on the pc only on the cell phone #239
Comments
@Mrbraule is this on Windows by any chance? Can you confirm OS and that your BlueTooth interface on your host OS is BLE capable? If you have an ESP32S (classic), can you test connecting to your host OS to confirm that your bluetooth is working as a first debugging step. |
I believe it is compatible, yes, as it worked previously, but only 4 buttons worked, I was following a tutorial and in the tutorial it showed 32 buttons and on mine only 16, after I tried to do new programming it started to look like this, I'm using a BT adapter or Baseus |
Not used mail reply, please excuse any crazy.
Have you removed /deleted /unpaired the old device on the host OS and try
re-pairing.
Host OS are known to cache the ble setup and changes you make while
testing, like new buttons do not get picked up and even break device usage.
Best of luck
…On Fri, Dec 6, 2024, 17:03 Mrbraule ***@***.***> wrote:
@Mrbrauleisso está no Windows por acaso? Você pode confirmar o SO e que
sua interface BlueTooth no seu SO host é compatível com BLE?
Se você tiver um ESP32S (clássico), pode testar a conexão com seu sistema
operacional host para confirmar se o bluetooth está funcionando como uma
primeira etapa de depuração.
Sure it is compatible, yes, as it worked previously, but only 4 buttons
worked, I was following a tutorial and in the tutorial it showed 32 buttons
and on mine only 16, after I tried to do new programming it started to look
like this, I'm using a BT adapter or Baseus
—
Reply to this email directly, view it on GitHub
<#239 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGBS5EGQ7CS35FHDAMQJH32EG4DPAVCNFSM6AAAAABTA62262VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRTGQ2DIMZWGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hello, being able to connect, now see if all the pins will work, can you tell if it was only taking 4 buttons due to the programming? |
Good to see that you making progress. You can take a look at https://github.com/lemmingDev/ESP32-BLE-Gamepad/blob/master/examples/MultipleButtons/MultipleButtons.ino, which has 10 buttons. Extend and test as you add more buttons/pins. Documented max limit for buttons is 128, thou I am guessing that is not directly using GPIOs. Remember to unpair your old device on the host OS between changes, else you will run into the same breaking experience. Going to 32 buttons might need something like a i2c multiplexer as I don't know of an ESP32 device that has that many free GPIO pins, as an example - https://randomnerdtutorials.com/esp32-pinout-reference-gpios/ with some info of which pins might be usable. I have run into the problem where using a pin as an LED (the wrong PIN - GPIO8), halted the start of my ESP32 test project, thou flashing an already known working project/firmware worked. My problem was because I was using two difference ESP32 dev boards with different PIN assignments and usage. Check your ESP32 board documentation. Let us know how your project goes. Best of luck. |
I just tried programming a tutorial that I follow and it didn't work https://www.youtube.com/watch?v=sDdLMyt--Sw&lc=Ugx-gMjAXfYNO0l5-HR4AaABAg.ABRCBlTuY35ABUj_woPu9G I don't do any programming, I just wanted to put buttons on my homemade steering wheel, |
Sorry, I have not seen the tutorial and the library version is pretty old v0.1.9, if I read the YT description correctly. The sketch suggested is one of the examples bundled with the ESP32-BLE-Gaempad library in Arduino IDE. As for should it run without any changes, it should within limitation of what GPIO pins are used by your ESP32 board. The buttons are mapped to GPIOs around
Again, remember to unpair old device between changes when testing BLE updates and changes. Sorry, no Discord that I know of. |
After several attempts to make the connection in the matrix where only 4 buttons worked, I tried to do the programming again, after which I was unable to communicate with the computer.
The text was updated successfully, but these errors were encountered: