DIY Head Tracker For A Tenner

Cheers, Brumster. That's what I thought. I'll wait a couple of weeks before ordering parts from anywhere and see what the best option is to put something together in time for the premium beta roll-out.
 
That's fine. You're basically looking for a dev board with 8 pins just like the 6050 board we've used up to now. The pin order just needs to be the same.

VCC
GND
SCL
SDA
EDA (or maybe XDA)
ECL (or maybe XCL)
AD0
INT

I've not found one yet that has a different pin order, so generally if it's got 8 pins I'd say it's fine, but obviously I can't fully commit on that ;)

thanks mate yeah they all say that will get one on order soon
 
More big pictures.
IMG_5395.JPG

IMG_5396.JPG
 
Last edited:
Gotta be honest never done anything like this before, my components from hobby in transit. 30min reset is fine with me if brumster fixes drift he should be on oculus team. The whole point of this I thought was a cheap tracker until oculus unit is released!! Now I have already spent £23 on parts and soldering iron etc. those pics are massive help so I put arduino board on one side and mp650 thing on the other and solder pins together as per previous post? It's the actual which pin goes where bit I'm confused with. I don't have daughter board just that hobby board gizmo. If some one could sell me a prototype board in image above would help loads. I am an alpha backer just pm me and ill PayPal pay! Thanks I. Advance Chris aka Paz
 
This might help... The custom boards are not quite available yet.
If you look on Pocketmoons blog I think there are some pictures and instructions.
I've really got to find out a nice way of resizing pictures, lol.

The only reason arrange things in a 3D manner is to increase compactness.
The board you have will work fine all spread out. But unsoldering stuff later so you can reuse components would be tricky. You need about six pairs of hands.
IMG_20140326_201813.jpg
 
Last edited:
Fred - stick your pics in a "spoiler" tag matey ;) the little red ticket icon in the forum message editor ;)

Love and hugs etc.... ;)
 
I think I got this now, thanks bumster for all your help and thanks to deadfred for posting these pictures, so I want to test it by soldering it to this board that came with the kit using link wires, from what I have seen from the picture on the first post of this thread (oops almost said fred haha) and the last one I have noted down the order of pins in an easier way for me please could someone confirm if they are correct.

arduino pro micro mpu 6050 wiring

right switch leg to pin 10 pro micro
left switch leg to ground nex to raw pro micro
ground next to raw pro micro to ground on mpu6050
vcc pro micro to vcc mpu 6050
pin 2 pro micro to sda mpu 6050
pin 3 pr micro to scl mpu 6050
pin 7 pro micro to int on mpu 6050


I do not really understand the first picture as the ground wire connects to alot of places, if I got it right then I can start soldering.

Sorry for the post again but I really want to understand this.
 
Last edited:
So I got it running am at the last step now calibration, I ran the calibration sketch and it spat out these numbers
Sensor readings with offsets: 0 21 16389 -1 0 -4
Your offsets: -4525 -2367 3106 56 -24 55

I was watching brumsters vid about it and his is -27 -27 36 which ones do i choose to put into the code?
 
ok great its all working now to test it, thanks :)

Your offsets: -4525 -2367 3106 56 -24 55

I guess 56 would be X -24 would be Y and 55 would be Z?



If I tilt my the board it goes left and right in the calibration joystick in windows, am trying it out on euro truck simulator 2 it looks around but it mainly goes full left or right and I have to keep resetting it every 5 seconds, tried playing with the deadzone on it, maybe ppjoy is having an effect on it
 
Last edited:
The first 3 are accel offsets (x,y,z), the next 3 are gyro offsets (x,y,z).

Test in Windows USB game controllers first, make sure they are looking sensible in there before you go checking in game or via virtual joystick drivers, just in case they are doing something funny with it.
 
thanks again brumster you have been a star I will recalibrate it and take out ny virtual joysticks, see what happens, it has been rather interesting doing this :)
 
so I think I may have a dodgy mpu, x axis in windows is reporting it to be z axis, I have re calibrated a number of times, I though maybe as I mounted the mpu vertically on the prototype board, so I recalibrated a number of ways flat vertical etc still gives the same thing, interesting my board is a leonardo from hobbycraft well thats what windows says for the driver.

In the game controller test window, up and down moves ok, if I move left to right Z axis moves and if I tilt it, it goes left to right really, fast, tried it in warthunder and euro truck sim 2, biggest problem I can find which affects both games, is that the little cross on the test window sort of overlaps and goes to the other side, I saw it in brumsters video too, the problem is on warthunder and euro truck sim 2 you look left and the cross hairs goes too far and then goes to the right side of the box and then your view flickers ingame.

Apart from those issues both games can see the leonardo axis, x y for euro truck and x y z for warthunder.

if it is a faully mpu I will wait for the 9150

Its been fun trying this
 
It's not faulty, sounds like orientation issues to me - you can flip the axes around in the code if it really bothers you (ultimately just map each axis accordingly).

Do you have the latest code? It clamps the values so they don't wrap around, although not in exponential mode (I have a fix for that, I'll send it to pocketmoon today)....
 
I found that if I calibrated the tracker sat on the desk facing upwards with the sketches calibration mode the axis mapped correctly so I am now using x and y. However, depending upon the way you have it mounted I don't think it matters if you find yourself using a z axis. ED will accept any of the axis you decide to use for a particular head movement.
 
Back
Top Bottom