Go Down

Topic: Arduino 3DOF Head Tracker (Read 18 times) previous topic - next topic


Which ones goes to arduino?

sensor output = analog pin 0
3V in = 3v arduino pin

I tried it and did an analogRead(gyroPin) which gyroPin = 0
im only getting 667 +- readings.


I noticed that your code has Vin on it. Do i need to put something in the Vin pin?

Ref Voltage = Vin ?


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.


Hi Zitron,

I tried compiling your code but I got the following error:

Code: [Select]
In function 'void loop()':
error: 'floatToString' was not declared in this scope

Where can I get the floatToString function from??


Go Up