Cheap, simple Arduino based headtracker
-
<p>Just built a simple headtracker using an Arduino and its built-in gyro.<br />It has less DOF than TrackIR (only roll up/down/left/right) and it only works in snap view mode but…<br />It was cheap, fun to build, no configuration is needed, no software to install or camera, and it works no matter your distance to the screen…<br /><br />Let me know if anyone is interested in the software.<br /><br /><img class=“ql-image” src=“https://i.imgur.com/Wn3SzfW.jpg” /><br /><br /></p>
-
<p>Nice! Maybe hard to measure, but … how does the latency (response time) compare to the webcam based solutions like Track IR?<br /></p>
-
<p>@airtex2019 <br />No problem with latency. I have to slow it down in fact.<br />It’s rather simple. It just mimicks the directional keys from the keyboard. The PC sees it as just another keyboard.<br /></p>
-
<p>@Pjrebordao oh I was envisioning something more continuous, like the EDTracker devices<br /><br />Does the Arduino have 6-dof gyroscope + accelerometer? A quick google sounds like it does … but I have no idea if it’s precise enough, and stable enough for head-tracking <br /><br /></p>
-
<p>@airtex2019 <br />Yes, it has a 9DOF sensor, so a more sophisticated solution can be done.<br />This was more a quick and dirty…<br /></p>
-
<p><a href=“https://forum.hobbycomponents.com/viewtopic.php?f=105&t=1967&p=4804#p4804” target=“_blank”>https://forum.hobbycomponents.com/viewtopic.php?f=105&t=1967&p=4804#p4804</a><br /><br />it is the ED tracker, it has 6DOF support and almost no latency and 1000FPS refresh rate. There is no disturbance from light and any other source. You don’t need webcam for it and it doesn’t care that how big the FOV and resolution of the camera. </p>
-
<p>@repvez <br />That’s interesting but edtracker.org.uk is not responding anymore… Where can I get the calibration software ?<br /></p>
-
<p>Got opensource seems - all necessary here:<br /><br /><a href=“https://github.com/brumster/EDTracker2” target=“_blank”>https://github.com/brumster/EDTracker2</a><br /><br /></p>
-
<p>Do you know if there is any way to do this with an arduino uno?</p>
-
<p>Very cool project! Too bad it’s relegated to the snap view pit, but it’s way better than nothing. Well done, love the simple cord-retention design!<br /><br />@luiz42 He is using a microcontroller with built in sensors which are not present on most versions and clones of the Arduino Uno, and the smaller form factor of the mini/micro boards would be preferable to the larger Uno sized boards with what would end up being a shield or modules in addition to that board to cover the sensors (and maybe even wireless wifi/bluetooth) which the Uno lacks.<br /><br />Just get a board like he is literally using with the options needed, they work with the Arduino IDE and come in so many variants. I looked them up on Amazon, it’s cheaper to buy 3 of them than to buy just one, and you won’t crack more than a $20 unless shipping cost is a thing for you/your region. If you really do wanna devote an Uno to this, breakout modules which include sensors (and bluetooth/wifi) are even cheaper, saw a 3 pack for less than $10 with header pins already soldered on, too!<br /><br /><br /></p>
-
<p>Could it work with OpenTrack ? If so, the motions/movements could be translated to axis for looking around seamlessly like with Opentrack and eg. Delanclip. But no camera required, so that would be very neat</p>
-