Back to Tutorial

ESP32 with ADXL335 Accelerometer


  • Β 11-06-2025
The ADXL335 is a small, thin, low-power 3-axis analog accelerometer manufactured by Analog Devices. It is widely used in embedded systems and electronics projects for sensing acceleration in the X, Y, and Z directions.

πŸ”§ Key Features of ADXL335

FeatureDescription
TypeAnalog 3-axis accelerometer
Measurement RangeΒ±3 g (g = gravity, approx. 9.81 m/sΒ²)
Power Supply1.8V to 3.6V
Output TypeAnalog voltage
Sensitivity~300 mV/g (at 3V supply)
Low Power~350 Β΅A typical
Operating Temp-40Β°C to +85Β°C
BandwidthAdjustable via external capacitors

πŸ“Š How It Works

  • The ADXL335 uses aΒ micro-machined structureΒ suspended by springs inside a silicon chip.
  • As the device accelerates, the structure deflects, changing the capacitance between fixed plates.
  • This change is converted into an analog voltage signal on each of theΒ X, Y, and ZΒ output pins.

πŸ“ˆ Typical Output

Each axis outputs a voltage that is approximately:

  • 0V to VccΒ (depending on acceleration)
  • AtΒ 0g, each axis outputs aboutΒ Vcc/2
    • E.g., for 3.3V Vcc, 0g = ~1.65V
  • Β±1g will cause an increase or decrease of aboutΒ 300 mVΒ from the 0g level.

βš™οΈ Applications

  • Tilt sensing
  • Motion and vibration detection
  • Gaming and user interface devices
  • Wearables
  • Robotics and drones
  • Automotive crash detection or car alarms

πŸ”Œ Connecting ADXL335 to a Microcontroller (e.g., Arduino)

ADXL335 PinArduino
VCC3.3V
GNDGND
X OUTA0
Y OUTA1
Z OUTA2

πŸ“Œ Summary

  • TheΒ ADXL335Β is a simple, reliable, analog accelerometer.
  • Ideal for detecting orientation and motion in low-power embedded systems.
  • Requires an ADC (Analog-to-Digital Converter) to read data (like in Arduino).
  • Easy to use, but needs calibration for precise results.

HOW TO OPERATE

Share this post

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to Tutorial