DIY Head Tracker For A Tenner

Hi Hoff.

I was messing around with the magnetic calibration last weekend trying to get a workable Mac prototype up and running and this is exactly the symptom you see with a wrongly calibrated magnetometer.

My suggestion would be to set the configuration to USB TOP&LEFT then perform the calibration again with just the naked EDTracker (not strapped to your headphones or whathaveyou), keeping it far away from your phone, the keyboard, monitor anything that might generate a magnetic field.

If you can eliminate the recentreing problem under test conditions it's then just a case of reperforming the calibration under live conditions with enough data points that you get a good estimate of the full magnetic ellipsoid. Turn the sensitivity slider up a bit so you've plenty of points for it to solve with.

When I say live conditions, I mean strapped to whatever you're going to strap it to and keep it at around the area you'll be using it. Don't put the headphone/tracker combination down on the desk before you've finished or after you've started, for example.

Good luck,

BW.
Hey, thanks for the reply.

I tried doing that several times last night, but will give it a go again, is there a way to do it on Mac ?
Could try it on my Macbook instead, maybe that fixes something.
 
Thanks for the reply,

I tried that, and still nothing change, think i might order a 9150 and try with that instead, if that doesnt work i might check out this IR tracking stuff.
 
Thanks for the reply,

I tried that, and still nothing change, think i might order a 9150 and try with that instead, if that doesnt work i might check out this IR tracking stuff.

Probably a stupid question, but just in case, are you using the right sketch for the 9250. There is a seperate sketch available for the 9250 here. Not sure what the diffrence is or how to set it up. I have yet to build my 9250 based Tracker (XMAS project).
 
Hoff,

Any chance you can post a screenshot of your post-calibration magnetometer tab? It should show two almost-spheres of dots. I'd just be interesting to see what sort of quality of data you're getting out.

Cheers,

BW.
 
Woohoo! We made an EDTracker Pro Promo!

Our new website is up and running at EDTracker.co.uk with more content being added in the coming weeks. Updated UI and firmware for the EDTracker Pro are in the final stages of testing with a focus on usability and improved tracking (coming soon ;) )

[video=youtube;yKXZxCFpGgk]https://www.youtube.com/watch?v=yKXZxCFpGgk[/video]

The existing edtracker.org.uk site will remain the focus for the DIY EDTracker and we have an update to the DIY UI too. Also coming soon ;)

Rob - EDTracker Dude
 
So i took some screenshots, also recorded a video with my phone if anyone is intrested.
All screenshots were taken while the EDTracker was completley still.
Here is the magnetometer
2015-11-20 15_23_11-EDTracker UI 4.0.4.0.png
Here you ican see the yaw jittering even tho its laying still on the floor even, so no magnetic disturbance:
EDTRACKER-Yaw - crazy.png
 
Last edited:
Hi again Hoff,

Those calibration numbers look pretty good and you've a fairly decent sphere there. The jitter can be eliminated by upping the smoothing setting. Mine needs somewhere around 70.

If you're still getting that pan-and-return phenomenon after all that's in place, however, then there's not many other places to look than the firmware (full reset and reflash?) or hardware.

Probably a dumb question, but I've seen mention of it before:- make sure your USB port position corresponds to the correct orientation for the magnetometer. If it's different (eg. on your board 'left' is actually 'front') you'll see this problem as the magnetic compensation matrix will be incorrectly rotated. Choosing the other orientations and seeing if the problem reduces significantly in one of the different configurations could hint at that.

Cheers,

BW.
 
Woohoo! We made an EDTracker Pro Promo!

Our new website is up and running at EDTracker.co.uk with more content being added in the coming weeks. Updated UI and firmware for the EDTracker Pro are in the final stages of testing with a focus on usability and improved tracking (coming soon ;) )

The existing edtracker.org.uk site will remain the focus for the DIY EDTracker and we have an update to the DIY UI too. Also coming soon ;)

Rob - EDTracker Dude

Awesome! I have the Pro and love it. Still tweaking with the scaling, but I cannot play without it. I guess I should try it with WarThunder over the weekend too. Great Video btw, Surprised to see Euro Trucking Sim in there!

Oh, site cannot be found for edtracker.co.uk, DNS must not have propagated yet.
 
Hi again Hoff,

Those calibration numbers look pretty good and you've a fairly decent sphere there. The jitter can be eliminated by upping the smoothing setting. Mine needs somewhere around 70.

If you're still getting that pan-and-return phenomenon after all that's in place, however, then there's not many other places to look than the firmware (full reset and reflash?) or hardware.

Probably a dumb question, but I've seen mention of it before:- make sure your USB port position corresponds to the correct orientation for the magnetometer. If it's different (eg. on your board 'left' is actually 'front') you'll see this problem as the magnetic compensation matrix will be incorrectly rotated. Choosing the other orientations and seeing if the problem reduces significantly in one of the different configurations could hint at that.

Cheers,

BW.

Thanks for the tips, the stuttering stopped with the smoothnes increase, but still the problem is the yaw is so sensetive, just moving it a millimeter makes it go 180 degrees, than it goes back to center and the software usually crashes..
Gonna go buy a breadboard and a desoldering pump tomorrow, hopefully i can do some debugging on the breadboard to see if i did a bad soldering job. I dont think that is the problem tho. I have alot of experience soldering.

Will post back if it works on a breadboard. Could be something wrong with the custom PCB aswell!
 
Is the pro much better than the 6050 i currently have? also will we now not see any more updates for the original tracker?

The Pro is a good improvement over the 6050 yes, which didn't have the magnetometer in it.

