Which would be the perfect sensor for a turning device?


hi. i'm on project of car (like 4 wheel rover) , have make turn precisely.
i know making pair of wheels go forward , other 1 go backwards, car rotate having center of body axis. now, need make turn angle need (for example, if tell turn 90º clockwise, it'll has so).
i found difficult job having dc motors on each wheel. thought measuring time car lasts make 360º turn solution, messy , imprecise.
then, had idea buy compass calculate position having north reference (if car 58º north, if wanted turn 90º clockwise, have 58º+90º north), i'm afraid kind of magnet ruin measure.
i thinking using gyroscope i've never used 1 don't know if that's need.

what think? kind of sensor use achieve this?
thanks in advance.

(p.s.: sorry bad english. i'm argentinian :d)

a gyroscope measures rate of turn. how speedometer on car won't tell distance travelled, gryoscope won't tell you have turned, example, 90 degrees; tell you're turning @ rate of 90 degrees per second.

gyroscopes tend noisy , error build on few seconds. best solution involves combining gyroscope , magnetometer (compass) gyroscope used calculate position based on previous rates of turn , magnetometer available correct errors inevitably pile gyroscope's readings.

this not simple problem , there no simple solutions.


Arduino Forum > Using Arduino > Sensors > Which would be the perfect sensor for a turning device?


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'