cancel
Showing results for 
Search instead for 
Did you mean: 

Bluetooth (Generic BLE signal) to Quest

EMebane
Honored Guest
I'd like to communicate to a Quest from a generic Blueotooth BLE device (such as Arduino, etc.). It was not possible with the Go. I believe the radio could see BLE advertisements but could not connect to generic devices using generic protocols. It can connect to some game controllers, presumably when they use BLE standards for game controllers. 
https://forums.oculusvr.com/developer/discussion/67316/arduino-to-bluetooth-interface

@mconte, Oculus Developer Engineer, commented about Bluetooth in an AMA on May 3, but mentioned game controllers so I'm not sure if his comment was about generic BLE or only a restricted subset of BLE devices like the case with the Go.
https://forums.oculusvr.com/developer/post/quote/75196/Comment_675391


11 REPLIES 11

leagamedev
Honored Guest
same question, i need to connect my Bluetooth arduino and do stuff based on VR actions, any idea? 

hacaro
Explorer
same question here.

Anonymous
Not applicable
I have done so in Unity. I am using an ESP 32 board programmed using Arduino IDE and in Unity I am using the following Asset.

https://assetstore.unity.com/packages/tools/input-management/arduino-bluetooth-plugin-98960

I pair the bluetooth module to the Quest then launch the app. In the app I connect with the board and get my signal.


casey_kawamura
Explorer

I pair the bluetooth module to the Quest then launch the app. In the app I connect with the board and get my signal.




My Quest cannot find the module on my Arduino. Any suggestions?

Andy_Ochoa
Honored Guest

Vern_S said:

I have done so in Unity. I am using an... programmed using Arduino IDE and in Unity I am using the following Asset.



I pair the bluetooth module to the Quest then launch the app. In the app I connect with the board and get my signal.




It works perfectly with the pluggin above.
I coud send signals from the Quest and even from the Go to an arduino using a HC-05.
Just paired it to the headset and follow the pluggin instructions.

Anonymous
Not applicable

i cannot seem to get my Quest 2 to pair with the HC-05, let alone get far enough to receive a signal from it. I had much more success paring devices when I use an ESP32, as I can actually get that to pair with the Quest 2. But even if I use the above plug in, I can't get it to connect. I can see the ESP32 paired, but no connection. This is most frustrating. I am using the callbacks Tony (plug-in's author) told me to use, but comes back as "Connection Failed" every time. I try it with a GSR sensor or even a pulse sensor connected to my board (either Arduino Uno or ESP32) but as stated I cannot seem to get my board to connect to my Quest 2 from within the simulation and get the signal to my simulation even with this plug-in. 

Is there any advice for me? could someone please direct me towards a sample sketch that would work? Any help would be greatly appreciated. 

Anonymous
Not applicable

Hi. I know this thread is from a couple years ago but I would very much like to hear how you managed to get this to work. I have an ESP32 which I have been able to pair with my Quest 2, and GSR and pulse rate sensors I would like to use. I bought that plug-in asset and am trying to get it to work, but even though my Quest 2 and ESP32 are paired, connection still fails. I am using the callbacks that Tony (the plug-in creator) told me to use, but am getting "Connection failed" every time. I am suspecting it's something in the Arduino sketch I am using (I admit I am no master of Arduino sketch writing for BLE), but other than that I have no idea. I try to change things in the sketch and sometimes the Quest 2 headset can't even see the board anymore to pair with it.

 

After attaching the sensors and loading the sketch on the board, I pair the ESP32 and Quest 2, then I launch the VR simulation, then in the simulation I activate the option I made to use the biofeedback from the sensors. And "Connection Failed" is all I get. 

Would there be somewhere I could see an example of a properly written sketch that connects with this plug-in? Nothing I'm trying is working. 

hi. I am very new in this domain. For my master's thesis I'm trying to develop an Arduino (ESP32) pushbutton (preferably wireless) that can communicate with Oculus quest. I have no problem with the Arduino code. But I think I need a driver to transfer the data from the Arduino to the Quest. Does anyone have an idea how can I do that ?

thank you

DHARMAKAYA
Protege

Recently got an ESP32 to connect using the "Bluetooth LE for Android and iOS" plugin on the Unity store. 

However, although the example connects, it says "Error during initialize: Service not found for Write". That is an error stated by that plugin's script and it seems that the app can't access the BLE services that are offered by that ESP32. 

 

Any here recommend a way to make the Unity app able to access the BLE services on that ESP32?

 

Thanks in advance!