Giter VIP home page Giter VIP logo

kxtj3-1057's Introduction

KXTJ3-1057 Motion detection

Minimalistic library for motion detection using low cost KXTJ3-1057, 3-axis MEMS accelerometer, low-power, ±2g/±4g/±8g/±16g full scale, high-speed I2C digital output, delivered in a 2x2x0.9mm LGAplastic package operating from a 1.71V–3.6V DC supply.

GitHub version Build Status License: GPL v3

GitHub last commit

TODO

  • returnError Handler
  • Update Keywords

Current consumption of operating modes μA

Operating mode (HZ) Low Power High Resolution
0.781 1.543
1.563 1.635
3.125 1.922
6.25 2.488
12.5 3.431
25 5.784
50 9.821
100 18.15
200 34.72
400 156
800 156
1600 156

Interrupt Threshold

Interrupt threshold sensitivity is compared to the top 12bits of the accelerometer 8g output value regardless of the resolution chosen:

This value can be anything from 1 to 4095

  • i.e 0.0039 (1/256) to 16 g (4095/256)

Interrupt Duration

Interrupt event duration to trigger the interrupt pin is a function of events and Sample Rate:

This value can be anything from 1 to 255

  • i.e 5 event_counts / 6.25 Hz = 0.8 seconds

Non-Activity Duration

Interrupt non-activity duration to reset the interrupt pin is a function of events and Sample Rate:

This value can be anything from 1 to 255

  • i.e 5 event_counts / 6.25 Hz = 0.8 seconds

Known Limitations

  • Only 8 and 12 bits modes are implemented (14-bit is not);
  • Only non-latched interrupt is implemented;

Credits

Github Shields and Badges created with Shields.io

kxtj3-1057'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.