Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ldab/lis3dh-motion-detection

Minimalistic library for motion detection using low cost ST LIS3DH, 3-axis MEMS accelerometer, ultra-low-power that works
https://github.com/ldab/lis3dh-motion-detection

arduino esp8266 iot low-power motion-detection motion-tracking sensor sensors

Last synced: about 2 months ago
JSON representation

Minimalistic library for motion detection using low cost ST LIS3DH, 3-axis MEMS accelerometer, ultra-low-power that works

Awesome Lists containing this project

README

        

# LIS3DH Motion detection

Minimalistic library for motion detection using low cost ST LIS3DH, 3-axis MEMS accelerometer, ultra-low-power, ±2g/±4g/±8g/±16g full scale, high-speed I2C digital output, embedded FIFO, high-performance acceleration sensor, LLGA 16 3x3x1.0 package

[![GitHub version](https://img.shields.io/github/release/ldab/lis3dh-motion-detection.svg)](https://github.com/ldab/lis3dh-motion-detection/releases/latest)
[![Build Status](https://travis-ci.org/ldab/lis3dh-motion-detection.svg?branch=master)](https://travis-ci.org/ldab/lis3dh-motion-detection)
[![License: GPL v3](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/ldab/lis3dh-motion-detection/blob/master/LICENSE)

[![GitHub last commit](https://img.shields.io/github/last-commit/ldab/lis3dh-motion-detection.svg?style=social)](https://github.com/ldab/lis3dh-motion-detection)

## TODO

- [x] Implement better debug handler
- [ ] Add Filter options
- [ ] Update Keywords

## Low Power configuration

Operating mode | Turn-on time (ms) | @2g (mg/digit)
----------------|-------------------|----------------
Low Power 8bits |1|16
Normal Mode 10bits|1.6|4
High Res 12bits|7/ODD|1

### Current consumption of operating modes μA

Operating mode (HZ) | Low Power | Normal Mode | High Resolution
----------------|-------------------|----------------|-----------
1|2|2|2
10|3|4|4
25|4|6|6
50|6|11|11
100|10|20|20
200|18|38|38
400|36|73|73
1344||185|185
1620|100||

## Interrupt Threshold

Interrupt threshold sensitivity is directly proportional to the Full Scale 2, 4, 8 or 16g chosen:

> This value can be anything from 1 to 127

* 16 mg @ FS = ±2 g
* 32 mg @ FS = ±4 g
* 62 mg @ FS = ±8 g
* 186 mg @ FS = ±16 g

## REG2 Filters

TODO

## Credits

Inspired by [SparkFun LIS3DH Arduino Library](https://github.com/sparkfun/SparkFun_LIS3DH_Arduino_Library)

Github Shields and Badges created with [Shields.io](https://github.com/badges/shields/)