# Sensor 

Which sensor are we gonna use for this project and why?


### What do we want to measure?

We wanna measure the movement of the people doing our exercises. We want to know how many times they have done the exercise and how many times they have done it correctly.

### Which methods are there to measure this?
There are a lot of different ways to measure movement. You can use cameras, gyroscopes, accelerometers or a combination of these. Each of these methods have their own pros and cons. For example cameras are good at measuring movement but they require a lot of processing power and if the user turns the other way the camera cant measure the movement anymore. Accelerometers are good at measuring the movement of the body but they are not good at measuring the speed of the movement. Gyroscopes are good at everything because they can calculate how fast the body is moving and in which rotation.

### What type of sensor are we going to use?
To measure these movements we are gonna use IMU's. They are a combination of accelerometers and gyroscopes. This way we can measure the movement of the body and the speed of the movement.

### Which IMU's are there?
There are a lot of different IMU's with a lot of different specifications.

* ADXL345 
* BNO085
* Bmi160

### Which one are we gonna use?
We are going to use the BNO085 because it has the least amount of drift and its very versatile. We can get almost any type of rotational and acceleration data from it.
---
<br>
<br>

![alt text](../assets/gyroscope.png)