MMA7455

BlocklyProp reference for MMA7455 blocks

Compatible with the Propeller Activity Board WX, Propeller FLiP, or Other board types. Not available for Badge or Scribbler Robot board types.

These blocks are for using the MMA7455 3-axis accelerometer module (#28526, discontinued).

An acceleration meter (accelerometer) senses the forces that acceleration and gravity exert on a small mass inside the sensor. Think about that feeling of being pressed into your seat back as your car speeds up rapidly. Now think about the feeling of how gravity pulls you to the ground. Those are examples of the forces that an accelerometer senses and reports. The MMA7455 is a 3-axis accelerometer module that can measure up to +/- 8g of acceleration in 3 axes up to 250 times per second.


Accelerometer initialize

The Accelerometer initialize block is used to set up the MMA7455 accelerometer module. Match each dropdown menu to the Propeller I/O pin connected to the CS, DATA, and CLK pins on the accelerometer module. 

 (The drop-down options go from 0 to 27, but do not set higher than 17 with the Propeller Activity Board WX, as P18-P31 are already connected to other built-in circuits on this board.)  


Accelerometer store values

The Accelerometer store values block stores the sensor’s x-axis, y-axis, and z-axis measurements in the chosen variable items.