Measuring Angles
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
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
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