Best way to communicate with an ESP32 and Unity app through BLE (or BT serial) on an Oculus Quest?
Hi, Been trying for a long while to get an ESP32 to communicate with a Unity app on an Oculus Quest. Recently got that ESP32 to connect to the Unity app on Quest by using the "Bluetooth LE for Android and iOS" plugin that is on the Unity store, but the app didn't find the BLE service on the ESP32 ("Error during initialize: Service not found for Write") although it was connected to that ESP32. Have tried the same Unity app on an Android phone and thankfully it functions properly on the phone. Main goal with that is to get it functioning on Oculus Quest right now though. Thanks in advance for recommendations on how to make that Unity app communicate with that ESP32 through BLE (or BT serial) on the Quest properly!6.7KViews0likes7CommentsHow to send data(0,1,2,3) to an Arduino or Raspberry via Bluetooth or Wifi.
Hello readers!. i am working on a medical project that uses VR for rehabilitation of people with certain kinds of traumas, physical and emotional (cant reveal more info about it). I would like to know if there is a way to pair an Arduino or Raspberry with a Bluetooth module, so when i hit an object or do something in VR, the raspberry or arduino can read a 1,2,3,4 or a couple of chars. My guess is 1) Pair the oculus quest android to the arduino (can this be done?, or is it only for gamepads) 2) Use a wifi server and send messages over HTTP or OSC. 3) connecting directly to USB if possible, a long usb cable wouldn't bother that much. To me, bluetooth would be the best one because it wouldnt require to use an external wifi , router, and extra program. Any ideas? someone tried this already?. Im working with Unity and Oculus SDK, but this is a platform agnostic solution, and there are many people already asking about this. Also, can the arduino be seen as a "gamepad" somehow? so i send and receive input , like cheating the quest.11KViews4likes16CommentsUnity3d read USB serial port data in app in Oculus Quest 2
I try to create program in Unity, that will be conect Arduino project with Oculus Quest 2 using serial port (USB to USB). And i have few questions: 1) What the device nameof USB port (I found that the name is /dev/ttyHS0 but not shure) 2) Can i get access to port? Curently i get message that access denied (chmod: crw-rw---- and i can't change it) The main idea is read information from Arduino device in string format and work with this in Unity Apk. In Manifest was added all requered permisions.2.6KViews0likes2CommentsMaking an Oculus App for educational / medical content: how can connect to Arduino?,Bluetooth?,USB?
Hi developers. I currently have to create a unity app (easy part) that is like a drumming game, when you hit a musical instrument, percussion, chords, pianos, etc, i need to send a haptic feedback to a device, cant specify details due to nda. But basically the device is an arduino with Wifi/Bluetooth/USB, i need to send values from 0-100 to the arduino so it does things. I was thinking: 1) Bluetooth would be awesome, emulating a serial port via bluetooth in the quest 2) Wifi, just sending wifi signals, some UDP packages, 1 or 0's 3) Directly connect the Oculus Quest USB to the Arduino USB(still preffer the wireless method though). 4) the worst one, having an android app that works as a hotspot and Ping OSC messages, which would work too, https://www.arduinolibraries.info/libraries/osc OSC works everywhere, but a simple wireless solution would be better. Extra question, you can use the camera that oculus uses for tracking, but... can i plug an external camera to the USB directly? so i could try to map some objects in the room, like adding a small very small usb camera and accessing it... having another pc or android phone running a server to send signals is tiresome, this is a demo for a company. I havent had time to test everything but i would take in consideration what you guys tell me first. normally any android would let you pair with an arduino or wifi direct to it.2KViews0likes1Comment