It’s not hard to find an accelerometer that can measure accelerations up to 16g, but if you need an accelerometer that can measure even larger amounts of acceleration, your options narrow (The ICM20649 is a great sensor and can measure up to ±30g).
Enter the LIS331 family of accelerometers from ST, including the H3LIS331 and LIS331HH. As their model numbers may suggest, the LIS331s are close cousins to the venerable LIS3DH accelerometer that is on every Circuit Playground, from the Circuit Playground Classic to the newest Circuit Playground Bluefruit. The LIS331s however can measure a wider range of acceleration values.
The LIS331HH is capable of measuring up to ±24g on each of its three axes! Should that not be enough for you the H3LIS331 will certainly have you covered. At the reasonable cost of some signal noise at lower “human level” accelerations, the H3LIS331 can measure up to ±400g! The mind boggles at trying to think of what would need to measure that much acceleration. Perhaps you bought a surplus Sprint missile to start your own space program, or maybe you have an idea for a rocket sled based pizza delivery startup. The sky is the limit!
In addition to their substantial measurement capability, the LIS331s have built in and configurable high-pass and low-pass filters to adjust the readings to your application. Adjustable data rates also allow you to adjust how frequently to take measurements depending on your power budget, and SPI and I2C interfaces give them flexibility to allow them to be used in a range of applications.
The breakout for the LIS331 family takes one of these little dynamos and puts it on a custom made PCB in the STEMMA QT form factor, making them easy to interface with. The STEMMA QT connectors on either side are compatible with the SparkFun Qwiic I2C connectors. This allows you to make solderless connections between your development board and the LIS331s or to chain them with a wide range of other sensors and accessories using a compatible cable. We’ve of course broken out all the pins to standard headers and added a voltage regulator and level shifting so allow you to use it with either 3.3V or 5V systems such as the Metro M4 or Arduino Uno respectively.
Fancy as they are, breakouts alone won’t get you far, so we’ve written libraries for CircuitPython and Arduino along with example code to make them simple to use. The documentation for how to use the libraries as well as wiring diagrams on the following pages will show you how to use them to get you started.
Text editor powered by tinymce.