Possibility for arduino robot with VR controller

Hey guys,

I own a vr headset (oculus quest 2) and I also try to make some games/apps on unity in my free time for it. I was now wondering if it was possible to control a robot with a vr headset trough an app made in unity, on an android app connected to an arduino trous USB-C connection as shown in the picture

I'm new to arduino so I don't really know it's capabilities yet but I know it can do a lot. If the connections are possible I'll only need to find out how to program the app so the devices receive/send data to the arduino which on it's turn receives/Sends data to the android phone app which on it's turn receives/sends data that data to the vr headset.

I already know it's possible to connect an android phone to an arduino with a USB OTG connector(?). https://www.instructables.com/Control-an-Arduino-With-Android-and-USB/
And I also know it's possible to insert arduino capabilities into unity How to integrate Arduino with Unity - hardware work with software - YouTube
Also, I believe it's possible to create a VR compatible system in unity that will also be able to run on android. I'm just wondering how I will have to define the android and the vr and how I will make them send and receive data trough a wifi/4g connection with probably, a peer to peer network

So is there anyone who can allaborate on this further?

I kept on searching and brainstorming and I guess it should work something like this(?):

I need to make a unity project with a VR compatible system, normally that should also be possible to run on an android system since you can use smartphones as VR headsets in some cases, so running the program should also work. Then I guess I'll need to make a first scene where you have two button choises 'Smarthpone' and 'VR', if you click the VR you load the scene as the VR headset controller and load up those scripts and if you press Smarthpone you load the scene as the smartphone operating system and load up those scripts so I guess two devices that work with each other to send and receive info... But then I also need to import an android system for the smartphone side so the smartphone can communicate with the android...

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