Dhanashree Ambekar

Problems interfacing MMA3204EG dual axis accelerometer with 8 bit microcontroller

Discussion created by Dhanashree Ambekar on Apr 10, 2012
Latest reply on Apr 18, 2012 by Dhanashree Ambekar

Hi. I am a newbie at this. I am trying to interface MMA3204EG dual axis accelerometer with an 8-bit PIC microcontroller. My question is mainly regarding the self-test pin provided in the accelerometer. The datasheet simply states the following: 

When the user applies a logic high input to the selftest pin, a calibrated potential is applied across the self-test plate and the moveable plate. The resulting electrostatic force (Fe = 1/2 AV2/d2) causes the center plate to deflect. The resultant deflection is measured by the accelerometer's control ASIC and a proportional output voltage results.

My question is, if there is a way to find out a value of this output voltage. When I connect the accelerometer to the microcontroller (as per the specifications mentioned in the datasheet) the values simply fluctuate between 0V and 1V. I do not get any other values. Please help me. Thank you

Outcomes