Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Pages: [1]   Go Down
Author Topic: Accelerometer's  (Read 1233 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Which of the following accelerometers is best? I would like to use one in order to calculate the angle in which a device is being held.

Triple Axis Accelerometer Breakout (MMA7361) - http://proto-pic.co.uk/triple-axis-accelerometer-breakout-mma7361/
Triple Axis Accelerometer Breakout( MMA8452Q) - http://proto-pic.co.uk/triple-axis-accelerometer-breakout-mma8452q/
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 319
Posts: 26927
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'd go for the digital one.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 234
Posts: 14296
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
best?
What is your definition of best?

How many samples do you want to take? frequency, precision, etc.

What is the ultimate goal of your project?
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm fairly new to electronics and haven't really done alot. I suppose i'd be looking to calculate the angle every second or so.

The ultimate aim of the project is to build a handheld device which is capable of detecting slopes (i.e. angles) when placed on surfaces or objects.

If I'm right in saying the digital one is the MMA8452Q accelerometer?
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 234
Posts: 14296
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
If I'm right in saying the digital one is the MMA8452Q accelerometer?
yep!
there is example code on the page of teh shop that should help you to get started.
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks.

Do you think that it would be possible to have an accelerometer, shift register, 4-digit 7 segment display, LED, push button and Arduino Nano on all on the same breadboard (half)?
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 234
Posts: 14296
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

you are talking about an optimization that you should not do in this phase of the project.
First get it to work right, second get it to work fast enough and third productise it smiley

in other words, just take a full breadboard, you will need it in the future anyway (I assume)
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Which of the following accelerometers is best?

You can perform adc much faster than performing an i2c / spi read.

Whether speed is important to you however will depend on your application.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 319
Posts: 26927
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
You can perform adc much faster than performing an i2c / spi read.
...but not to the twelve bits resolution offered by the digital device, without using additional hardware.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Newbie
*
Karma: 0
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What kind of speeds are we talking about here?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is the circuit that I have designed for my application. Can you see any obvious mistakes or ways that I could improve the circuit layout?

Ideally I'd like to get all of the components on a single half breadboard (except the display) but I don't know if this will be possible.

« Last Edit: October 28, 2012, 04:00:53 am by evans123 » Logged

Pages: [1]   Go Up
Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Jump to: