DIY Head Tracker For A Tenner

Wow, EDTracker2 works great! All of my drifting just fades away.

That custom device method is really slick. Good job! I wonder if we can get rid of the mouse and keyboard parts of the HID.cpp and USBAPI.h files to save space in the firmware.
 
Erm, am I missing something?

Should the EDTracker show up as a Windows game controller?

I've followed the IDE route, as the Update Tool doesn't seem to work for me. I've got the unit flashed, calibrated, and now running the main software. (Following the instructions from the http://edtracker.org.uk/ site, with source from https://github.com/pocketmoon/EDTracker2).

The EDTrackerUtil221 tool shows it all working fine, tracking as I move it around, nice and stable, etc.

So how do you actually get it to show up in ED?

Moving it up and down when in settings does nothing. I'm guessing due to Windows not recognising it as a game device?

For reference, the device is showing up as 'Arduino Micro (COM5)' under Windows Device Manager.

Under 'Control Panel\Hardware and Sound\Devices and Printers' it shows as the same name, listed as an 'Unspecified' device type.

Drivers were taken from the above web site, file: 'ArduinoDrivers_1.5.6r2.zip'

The drivers work fine for flashing/monitoring.

I've tried different ports (USB 2.0), a different cable etc.

Am I missing something?

OS: Win 7 64 bit.

Cheers all.
 
Don't know where to post this but, just got my assembled EDTracker and it works flawlessly. Super easy to set up and works MUCH better than I was expecting. Great piece of kit for the money. Fast delivery too :D
 
windows should see it as a multi function device named EDTracker Arduino... something... Did you load the tracker arduino sketch after using the configuration sketch.

You should be able to go into the windows device and open up the game controller callibration to verify that windows can see the movement. movement from the ED tracker shows up as joystick movement. chances are that your elite is not configured to use a joystick yet. Goto the options for a controller and scroll down until you see x-y pan for the head movement (don't have it runningto give the exact name.) when you get to the x-y pan choose the button where you can assign a key. then, instead of selectig a key, move the ED tracker left to right. the control for the x-y pan should now appear as Joystick x. Do the same setup for up-down and save the options.

next, load a simple sim like hunting fuel cannisters and try activating the head look mode. on the xbox pad that is the right thumb. if you don't know that activation method go back to the options > controller and search for they key your setup is using. this is useful for only using the ED tracker when you want to.

note, you might need to go back yet again to invert the xy or up down values. that depends on how you have your ED tracker mounted.
 
Last edited:
IsaacS's advice is good; can you verify it moves the cross in Windows USB Game Controllers? If it does, you've just not set it up right in ED. If it doesn't, well, it's something else :-S .... we'll cross that bridge when we come to it!
 
Noobish question about the assembly. How do you transform the pcb included in the hobbycomp bundle

hcprot0004_800_1.jpg


into this?

%21cid_ii_1453cd90de6924b3.bmp


:S
 
Last edited:
http://edtracker.org.uk/

The best way would be to go to the above website and buy the PCB from the guys that make them. They cost £5 inc PnP

You could PM Brumster on this forum if you want a slightly more direct route but your still be talking to one of the same guys.

If you really want to you could add the right link wires to the basic breadboard you got in the kit, but the custom PCB is way better and worth the cost.
 
All right then, I contacted them for the custom pcbs even if I'm tempted to make a wired version and see how terrible it looks. I bought 2 kits so I might even give it a try while waiting for the shiny pcbs :)
 
Last edited:
If you want to have a go at building one on the breadboard then have a look at the Building section on that website and you will find a wiring diagram.
 
Thanks for the feedback.

windows should see it as a multi function device named EDTracker Arduino... something... Did you load the tracker arduino sketch after using the configuration sketch.

Sketch currently installed is 'EDTrackerII', extracted from 'EDTracker2-master.zip', from GitHub.
Also shows as 'EDTrackedII V2.10' in the EDTrackerUtil 221 (which talks to the device fine, i.e. it tracks as it's moved).

You should be able to go into the windows device and open up the game controller callibration to verify that windows can see the movement. .......

There is no Windows game controller device showing (other than my FLY5).

The Arduino board only shows up as 'Arduino Leonardo (COM3)', and is listed as 'Unspecified', rather than 'Devices'. So no way to open up the controller calibration, as Windows does not see the EDTracker as a controller device.

I'm guessing a driver issue perhaps?

The driver is the one from 'ArduinoDrivers_1.5.6r2.zip'.

If I bring up the Properties for the device under 'Devices and Printers', it shows:

Code:
Manufacturer:   Unavailable
Model:          EDTracker2
Model Number:   Unavailable
Categories:     Unknown
Description:    Unavailable


If I go via Device Manager and look at the driver I have:

Code:
Provider:  Arduino LLC
Date:      04/01/2013
Version    1.0.0.0
Signer:    Arduino LLC

The only file listed under Driver Details is C:\Windows\system32\DRIVERS\usbser.sys

Within Device manager, the Arduino is listed under 'Ports (COM & LPT)'

I'll keep digging.

Thanks all.
 
Just been doing some experimenting.

Launched an XP VM on the same PC, so using pass through USB to the VM (plugged into same USB socket).

XP recognised it straight away as a composite device.

Installing the same ArduinoDrivers_1.5.6r2 drivers in XP, caused XP to recognise a HID compliant game controller.

So now shows up fine as a Game Controller in XP, including calibration etc.

So seems the hardware and software on the Arduino itself are okay.

My issue must be with my Win 7 install, or an issue with the drivers there.

I'll keep digging....
 
Thanks for the feedback.



Sketch currently installed is 'EDTrackerII', extracted from 'EDTracker2-master.zip', from GitHub.
Also shows as 'EDTrackedII V2.10' in the EDTrackerUtil 221 (which talks to the device fine, i.e. it tracks as it's moved).



There is no Windows game controller device showing (other than my FLY5).

The Arduino board only shows up as 'Arduino Leonardo (COM3)', and is listed as 'Unspecified', rather than 'Devices'. So no way to open up the controller calibration, as Windows does not see the EDTracker as a controller device.

I'm guessing a driver issue perhaps?

The driver is the one from 'ArduinoDrivers_1.5.6r2.zip'.

If I bring up the Properties for the device under 'Devices and Printers', it shows:

Code:
Manufacturer:   Unavailable
Model:          EDTracker2
Model Number:   Unavailable
Categories:     Unknown
Description:    Unavailable


If I go via Device Manager and look at the driver I have:

Code:
Provider:  Arduino LLC
Date:      04/01/2013
Version    1.0.0.0
Signer:    Arduino LLC

The only file listed under Driver Details is C:\Windows\system32\DRIVERS\usbser.sys

Within Device manager, the Arduino is listed under 'Ports (COM & LPT)'

I'll keep digging.

Thanks all.


Just looking at your issues and I think is a driver issue as well. You said you built and programmed it yourself yes?

When you did the install of the Arduino 1.5.6r2 programme did you also replace the "HID.CPP" and "USBAPI.H" files that are stored in the "C:\Program
Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" ?

Looks to me that you haven't and it installed the original ones on to the ED Tracker. They don't have the information telling windows what to assign the device as.

Mine shows up as:

Code:
Manufacturer:   Unavailable
Model:          Arduino Micro
Model Number:   Unavailable
Categories:     Keyboard, Mouse, Game controller
Description:    Unavailable
 
Your is a strange problem, does sound like a driver mix up in windows its assigned the wrong ones and you need to get it to see the right ones now. Have you tried moving the ED Tracker to a different usb port?
 
Just looking at your issues and I think is a driver issue as well. You said you built and programmed it yourself yes?

When you did the install of the Arduino 1.5.6r2 programme did you also replace the "HID.CPP" and "USBAPI.H" files that are stored in the "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" ?

Looks to me that you haven't and it installed the original ones on to the ED Tracker. They don't have the information telling windows what to assign the device as.

Mine shows up as:

Code:
Manufacturer:   Unavailable
Model:          Arduino Micro
Model Number:   Unavailable
Categories:     Keyboard, Mouse, Game controller
Description:    Unavailable

Nope, didn't copy any files.

Would those be the ones under the 'core' dir of the GitHub zip?

If so the instructions on the web site stated the following in the 'EDTracker II - Software Install Flashing v1.1.pdf' :

Core
Provided you download and unpack the custom ArduinoIDE device above, you can ignore the core
folder contents. No action is necessary.

As I used the custom ArduinoIDE device, I didn't use them.
 
Been a while since I last posted here (maybe a million posts back :smilie: )
Got a new puter etc. and last weekend thought I'd finally plug in my EdTracker.
Surprised me that it worked almost straight away but the drift goes out fairly often. Plus after a while I got the problem of where you look left and it instantly flips to far right view)
I used the EdTracker2 method to set it up and it must of been a fairly early version.
What would be the best way of upgrading ? I assume I will have to install Arduino to re-run the latest scripts etc.

Thanks for your assistance. Great project. Great community :)
 
If you run the Arduino IDE, open up the serial monitor , and enter 'I' and click [send] ? Then paste the output here ?

Cheers

Rob

Not sure of this is what you're after, as the serial monitor is a constand blur of output, so I can't see what happens after sending 'I', but a search of the output dump shows lots of these:
D -0.48 -0.79
T 1926372
-280 0 0 -866 -1080 15372 0 0 0
-280 0 0 -814 -1142 15522 0 1 0
-280 0 0 -902 -1088 15350 -1 -2 0
-280 0 0 -922 -1208 15556 0 2 0
-280 0 0 -908 -1090 15346 1 0 0
-280 0 0 -930 -1116 15674 0 0 0
-280 0 0 -818 -1266 15576 0 2 0
-280 0 0 -918 -1166 15464 -2 -1 0
-280 0 0 -944 -1134 15572 1 0 0
-280 0 0 -826 -1180 15352 0 0 0
-280 0 0 -986 -1072 15600 0 1 0

Then this is the only thing I could find 'I' referenced in:

I EDTrackerII V2.10
M ----------------
M Orientation 0
M Drift Comp-0.79
M Drift Rate -0.48
M Gyro Bias 105 / 79 / -39
M Accel Bias 43 / 99 / -201
M Fact Bias 61600 / 64339 / 1170
M MPU Revision 2
s 255 1.00
 
Back
Top Bottom