United Kingdom
Asked — Edited
Resolved Resolved by DJ Sures!

Is It Falling?

I've just ordered a MMA7455 Accelerometer from good old ebay. This is going to sound a little daft but i'm going to need a little guidance.

I''m going to be using it so I know what angle my bot is at but how can I use it to tell if the robot has been pushed or is falling? any advise on the subject would be greatly appreciated and I can't really say any more about what I want from it other than that.


ARC Pro

Upgrade to ARC Pro

ARC Pro is more than a tool; it's a creative playground for robot enthusiasts, where you can turn your wildest ideas into reality.

United Kingdom
#1  

I would assume that the rate of acceleration would be an indication of if it was pushed or if it fell. Being pushed would have a burst of acceleration to begin with then a steady increase whereas a fall would likely just be a steady increase.

Just an idea. I haven't checked out the datasheet for the MMA7455 yet.

United Kingdom
#2  

That's kind of what I though about doing. I just thought I'd ask in case anyone has done anything a little different I hadn't though about

PRO
Synthiam
#3  

In the next ARC version, I will add the ability to write the MMA's values to EZ-Script variables. I will also make it so it will execute scripts based on different limits.

It will be in a few days:) Stay tuned!

United Kingdom
#4  

Awsome @DJ Sures. That's excellent news. Kind of like event based script launching.

PRO
Synthiam
#5  

You bet - exactly like that :)

#6  

Thanks in advance of that EZ script addition of the MMA functionality DJ!