GithubHelp home page GithubHelp logo

strid3r21 / lis3dh Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ldab/lis3dh-motion-detection

0.0 0.0 0.0 685 KB

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

License: MIT License

C++ 100.00%

lis3dh's Introduction

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 Build Status License: GPL v3

GitHub last commit

TODO

  • 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

Github Shields and Badges created with Shields.io

lis3dh's People

Contributors

ldab avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.