Shop OBEX P1 Docs P2 Docs Learn Events
Memsic and BS2sx — Parallax Forums

Memsic and BS2sx

ArchiverArchiver Posts: 46,084
edited 2003-11-03 23:31 in General Discussion
Hello

I am currently trying to integrate a Memsic 2125 accelerometer into my project
but
am having certain difficulties...

a) The sample code that comes with the memsic does not follow through a 360
degree motion(arc). this is the main item. This would be just "dandy" if someone

outthere had the code implementation.

b) When trying the the "rotation" sample code I get the folowing prinited on the
debug
screen;
x -4.000g
y - 4.000g

Tilt : 32 Brads
240 degrees

No matter how I place the board the reading do not change.

The same thing happens with the "dual" sample code, the data captured from the
memsic is erratic.

when I puch he reset button on the carrier board, I get a flash of alternate
reading for
x, y ... and then nothing.

Any help would be appreciated. I also read on the usergroup here that parallax
were
going to update the memsic pdf to include the "360 degrees" code. Any news on
this?

thank
elio

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-11-03 23:31
    Sounds like you have something connected incorrectly on your circuit! I have
    used the published code and get a reliable reading from 0 to about 340 degrees
    of rotation.
    azeasi


    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.