


A breadboard and jumper wires are always an easy combo.įinally, you'll need to solder a connector onto the MMA8452Q breakout. You'll also need some sort of interconnect between the breakout and Arduino.
#INCLINOMETRO SMART TOOL HOW TO#
On this page we'll show off an example sketch using the library and demonstrate how to use the library on your own to control the accelerometer.
#INCLINOMETRO SMART TOOL CODE#
Example Code - We've written an Arduino library to help make your Arduino sketch cleaner and easier to write.This hardware hookup is used in the next section. Example Hookup - How to connect the MMA8452Q to the ubiquitous Arduino.Hardware Overview - An overview of the MMA8452Q IC itself, and the breakout board we've stuffed it onto.It's split into a handful of pages to explain how the board works and how to use it: This tutorial aims to get you started up with the MMA8452Q as quickly as possible. It's a digital sensor - communicating over an I 2C interface - so you'll get reliable, noise-free data using as few as two microcontroller pins to interact with the accelerometer. It sports features like orientation detection, single and double-tap sensing, and low power modes. It supports three, selectable sensing ranges: ± 2g, 4g, or 8g. The MMA8452Q is just a solid 3-axis accelerometer.
