ADXL335 is 3v3 compatible device, it's powered by a 3.3v source and also generates 3.3v peak outputs. It has three outputs for each axis i.e. X, Y & Z. These are analog outputs and thus require an ADC in a micro-controller. Arduino solves this problem. We will be using the analog functions of Arduino.
Step 1: Parts Required
- Arduino-Any Arduino/clone will do but I have used Freeduino v1.16
- ADXL335 accelerometer
- Connecting wires(Relimates)
- USB cable for connecting Arduino with your Laptop
Step 2: The Circuit
- GND-To be connected to Arduino's GND
- VCC-To be connected to Arduino's 5V
- X-To be connected to Analog Pin A5
- Y-To be connected to Analog Pin A4
- Z-To be connected to Analog Pin A3
Use 2-pin relimate for connecting Vcc and GND.
Use a 3-pin relimate for connecting X, Y & Z outputs.
Also connect AREF pin to the 3.3v. This is done to set the reference voltage to 3.3v because the output of ADXL335 is 3.3v compatible.