So I would like to have a sensor that can detect rotation (around the vertical axis only is needed) and that detects motion (no specific direction, only be able to detect if the sensor is moving).
I would like it to be wireless and transmit the data to a Mac via bluetooth or whatever is the best.
I was looking at this one but was wondering how I could make it send the data and if it's suitable for what I'm trying to do (if it can measure rotation and motion). I can buy an arduino too if needed.
Thanks in advance!
Best Answer
You chose a pure accelerometer. It is best for measuring linear acceleration (including gravity), but for rotation around the vertical axis you should rather look for a gyroscope (measures rotation) or a magnetometer (measures orientation to north). There are many boards available (you can find some here https://www.sparkfun.com/pages/accel_gyro_guide), but you have to consider your required accuracy.
The second requirement is more difficult: According to Newton's law you can not decide if an object is moving with constant velocity or not, because no external force is applied that could be measured. So you have to consider side effects. For example:
There are other options (like time-of-flight measurements of radio waves), but I would try one of these first.
The third requirement is a radio connection. I would start with a Raspberry Pi and a WiFi stick, because it is quite easy to set up and has a reasonable range and data rate and you can connect your sensor directly to the Raspberry Pi.
EDIT: According to the commets, you want to measure movements of your legs and feet. This narrows down the possibilities: