mcubemems / mcube_mc36xx_arduino_driver Goto Github PK
View Code? Open in Web Editor NEWArduino 3-Axis Digital Accelerometer demo for mCube MC36XX products.
Arduino 3-Axis Digital Accelerometer demo for mCube MC36XX products.
When FIFO is enabled to store the initial 3 samples and discard the remaining, were the samples in the output register constant? Iam facing an issue where, despite enabling fifo and setting the threshold value to 3, the output registers are getting updated....Is there a way to enable this feature where the output register values remain constant after reading the samples?
Hi,
Is it possible to use this library in ESP-IDF? Or is there any other library for MC3635 sensor in ESP-IDF? I cannot find any.
Bests,
Hello, I am using MC3635. Could anyone know what is the acceleration threshold (unit: g) when 5 is set here? I did not find the corresponded value for the threshold to the acceleration at the low power mode in the datasheet (only a table for high precision mode is listed in the AP-012 document).
In addition, the threshold will be compared with the SNIFF delta count (Current Sample to Previous Sample or Current Sample to Baseline described in Section 7.13 in the datasheet). Is it possible to set a threshold and compare it with the absolute acceleration (not the delta count) at any time? I would like to generate an interrupt when the acceleration is up to 2g, no matter what the speed when entering the SNIFF mode.
Thank you very much.
Hi. If I change the values for SniffThreshold or SniffDetectCount, the changes won't take effect until I power cycle the MC3630. I have tried using the RESET and RELOAD commands but that does not help. It seems I have to cut the power to the MEMSIC chip and then reapply the power before the next time I make these changes and then the new changes take effect.
The calls I am using are:
MC36XX_acc.SetSniffThreshold(MC36XX_AXIS_X, 5);
MC36XX_acc.SetSniffThreshold(MC36XX_AXIS_Y, 5);
MC36XX_acc.SetSniffThreshold(MC36XX_AXIS_Z, 5);
MC36XX_acc.SetSniffDetectCount(MC36XX_AXIS_X, 3);
MC36XX_acc.SetSniffDetectCount(MC36XX_AXIS_Y, 3);
MC36XX_acc.SetSniffDetectCount(MC36XX_AXIS_Z, 3);
If I change the 5 or the 3 to different numbers, the changes will not take effect. Only a power cycle seems to work. Is there something I can do to get around this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.