Maker Pro
Maker Pro

Measuring a swinging rod: accelerometer or gyro?

mun5

Aug 28, 2015
5
Joined
Aug 28, 2015
Messages
5
Hi

I have a rod swinging around the x axis (like a pendulum). If i'd like to detect when its (angular) velocity is a certain value or its (angular) acceleration is a certain value, should an accelerometer or a gyro be used?

Should the centrifugal force be measured? If so, would it be an accelerometer since it could measure the x acceleration? But then, gyro measure instantaneous angular velocity - right?

Any thought appreciated.

Thanks
 
Last edited:

Minder

Apr 24, 2015
3,478
Joined
Apr 24, 2015
Messages
3,478
You could look into adapting the Picmicro code from the demo pendulum.
AN964 , there is Assembly as well as C code.
M.
 
Top