filmov
tv
Accelerometer visualisation via serial output to browser

Показать описание
Shows an MPU6050 accelerometer connected to an Arduino sending the data in real time to the browser for visualisation, analysis, and filtering - includes example code!
The data is then visualized using a natty SVG pointer I coded up (with a reflection just for looks, although it's hard to see in the video) which tracks rotation around the Y-axis, and 3 graphs (using an easy to use html 5 canvas graphing class I wrote for the occasion).
The graphs are displaying (from top):
1. Y-axis angle
2. all 3 accelerometer values
3. all 3 gyro values
The code is available here (but may not be very tidy, sorry):
.
The data is then visualized using a natty SVG pointer I coded up (with a reflection just for looks, although it's hard to see in the video) which tracks rotation around the Y-axis, and 3 graphs (using an easy to use html 5 canvas graphing class I wrote for the occasion).
The graphs are displaying (from top):
1. Y-axis angle
2. all 3 accelerometer values
3. all 3 gyro values
The code is available here (but may not be very tidy, sorry):
.