Flow Analysis Of Sensor Data

With the implementation of the three sensors and data analysis, we fixed the intervals of values ​​for each axis.

The microprocessor provides us with a steady flow of data as a string. This string is treated to separate the values. For indeed, they are simply delimited by commas. We must therefore recognize which are the gyroscope, accelerometer or magnetometer.

These values ​​studied can be used to start the encoding on Processing, and therefor adapt these values ​​to the requirements for control applications.

All axes are redefining the specific actions in applications. This allows to see that we have a series of combinations of movement, making programming easier for the clarity of the requirements of the final result.

Then for example, to move from one application to another, we can cause an acceleration in the direction of the z-axis. So the subdivision of the different axes allows us to clearly identify the movements, generating actions.

Throughout the programming step of the application on Processing, step by step we will set the axes, allowing the correct application of the program.