bepobalote
Full Member level 3
Re: rotation sensor
I really do not understand where your issues are: the only difference between the Freescale and Analog accelerometers in the example you gave us are the signal output.
The first one (MMA7260QT) is linear, the latter (ADXL202) is PWM. I don't see where your problem is.
By the way you gave us an obsolete example; the correct and updated web address is:
https://www.kerhuel.eu/wiki/index.php5?title=Miniature_Inertial_Measurement_Unit_-_IMU
Obviously you didn't take any look at the correct address, otherwise you will have found lots of info (I think even Simulink and Matlab code!!!).
There is an implementation of a 6 DoF sensor (see end of page) with sample code too!
If your only problem is "how to convert a PWM signal to something you can read", please tell us what you have done so far to read the signals and what type of problems you have encountered in your implementation.
It also would be kind if you will describe what you have done so far in your experimenting with accelerometers and gyroscopes: from your answers it seems to me that you have to dig a bit deeper on the argument.
I really do not understand where your issues are: the only difference between the Freescale and Analog accelerometers in the example you gave us are the signal output.
The first one (MMA7260QT) is linear, the latter (ADXL202) is PWM. I don't see where your problem is.
By the way you gave us an obsolete example; the correct and updated web address is:
https://www.kerhuel.eu/wiki/index.php5?title=Miniature_Inertial_Measurement_Unit_-_IMU
Obviously you didn't take any look at the correct address, otherwise you will have found lots of info (I think even Simulink and Matlab code!!!).
There is an implementation of a 6 DoF sensor (see end of page) with sample code too!
If your only problem is "how to convert a PWM signal to something you can read", please tell us what you have done so far to read the signals and what type of problems you have encountered in your implementation.
It also would be kind if you will describe what you have done so far in your experimenting with accelerometers and gyroscopes: from your answers it seems to me that you have to dig a bit deeper on the argument.