SparkFun_MMA8452Q_Arduino_Library (community library)


Name Value
Name SparkFun_MMA8452Q_Arduino_Library
Version 1.4.0
Installs 426
Author SparkFun Electronics
Maintainer SparkFun Electronics <>
Download .tar.gz

Basic I2C functionality of the MMA8452Q Accelerometer Breakout Sensor has user selectable scales of 2g/4g/8g, as well as low power mode, and 12 bit resolution.

Example Build Testing

Device OS Version:

This table is generated from an automated build. Success only indicates that the code compiled successfully.

Library Read Me

This content is provided by the library maintainer and has not been validated or approved.

SparkFun Triple Axis Accelerometer Breakout - MMA8452Q Arduino Library

SparkFun Triple Axis Accelerometer Breakout - MMA8452Q SparkFun Triple Axis Accelerometer Breakout - MMA8452Q (with Headers) SparkFun Triple Axis Accelerometer Breakout - MMA8452Q (Qwiic)

Provides basic accelerometer functionality over I2C protocol. User can select between 2g/4g/8g scale, select low power mode and read filtered or non-filtered data.

Repository Contents

  • /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
  • /src - Source files for the library (.cpp, .h).
  • - General library properties for the Arduino package manager.


Products that use this Library

License Information

This product is open source!

The code is beerware; if you see me (or any other SparkFun employee) at the local, and you've found our code helpful, please buy us a round!

Please use, reuse, and modify these files as you see fit. Please maintain attribution to SparkFun Electronics and release anything derivative under the same license.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.

Browse Library Files