Hacked Gadgets Forum

February 25, 2012

How to interface a MMA8453Q Accelerometer to an ATmega328 MCU

at 12:41 pm. Filed under Electronic Hacks


Kerry Wong from kerrywong.com shows us how to interface to a MMA8453Q cheap accelerometer using an ATmega328 MCU. There are tons of cool projects out there that are just waiting to be designed using accelerometers!

“MMA8453Q uses the I2C protocol, so I assumed that I could use the default Arduino Wire library. Unfortunately, MMA8453Q uses repeated start condition for the read operations and the default Wire library cannot handle without any modifications. As a result of this, it does not matter which register you try to read from, the returned value is always the content of the status register (at address 0×00) when using the Wire library due to the reset between the write of the register address and the subsequent read. Fortunately, there are alternative I2C libraries available for Arduino that address this issue. And the I2C library I used below is from DSSCircuits”.



Is effective for treatment erectile the of ingredient is levitra . Is oral for treatment erectile dysfunction...

Related Posts

Self-Balancing Robot Build
MMA2260 Accelerometer Project
3 Axis Accelerometer based on the Freescale MMA7361L
Wireless Voice-Controllable Smart Home Project
ADXL202 Accelerometer Testing
ATmega 328 based Video Game Project developed in Honduras
LinkInk Digital Accelerometer Pen – PIC32 Design Challenge Entry
Extreme Low Power Microcontroller Design Considerations



One Response to “How to interface a MMA8453Q Accelerometer to an ATmega328 MCU”

  1. paul Says:


    i love the possibilities of this chip with the arduino! Does anybody know where I can get a few of these (or a similar digital accelerometer) in europe? They are only ~1$ a piece but I only found a US based supplier who will charge >20$ for shipping..

    Thanks and best regards,

Leave a Reply

Internal Links:



Hacked Gadgets

Site Sponsors:

Nuts and Volts Electronic Labs Trossen Robotics Free Technical Publications Blue LED


Recent Comments:

More RSS Feed Options

Site Sponsors:


Interesting Sites: