Overview
Note: QMA6100P is pin to pin compatible with QMA7981, QMA7981 is EOL.
The QMA6100 is a 3-Axis Accelerometer. This surface-mount, small sized chip has integrated acceleration transducer with signal conditioning ASIC, sensing tilt, motion, shock and vibration, targeted for applications such as screen rotation, step counting, sleep monitor, gaming and personal navigation in mobile and wearable smart devices.
The QMA6100 is based on the state-of-the-art, high resolution single crystal silicon MEMS technology. Along with custom-designed 14-bit ADC ASIC, it offers the advantages of low noise, high accuracy, low power consumption, and offset trimming. The device supports digital interface I2C and SPI.
Features
- 3-Axis Accelerometer in a 2x2x0.95 mm3 Land Grid Array Package (LGA), guaranteed to operate over a temperature range of -40 °C to +85 °C
- 14-Bit ADC with low noise accelerometer sensor
- I2C Interface with SDR modes. Support SPI digital interface
- Wide range operation voltage (1.71V to 3.6V) and low power consumption (2-50μA low power conversion current)
- Integrated FIFO with depth of 64 frames
- Built–in motion algorithm
Specifications
- QMA6100 – 3-Axis Accelerometer Integrated 14-bit ADC & motion algorithm
- Headers for I2C/SPI Interface, Default I2C interface
- Headers for Interrupt, Address and so on.
- Qwiic connector x 2, easy to debug & use
- Dimension: 28 x 18 x 5 mm
Hardware
| PIN | DESCRIPTION | NOTE |
|---|---|---|
| VDD | Power supply voltage: 2.4-3.5V | |
| GND | Ground | |
| SCL/SCK | I2C interface Clock bus or SPI interface Clock bus | Had external pull-up resistor 4K7 |
| SDA/SDO | I2C interface Data bus or SPI Data out | Had external pull-up resistor 4K7 |
| SDI | SPI Data In | |
| CSB | SPI Chip Select | |
| INT1 | Interrupt digital output 1 (totem pole or open-drain) Active low | |
| INT2 | Interrupt digital output 2 (totem pole or open-drain) Active low |
Default I2C interface 7 bit device address: 0x12
User Guide
It is the best choice to develop embedded drivers with embedded rust. Because the driver can be used with MCU like ESP32, also used with ARM64 Linux Application, for example raspberry pi directly.
You can download the qma6100p rust driver with git, also add your rust project with cargo – cargo add qma6100p.
The examples as below use the first one.
git clone https://github.com/xpulabs/qma6100p-rs/
