GY-291 ADXL345 3-Axis Digital Gravity Sensor Acceleration Module COM55, R36

Fr7,500

The ADXL345 is well suited for mobile device applications. It measures the static acceleration of gravity in tilt-sensing applications, as well as dynamic acceleration resulting from motion or shock. Its high resolution (3.9 mg/LSB) enables measurement of inclination changes less than 1.0°.

In stock

SKU: ADXL3457 Category:

Description

GY-291 ADXL345 3-Axis Accelerometer is a sensor board based on ADXL345 accelerometer integrated circuit. The ADXL345 is a small, thin, ultralow power, 3-axis accelerometer with high resolution (13-bit) measurement at up to ±16 g. Digital output data is formatted as 16-bit twos complement and is accessible through either a SPI (3- or 4-wire) or I2C digital interface.

The ADXL345 is well suited for mobile device applications. It measures the static acceleration of gravity in tilt-sensing applications, as well as dynamic acceleration resulting from motion or shock. Its high resolution (3.9 mg/LSB) enables measurement of inclination changes less than 1.0°.

Several special sensing functions are provided. Activity and inactivity sensing detect the presence or lack of motion by comparing the acceleration on any axis with user-set thresholds. Tap sensing detects single and double taps in any direction. Freefall sensing detects if the device is falling. These functions can be mapped individually to either of two interrupt output pins

 

 General Specifications

  • Single tap/double tap detection
  • Activity/inactivity monitoring
  • Free-fall detection
  • 10,000 g shock survival
  • SPI (3- and 4-wire) and I2C digital interfaces
  • Flexible interrupt modes mappable to either interrupt pin
  • Measurement ranges selectable via serial command
  • Bandwidth selectable via serial command

Technical Specifications

  • Operating Voltage: 4V to 6V
  • I/O Voltage Range: 1.7V to 3.6V
  • Communication: SPI and I2C
  • Operating Temperature: -40⁰C to 85⁰C
  • Size: 3 mm × 5 mm × 1 mm

 

ADXL345 Arduino Connections:

  • Connect A4 pin (SDA) of Arduino -> SDA pin of adxl345
  • Connect A5 pin (SCL) of Arduino -> SCL pin of adxl345
  • Connect GND of Arduino -> GND pin of adxl345
  • Connect 5V of Arduino -> Vcc of adxl345
Code
#include <Wire.h>
#include <Adafruit_Sensor.h> 
#include <Adafruit_ADXL345_U.h>
Adafruit_ADXL345_Unified accel = Adafruit_ADXL345_Unified();
void setup(void) 
{
   Serial.begin(9600);  
   if(!accel.begin())
   {
      Serial.println("No valid sensor found");
      while(1);
   }
}
void loop(void) 
{
   sensors_event_t event; 
   accel.getEvent(&event);
   Serial.print("X: "); Serial.print(event.acceleration.x); Serial.print("  ");
   Serial.print("Y: "); Serial.print(event.acceleration.y); Serial.print("  ");
   Serial.print("Z: "); Serial.print(event.acceleration.z); Serial.print("  ");
   Serial.println("m/s^2 ");
   delay(500);
}


Reviews

There are no reviews yet.

Be the first to review “GY-291 ADXL345 3-Axis Digital Gravity Sensor Acceleration Module COM55, R36”