Head Haptic With Arduino
.png)
These are instructions on making a janky headhaptics panty beeny that works with unity and can be mouted on your Valve Index
it will use unity and connect with you Arduino board to detect collision and calculate the velocity of the object colliding. it is supposed to mount on the front of your valve index and work with VR. (note that the unity project in the git is not setup for VR.https://git.hku.nl/-/ide/project/david.jak/if-this...
code is in C#
Will only have 6 individually controlled zones.
Please keep in mind that this has been made by a student and result are not guaranteed.
Good luck
Supplies
Parts:
37 cables 10/20cm minimum(more or longer is also possible)
20 10mm vibrators( you can do more but it will only be 6 groups if you work with 1 Arduino Uno board)
2 panties
tape
1 Arduino Uno board
1 USB power cable
Solder
Glue
3d print combined https://www.thingiverse.com/thing:4600745/files + https://www.thingiverse.com/thing:994827/files
1m Thread
Equipment:
sowing kit
Pc/laptop with USB
A code writer like visual studios for writing C#
Unity (2020.3.22f1)
Urduino package https://assetstore.unity.com/packages/tools/input-... https://marcteyssier.com/uduino/docs
Arduino coding program
Soldering iron
a head sized bowl
3d printer
Hardware Together



Make a layout on where you want the zones to be and then attach all the vibrator in lanes to each other. Tape teh exposed solder.
Panty Sowing

Put the panty on your head and mark the excess and sow it together and then cut the excess and flip it. do it for both panties.
Hardware to Panty


Put one panty on the bowl glue the vibrators on the panty like the layout that you made and make sure its on the correct spot on your head so its doesn't conflict with the headset.
Lead the cables through the middle.
Let it dry.
Get you other panty and cover the the vibrators. Make sure the cables can stick out somewhere.
Tape the cables.
Get your 3d print and stick in in your index and then put the Arduino in and stick the cables in.
Plug the USB into the pc and Arduino.
Adriano Code and Urduino Setup in Unity

Everything you need to know about Urduino is in here. https://assetstore.unity.com/packages/tools/input... https://assetstore.unity.com/packages/tools/input...
After that you you have to make a script that will write to the pins on your Arduino Uno board. https://git.hku.nl/-/ide/project/david.jak/if-thi...
Its the Udiono test script. put in on the object that is moving. We will use the PWS only because those can go lighter and harder. so those are 6, 5 ,4 and 11,10,9. look for the squiggly line on your board.
Then make one of the game object collide with the moving object.
Done
If you want it in VR the just drop in one of the OpenVR packages in unity or look for the SteamVR package in the asset store
