Uses of a accelerometer as a computer mouse, but first what is an accelerometer? Its a device that can measure acceleration and the pull of gravity. There are multiple ways of doing this, the particular one I’m using works with the capacitive method. Inside the chip is a capacitor with an extra plate in the middle that can move. As you know the closer the objects are together the bigger the capacitance, the circuit inside the chip measures the capacitance difference between the two plates and the middle one. Finally the circuit coverts this in to a analog signal between 0V and 3.3V. All of this is small enough to fit in to a small SMD chip.
Generally when ever there is a case of interfacing the embedded system with compueter software there is one important thing that is to be followed strictly and that is protocol. Protocol is a set of rules regulations and syntax that is to be followed so as to achieve successful communication between transmitter and receiver i.e. PC side.
Normally there is set of some commands with data in between them, when received by the software, it checks whether it is correct or not, if found correct the communication is established and data transfer takes place. Protocol plays an important role in communication.
Circuit diagram
Circuit diagram
Sign up here with your email
ConversionConversion EmoticonEmoticon