Accelerometer directions

Hello,

I am new to this whole Arduino programming Thing and got a Questions to the functioning of a 3 axes accelerometer. Can I make it detect the movement in the directions left and Right without changing the height? Or is that not possible because theres no Change of the mass or something like that?
Thaks for your answers.

Hannes

Can I make it detect the movement in the directions left and Right

An accelerometer senses changes in velocity along 3 mutually perpendicular axes. If you constrain motion along one axis, you can still sense changes in velocity (a.k.a. movement) along the other two axes. Which of those axes is left/right is up to you to determine.

Well, my accelerometer aint a gyroscope, so it won't detect changes in the directins. Btw, ive got the accelerometer MMA8452

The trouble is that we are all riding on a dragster car doing a 7-second pass. Gravity is really strong. So any tiny misalignment from vertical gives a little gravity component in your left-right measurements.

If you're trying to use a "consumer grade" sensor to estimate position, the position errors reach kilometers (or miles) in just a minute or two.

So that means that it is possible, but not recommanding? If i got that right

detect the movement in the directions left and Right without changing the height?

Yes.

Marethyu2004:
So that means that it is possible, but not recommanding? If i got that right

If you can say more precisely what your project is, then we can say if it is possible.

So i wanna connetct the accelerometer to some leds and if the accelerometer detects movements in the Right, the Right leds will be on, and that in the left, up down, up-left,up-right,down-left,down-right too

Marethyu2004:
So i wanna connetct the accelerometer to some leds and if the accelerometer detects movements in the Right, the Right leds will be on, and that in the left, up down, up-left,up-right,down-left,down-right too

Assume you mean "detects acceleration in the Right......."? Movement at a constant speed can't be detected by accelerometer.

Movement at a constant speed can't be detected by accelerometer.

The accelerometer is presumably not going to be moving at a constant speed, and connected to the Arduino, while the Arduino is getting a sketch uploaded.

So, when the Arduino starts up, it seems unlikely that it will be moving at a constant speed in any direction.

Not that the statement isn't worth bearing in mind. It's just that it is unlikely that that is going to cause OP to loose any sleep.

Yeah Yeah I mean acceleration, sry my english is a Little rusty xD

What kinds of movement?

Whose left? Yours or the Arduino's?

Unless it is locked down to a linear slide like it is on the base of a robot then there will always be tilting. It won't be perfectly vertical. Then the accelerometer picks up some gravity and destroys your measurement.

It already sounds like an IMU with enough procesing to remove gravity will be necessary.

Marethyu2004:
Hello,

I am new to this whole Arduino programming Thing and got a Questions to the functioning of a 3 axes accelerometer. Can I make it detect the movement in the directions left and Right without changing the height? Or is that not possible because theres no Change of the mass or something like that?
Thaks for your answers.

Hannes

Perhaps if you said what you are trying to accomplish, we could avoid any xyproblem issues here.