Arduino and MMA7361 (acceleration sensor)
Needed components:
- 1 Arduino board (Duemilanove, in this case)
- 1 acceleration sensor MMA7361
- some wires.
Pins connections:
- ST (Self Test): Arduino pin 2
- GSEL (g-Select): Arduino pin 3
- 0GD (0g-Detect): Arduino pin 4
- SLP (#Sleep#): Arduino pin Power (3.3V)
- XOUT: Arduino pin A0
- YOUT: Arduino pin A1
- ZOUT: Arduino pin A2
- GND: Arduino pin Ground
- VCC: Arduino pin Power (3.3V)
The firmware application created for the Arduino board read the analog inputs (A0, A1, A2) and send the resulted information to the computer. On the computer a software application read the information which comes on the serial port and display it into a user friendly interface.
For each axis the acceleration value is displayed in [m/s^2] measurement unit and graphically using different progress bars (one for the positive values and another for negative values).
The analog inputs present some variation even the sensor is not moved, which make me think that it is not the best solution when it is necessary to have a high precision. Maybe I do something wrong but I could not see what could be. The single option to improve the analog readings was to make the reading of the same input multiple times (100 – 1000 x) and calculate an average value. If you have another better ideas please tell me :D.
At the beginning I want to use this type of sensor for monitoring the vibrations from a building structure (ex. walls), but now I’m not very sure that it is a very good idea. I will have to find another type of sensor, more precise.
Leave a reply to Tyler K. Cancel reply
Archives
Recent Posts
Tag Cloud
acceleration ambient Arduino automation BMS building Building management system conference control designer developer dew point europe forecast future green humidity intelligence intelligent intelligent building job logger monitor monitoring open-source pachube project research researcher science Seeeduino sensor sht11 smart smart office Stalker temperature UartSBee ubiquitous web wireless wireless sensor network wireless sensor networks wsn XBee ZigBeeBlog Stats
- 68,964 hits
Do you have the Arduino sketch for this?
Yes. I send you an email with them.
Where did the application come from? Is this something you wrote, or something you downloaded?
written by my own, otherwise I wouldn’t publish about it
Where I can download the firmware aplication for that ? and the arduino sketch ?
I tried to send the applications by email to you but it doesn’t worked (“Sorry, we were unable to deliver your message to the following address…”).
Hi, i have a project with the same accelerometer and my last objective is to interpret the accelero measures in a prog, like your.
Can u retry to send me it by mail( just in text file ? ) ? Or maybe u can upload it ?
I you’ll be very grateful.
Please, can you send me the Arduino-sketch?
hye there..
i currently doing project involving accelerometer..
if it is not burden u, can u send me the sketch?
please
🙂
Hello, can you send me an email with the arduino sketch?
Thank you very much
Do you mind sending me a copy of the script for your program and instruction how to run it? Thank you!
Hello, can you send the arduino sketch via email?
I doing project with mma7361 and need some information.
Thank you very much for your help.
do you have the sketch for this? about the monitoring panel, how did u get it? is it arduino feature or its your own program? btw, thats cool..
could you send me the sketch. I am trying to work in a crash detecting system and its my first time working with accelerometers.
Thank you
Very nice example… I don’t get how arduino has this interface though
do u make the arduino send the data to the computer and this is a program u made?
Can I have the ardiuno sketch for this?
hey folks…. I would love to get this sketch/program as well. Just trying to figure out how to hook up this accelerometer for testing. Any help would be greatly appreciated. I have the 7361 library, but not sure how to hook into Arduino
can you please send me the code.
my email address is aamad@hotmail.com
could i also have the sketch please would help me a lot thank you. My email is stevenblackburn90@hotmail.co.uk
can you connect the accelerometer to the arduino uno directly as you have implied in your instructions? or does the set up require capicitors or resistors also like the mma7361 data sheet suggests?
thanks again
Hi catalinbujde,
Could you send me the PC application you used to display the data from the Arduino as well as the Arduino code?
Hi, can you send me the software that you made for the accelerometer ? It would be great !
Thanks for your research!
Madcreator
Hi Sir,
I am doing something similar to your project. Can you please email me (post it here)your sketch and the software that u used to display the accelerometer readings?
Thanks,
Teddy
Hello, could I please get this code also. Thanks in advance.
willy.kuckelsberg@gmail.com
Can you please send me the sketch and software? Thanks.