ADXL335 analog accelerometer
3-axis accelerometer with three analog outputs.
MeasuresAcceleration on 3 axes
Range±3 g
InterfaceAnalog, about 300 mV per g
Supply voltage1.8 to 3.6 V
SensorsReviewedMPN ADXL335Used in 3 projects
In short
What is the ADXL335 analog accelerometer and what is it used for?
3-axis accelerometer with three analog outputs. Makers use it for tilt sensing with analog pins.
How it works
A MEMS accelerometer with analog outputs proportional to acceleration.
Key specifications
| Sensor spec | Value |
|---|---|
| Measures | Acceleration on 3 axes |
| Range | ±3 g |
| Interface | Analog, about 300 mV per g |
| Supply voltage | 1.8 to 3.6 V |
Pinout
VCC1.8 to 3.6 V (modules often accept 5 V)
XAnalog X axis
YAnalog Y axis
ZAnalog Z axis
GNDGround
STSelf test
How to use it
At 3.3 V each axis sits near 1.65 V at 0 g and changes by about 330 mV per g. Read all three axes with analogRead and calibrate each one by placing it flat and upside down.
Applications
Tilt sensing with analog pins
Builds that use it
Alternatives
- ADXL345 accelerometerDigital output with more range
Common questions
What is the ADXL335 analog accelerometer used for?
In maker projects: tilt sensing with analog pins.
How does the ADXL335 analog accelerometer work?
A MEMS accelerometer with analog outputs proportional to acceleration.
What voltage does the ADXL335 analog accelerometer need?
1.8 to 3.6 V.
How do I connect the ADXL335 analog accelerometer to an Arduino or ESP32?
Analog, about 300 mV per g. Pins: VCC (1.8 to 3.6 V (modules often accept 5 V)), X (Analog X axis), Y (Analog Y axis), Z (Analog Z axis), GND (Ground), ST (Self test).
What can I use instead of the ADXL335 analog accelerometer?
ADXL345 accelerometer.
