Zitron, If you want to help me put together a board ill Order 2 and send you one for free...
I thought about making an arduino shield, but the i would prefer to have it as small as possible and just run a wire since its going to be on top of your head or glasses.
We can use the LIS302DL - $12.95 sparkfun
and the LISY300AL Single axis Gyro - $11.95 sparkfun
that lisy300al should give you about 100x better capabilities of controlling drift.
Thanks for the offer, but I have no prior experience in designing PCBs, so I'm not sure how I can help. You are free to use any code that's posted by me however you want though.
I would just attach the gyro and accelerometer carrier boards together on some prototyping board, perhaps even to each other, and package them in a little box or inside the brim of a hat? Speaking of hats - use a Lilypad Arduino? Or an Arduino Mini?
I've had problems with static hanging my computer, particularly it happens while loading code into the Arduino but at other times also. Static buildup must be worse with a longer cable, make sure to use shielded wiring to the head part.
How about adding a Sparkfun bluetooth device and wirelessly sending the gyro/accel readings to the computer?
Documentation for the ones I use recommend positioning the devices as close as possible to the microcontroller - let us know what happens with longer wiring runs.
any one building the head tracker and camera mount for sale? I would love to build something like this myself... but dont have much time to learn how to program and do the electronics necessary for this...
if you can private message me with a price... thanks.
There are many FPV (First Person View, for flying RC planes) shops online that sells head tracker, cameras, wireless transmitter, goggles and everything else. The reason why I'm doing a DIY is because head trackers are very expensive ($150-200), if you just want to buy a whole setup, look here: What to buy for video piloting. Updated November 20th 2010. - RC Groups.
My laptop that had the old source code was stolen, but I was able to find a backed-up old version of the program that only allowed plotting of one input. My programs are written in Delphi 7.0, using someone else's plotting component that I don't have source code for. Would that work for you?
...Wondering if you have any advice for me. I'm attempting to link the rotation of a physical object with a gyro/accelerometer in it, to a 3-d model in Processing. The trouble I'm having is that the rotation around the X and Z axies works when there is no rotation around Y, but when you rotate 90degrees around Y, the movement on the physical model now doesn't correspond anymore(reversed). Am I doing something wrong? Or is there a way to correct this?
Thanks!
Did anyone else have problems with the code posted by MLuckman?
The code provided by MLuckman is supposed to read:
void PrintTerms( int t1, int t2, int t3, int t4 )
{
Serial.print(t1);
Serial.print(",");
Serial.print(t2);
Serial.print(",");
Serial.print(t3);
Serial.print(",");
Serial.print(t4);
}
When compiling the code I am getting the following error message:
In function 'void loop()':
error: too few arguments to function 'void PrintTerms(int, int, int, int)'
Unfortunately I am too new to this to understand how to fix it. Help?!
I need to connect the arduino with FSX
some program you guys use? It is by FSUIPC?
My job is to receive information from FSX
and show the displays LCDS.
If you can help me, thank you.
Can you help me out how you wire the gyro on the arduino. I have the same gyro. i just want to experiment with it but i couldnt make it to initialize. Been googling for hours to find an answer. Im a newbie in arduino and electronics, but i do have some soldering skills and some basic electronics knowledge.
Im also wondering about the potentiometer, im not sure how you wire it.
And i think you put a resistor also on the Sensor out. Could you please help me with the wiring? Thank you in advance.