Print Friendly, PDF & Email

What is ADXL335?

The ADXL335 is a small, thin, low power, complete 3-axis accelerometer with signal conditioned voltage outputs. The product measures acceleration with a minimum full-scale range of ±3 g. It can measure the static acceleration of gravity in tilt sensing applications, as well as dynamic acceleration resulting from motion, shock, or vibration.

How does an accelerometer work?

The capacitance accelerometer senses changes in capacitance between microstructures located next to the device. If an accelerative force moves one of these structures, the capacitance will change and the accelerometer will translate that capacitance to voltage for interpretation.

So, what does this circuit which we are going to design do?

So, we will interface the ADXL335 accelerometer with Arduino and also understand with the help of LED’s the change in sensor values every time the sensor is tilted/vibrated. Whenever we tilt the sensor in the x-direction, the red LED will glow, Similarly orange for Y-direction and yellow for z-direction.

Components required:


Three LED’s of different colours

Three 220 ohm Resistors

Arduino Uno – Buy


Jumper wires

Circuit diagram

Here is your breadboard layout, Connect as below and upload the given tested code and you are ready with your ADXL335!

And the schematics for this is,