February 14, 2012

Interfacing Accelerometer

         Using accelerometer for any application may make the things easy and life simple for end user. Interfacing accelerometer with microcontroller is not a difficult thing.
         Starting with the pins of accelerometer

                        1) Vcc : to power up accelerometer

                        2) Gnd : ground

                        3) X : analog value of voltage representing tilt in X direction

                        4) Y : analog value of voltage representing tilt in Y direction

                        5) Z : analog value of voltage representing tilt in Z direction

                        6) sleep (optional) : for sleep mode of accelerometer

                        7) 3V3: output from accelerometer module for ARef value

                        8)0g (free fall) : this pin can be used to detect free fall user can connect this pin to an interrupt  pin so when the sensor  experiences free fall microcontroller can be acknowledged.

                        9) GSel: this is optional pin for selecting 1.5G or 6G.
                                               
                   
                        10) Self test : name is self  explanatory
                       

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...