We have no plans to drop or stop supporting the DIY EDTracker, no, not at all - long may it continue!
 
Thanks for the tips, the stuttering stopped with the smoothnes increase, but still the problem is the yaw is so sensetive, just moving it a millimeter makes it go 180 degrees, than it goes back to center and the software usually crashes..
Gonna go buy a breadboard and a desoldering pump tomorrow, hopefully i can do some debugging on the breadboard to see if i did a bad soldering job. I dont think that is the problem tho. I have alot of experience soldering.

Will post back if it works on a breadboard. Could be something wrong with the custom PCB aswell!

Hi Hoff, I doubt it's your soldering, they usually work or they don't. Are the PCBs (well, the MPU board in particular) flat to the plane of your head and it's no flapping about or loose? The blobs for you magnetometer calibration look very tightly packed together, I would turn down the sensitivity slider before calibrating it again - we do recommend that you move the slider just to the point where the mag readings number starts to increment, then back it off just to the point where it stops again (this is with the device still) - then do your mag calibration at that sensitivity level.

Maybe, for some reason, the mag you have is more sensitive than most... although it'd be the first case I've heard of it :-S !!
 
HI
Just bought the pro after reading the reviews and watching the videos.
Does anyone know what the lead time is on this.
Looks like a fantastic product.
thanks
Cmdr Simpleye
 
Screen Shot 2015-11-20 at 23.38.44.png

EDTracker-Mac Alpha 3 is available for testing.

This version has all the basic functionality I planned adding for the first release version.

You can inspect the output, change the orientation, alter the scaling and smoothing, recentre, recalculate gyro bias, and perform manual magnetometer calibration.

Automatic calibration and flashing of firmware are not (yet?) supported.

Bug reports to my PM, please! :)

How to manually calibrate:
Fire up the program, select your serial port and hit open. I've had some issues connecting the EDTracker, but it's infrequent now. If it says connected but there's no data populating the Data From Serial column, try hitting the 'Hello' button. Failing that, close and re-open.

Once the serial is connected the program will start collecting magnetometer data and plotting it. Take the EDTracker to its working position, hit clear, then start rotating it through as many orientations as you can to trace out an ellipsoid on the plot. When satisfied, hit pause to stop additional (potentially errant if you now put down the EDTracker) points being recorded.

Use the offset, scaling and rotation controls to position the yellow ball of dots closely around the ideal sphere (turquoise). If you have an extant setup, hitting 'Current Values' will transfer those to the prototype settings to save you some time. 'Reset Values' will take you back to identity (ie. default settings).

Once happy with the alignment of the yellow and blue balls, hit 'Send Calibration Data to EDTracker'. Select your orientation by clicking 'Mounting Orientation' until it describes your mounting position.

Don the EDTracker and hit 'Recentre' then, sitting very still, hit 'Autocalibrate Bias'.

Once that's all done, try moving around and seeing how it responds on the HID graphs. Scaling and Smoothing can be applied now.

If you're seeing yaw being very sensitive and then springing back, try fiddling with the 'Blue' offset setting (up or down) and re-sending the calibration data until it improves.

The major problem I've encountered so far has been memory leaks with the ARC system in the current version of Xcode. I've completed replaced the matrix logic from the previous version with pure C versions (managing my own memory), but there's still a medium-paced leak that's caused by me updating the joystick position sliders(!)

I'll need to figure that one out before the release version, but unless there are any serious problems reported with this alpha, I'll move onto beta which will be a complete refactor.

Once at release I'll publish the source and pass the whole shebang to Rob and the team.

Cheers,

BW.
 

Attachments

  • EDTracker-Mac_alpha3.zip
    135.2 KB · Views: 127
Hi Hoff, I doubt it's your soldering, they usually work or they don't. Are the PCBs (well, the MPU board in particular) flat to the plane of your head and it's no flapping about or loose? The blobs for you magnetometer calibration look very tightly packed together, I would turn down the sensitivity slider before calibrating it again - we do recommend that you move the slider just to the point where the mag readings number starts to increment, then back it off just to the point where it stops again (this is with the device still) - then do your mag calibration at that sensitivity level.

Maybe, for some reason, the mag you have is more sensitive than most... although it'd be the first case I've heard of it :-S !!

Thanks for the help brumster, im gonna skip on desolder the unit then. All the parts very firmly soldered to the PCB, so no flapping or anything, the only thing that is loose is the unit itself until i screw the lid on the box i got from your website (hammond box). When the lid is on, there is nothing moving. I have tried multiple reflashes and recalibrations now, but will try some more tomorrow, been going at it for days now.

For me it seems like the MPU board has some serious defect on the sensetivity levels of yaw, anyone know what https://hobbycomponents.com/ policy is on units like this? Do they just ship me a new one if i give them some pictrues/videos etc. Or do i need to return the whole kit ?

Uploaded this video to youtube that shows how the device reacts to different movement, up and down works fine, but to the sides is just not working at all. Kinda sad, these EDtrackers seems really accurate if they just work.
Here is the video:

[video=youtube;ltppsTSHl94]https://www.youtube.com/watch?v=ltppsTSHl94[/video]

Gratz on the new site, looks good. Might just have to order a EDtracker pro if i cant get this to work.
 
I know you start to doubt anything at this point but let me assure you it is not the arduino or the circuit board if it goes like this. 99% guess it is the calibration and 1% wrong firmware.

As i wrote earlier it may be a magnetic field from computer, monitor, head set, anything
 
Last edited:
Back
Top Bottom