Back to Learn

Motion Accelerometer

Essential for any project that moves. Accelerometers provide the spatial awareness needed for stabilization and gesture recognition.

Accelerometer (ADXL345/MPU6050)
๐ŸŽ๏ธ

Accelerometer (ADXL345/MPU6050)

Measures acceleration forces (static like gravity, or dynamic like motion/vibration). It allows you to detect orientation, tilt, and movement.

Key Applications

  • Gesture control
  • Drone stabilization
  • Step counters (pedometers)
Axes: X, Y, Z | Sensitivity: Programmable | Communication: I2C/SPI

๐ŸงชThe Science Behind It

Accelerometers use MEMS (Micro-Electro-Mechanical Systems) technology. Inside the chip is a tiny mass suspended by silicon springs.

When the sensor moves, the mass shifts, changing the Capacitance between the moving mass and fixed electrodes. The chip converts this change into a voltage or digital signal representing acceleration in G-force.

F = m ร— a
Detects Static (Gravity) & Dynamic (Motion) Forces

Pin Configuration

VCC3.3V Power (Careful: ADXL345 is 3.3V)
GNDGround Connection
SCLI2C Serial Clock Line
SDAI2C Serial Data Line
CSChip Select (Internal Pull-up for I2C)
INTInterrupt outputs (Optional usage)