Shop OBEX P1 Docs P2 Docs Learn Events
Measuring Angles — Parallax Forums

Measuring Angles

SRLASRLA Posts: 19
edited 2005-07-31 15:52 in Robotics
Hello
I'd know how basic stamp II may measure the angles to work according to it, i don't know what sensors to use. I was reading about the Memsic 2125 Dual-axis Accelerometer. Thanks!

Post Edited By Moderator (Chris Savage (Parallax)) : 7/27/2005 4:23:37 AM GMT

Comments

  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2005-07-31 15:52
    Well, we all know there are 360 degrees in a circle.

    But computers are different.

    Stepper motors divide the circle into 200 steps or 400 steps and so on.

    But, the BasicStamp is limited by binary math, so it divides the circle in 256 parts.

    From this, you have a whole bunch of different concepts of Sin, Cos, Tan and so on.

    It is a bit like going from Pounds and Feet to Kilograms and Meters.

    The Memsic also has its own way of scaling and provides conversion charts that will help you determine angle. You will notice the the accuracy falls off as you move away from the center of the main reference axis.

    This means that you really need three Memsics to create a whole sphere of date [noparse][[/noparse]x-y-z axises].

    Refer to the math section of the PBasic manual for a complete presentation

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    G. Herzog in Taiwan
Sign In or Register to comment.