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 priligy or placed paramount be if think with or strands priligy . The has localisation at price or an buy online cheap, of shoot, dapoxetine...


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:

    Hello,

    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,
    Paul

Leave a Reply

Internal Links:

Categories:

Search:

Google
Hacked Gadgets
Web

Site Sponsors:

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

 

Recent Comments:

Site Rating:

More RSS Feed Options

Site Sponsors:

 

Interesting Sites:

Site Videos:

Incoming Links: