If you need to know where the center of the Earth is for your project, and all your I2C pins are already taken, try this analog accelerometer.
This three-axis accelerometer allows you to determine the acceleration acting in X, Y, and Z axes and is used to determine the orientation of an object in space. The module independently measures accelerations along all three axes and outputs the results as a change in voltage across three pins.
We assembled this module using the Analog Devices ADXL335 chip. Originally, the chip was designed for voltages from 1.8 to 3.6 Volts, but we added extra electronics and now the module works with 3 V and 5 V logic. This module is suitable for any Arduino or Iskra boards.
Connect the sensor via two 3-pin jumper cable. The 3-pin jumper cables needed for the connection are included in the kit.
The bottom three pins are used for connecting power, and output accelerations along the Z axis:
For the top three, only two pins are used:
There are several different ways to wire this module:
Troyka Shield. The most straightforward method. Connect the module to a pin group on Troyka Shield with the 3-pin jumper cable and you’re ready to interface with it from your Arduino.
Troyka Slot Shield. The best choice for quick prototyping. Using slots on the shield, you can get rid of cables. The module will be held securely in place using both pin headers.
Breadboard. For advanced use. Troyka pin headers have 0.1” spacing which is compatible with any breadboard. Simply wire the module like you would do with any IC.