MMA7455L Three Axis Digital Output Accelerometer

By on February 9, 2012
Pin It

 

 

This module integrates the sensor MMA7455L (produced by Freescale), able to detect the movement on three axes, and then in every direction. The chip offers the possibility to select three different sensitivity (± 2g, ± 4g, ± 8g) and makes available, on an SPI bus and the I ² C-Bus, the data detected by allowing a more easily read by a microcontroller. There are also two programmable interrupt lines to communicate a certain event, or to perform one or more actions when it detects a certain acceleration or when the module is stopped.

The accelerometer connections are carried out on a male strip pitch 2.54 mm, seven contacts, which allows the insertion in any dip socket, female strip or directly on the printed circuit. The module, powered with a DC voltage of 2.5 to 3.6 V, is suitable for be used in all systems that require the detection of movement, acceleration, such as an alarm systems for vehicle, laboratory analytical instruments, electrical equipment, machinery test and robots.

The module has extremely compact dimensions (10x18x3, 6mm).

Before using this module is necessary to establish (through jumper J1) which must be the voltage applied to pin VIO (Digital Power for I/O pads), levels of the I / O interface must be the same of micro. If the voltage applied between the pin + and – of the module is the same as the interface device is necessary to close J1, while if it is different (for example because the micro operates at 5V) the jumper must be open and the line VIO must be connects to the same supply voltage of the microcontroller. The I ² C-Bus module is assigned to 00111011. For more information on the chip MMA7455L consult the datasheet from the Internet site www.freescale.com.

To show the operation of the module I made a little demo with Arduino.







The connection to the microcontroller is very simple and the pin-out allows you to insert the module in the 6-pin for the analog inputs.
The low absorption permit to use the input pin A0 as level of communicationis (VIO) brought it to a high logic level (5V), while the pin A1 is set to 0, the mass for the MMA7455L.
The main supply voltage is provide from 3.3 V by Arduino.

Thanks to the library Wire.h pin A4 and A5 are used to communicate directly with the module.
The communication is very simple thank the library MMA_7455.h developed by Moritz Kemper.

 

The software written in Processing By IAN allows you to immediately verify the correct operation of Freescale chip. A cube will rotate like the movements of the sensor.
The applications of this sensor are different and I will show you just developed.



jlcpcb.com

About Boris Landoni

Boris Landoni is the technical manager of Open-Electronics.org. Skilled in the GSM field, embraces the Open Source philosophy and its projects are available to the community.

17 Comments

  1. Pingback: Electronics-Lab.com Blog » Blog Archive » MMA7455L Three Axis Digital Output Accelerometer

  2. Pingback: Using a cheap accelerometer with Arduino comes with a catch | ro-Stire

  3. David Kavanagh

    February 10, 2012 at 8:35 PM

    Is this breakout board available somewhere? Seems like a nice compact form factor. I’m interested in perhaps a few of them.

  4. Joe Thompson

    June 18, 2012 at 7:26 PM

    Confused about power sources – why can i apply 5v to pin 1 on the MMA7455 when the datasheet says a maximum allowable voltage is 3.6v? if i’m running my atmega at 5v, am i supposed to have 5v on pin 1, and 3.3v on pin 6 with the jumper open?
    why does the picture on the arduino MMA7455 library website show only the 3.3v source being used?
    Thanks

  5. Boris Landoni

    June 21, 2012 at 11:25 AM

    Hi, the maximum allowable voltage is 3.6 but the pin VIO is used for set the pin voltage for communication.
    And teh Arduino pin works at 5V.

    • marella sunny

      March 13, 2016 at 10:15 AM

      Great tutorial and a nice breakout board. Was wondering what this address 0x01 was all about?
      Also, the vcc and gnd for the mma7455 goes to the arduino A0,A1, why?

      • BorisLandoni

        March 14, 2016 at 4:57 PM

        The pia A0 and A1 are user to power the MMA7455

  6. Pingback: Akcelerometr 3-osiowy z Arduino | Arduino

  7. Jonius Christian Harefa

    October 15, 2013 at 11:28 AM

    Hi,
    do you have a tutorial about accelerometer mma7361+arduino?

    thanks

    • BorisLandoni

      October 17, 2013 at 3:29 PM

      Hi, we are working on a new GPS shield with an accelerometer MMA7361 ;-)

  8. Pingback: styczen

  9. Pingback: styczen

  10. rahul

    January 6, 2014 at 3:58 PM

    Dear Sir, I am getting an error : error “MMA_7455.h: No such file or directory”. I tried reinstalling the library PROPERLY. kindly help.

    • BorisLandoni

      January 9, 2014 at 12:24 PM

      Chekc the folder and the folder name

  11. Pingback: gtownrestorationscdc.org

  12. Pingback: countydrugcard.org

Leave a Reply