TrueOpenVR / TrueOpenVR-DIY

DIY VR devices
96 stars 11 forks source link

Add vibration to controllers #5

Closed Artemiy-Z closed 3 years ago

Artemiy-Z commented 3 years ago

How can i add vibration?

r57zone commented 3 years ago

Are you talking about Arduino controllers?

Artemiy-Z commented 3 years ago

Yes

r57zone commented 3 years ago

Have you assembled your controllers entirely? Do they work well and only vibration remains? I don't know how exactly the vibration is done, but it seems like a mosfet transistor is needed to regulate the speed of rumble motor.

Artemiy-Z commented 3 years ago

I haven't made controllers yet... But i want to know how get information about vibration from steamvr.

Artemiy-Z commented 3 years ago

I plan to make it in the future

r57zone commented 3 years ago

There is no vibration support for Arduino yet, because first you need someone to check to make vibration, in principle, on Arduino (motor + Mosfet), and only then add support.

Artemiy-Z commented 3 years ago

https://techzeero.com/arduino-tutorials/vibration-motor-with-arduino/ How i can see, vibration motor can work with Arduino

Artemiy-Z commented 3 years ago

https://valvesoftware.github.io/steamvr_unity_plugin/api/Valve.VR.ISteamVR_Action_Vibration.html Can i/you use this to add vibration (if it possible on Arduino)?

r57zone commented 3 years ago

Vibration support is included in the driver in SteamVR, but it is not added to the Arduino sketch and TrueOpenVR Adrduino driver. Maybe I'll add this later.

Artemiy-Z commented 3 years ago

Is it work?