MEMSIC object - HELP PLEASE
ALIBE
Posts: 299
Beau,
I am having some wierd behavior w/ the MEMSIC reading I am getting from the object calls.
·The reading I'm showing when leveled is 2459 and when tilting to:
L: 6283
R: 1270
B: 646
F: 4266
I don't understand these readings - pardon my ingnorance.
can you help me understand these readings and how to interpret them please
thanks in advace
ALIBE
I am having some wierd behavior w/ the MEMSIC reading I am getting from the object calls.
acc.start(5, 4) 'start memsic 2125 waitcnt(clkfreq/10 + cnt) 'wait for things to settle acc.setlevel 'assume at startup that the memsic2125 is level repeat raw := acc.ro 'Get raw value for acceleration theta := acc.theta deg := theta >> 19 'scale 32-bit value to a 13-bit value lcd.str(num.decf( deg,3 ) ) ' Print Fractional Part waitcnt(clkfreq/10 + cnt)
·The reading I'm showing when leveled is 2459 and when tilting to:
L: 6283
R: 1270
B: 646
F: 4266
I don't understand these readings - pardon my ingnorance.
can you help me understand these readings and how to interpret them please
thanks in advace
ALIBE
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
I'm a lefty [noparse]:)[/noparse]
Hmm... my assumption was based on that it's less stress to move your wrist forward, than it is back and still keep alignment (back tends to skew a little bit).
The same with Left or Right, but it depends on which hand you are using....an inward wrist rotation would have more control than outward rotation. ...but who
says you were tilting with your wrist?
Anyway, I hope the 13-bit explanation made sense.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
thanks in advance,
ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot