LucidVR / lucidgloves

Arduino/ESP32 based DIY VR Haptic gloves. Compatible with SteamVR via OpenGloves.
MIT License
2.02k stars 259 forks source link

Hall effect sensor (rotary encoder) for the V5 #117

Open borgsm1 opened 9 months ago

borgsm1 commented 9 months ago

Hi, may I suggest using the sensor AS5600 by Osram.

Similar to Marius Heier's project making a drop in replacement for a thumbstick and would use a ring magnet. He criticized that using a linear hall effect sensor would have an inconsistent measurement but using the chip would measure magnetic field better as it is measuring the angle of the magnet. It looks like it will fit in better with your design. It can work like an analog pot or could be digital.

borgsm1 commented 9 months ago

As an analog pot it can be programmed to have more resolution against an actual potentiometer. And when programmed to work like an analog pot there would be no need to modify the gloves v4 code.

Or as a digital pot it would communicate directly with the microcontroller.