Motion capture suit based on two MPU6050 sensors and Arduino Nano
Results - Video
We need to calibrate each MPU6050 sensor using MPU6050 calibration sketch. Connect them into Arduino on way described under and write included sketch into Arduino.
Arduino pools MPU sensors, read quaternions from DMP and sends them to PC over UART. On PC side, Processing sketch reads data and rotate two boxes on display. Left box represents first sensor and second box second sensor. These quaternions could be used in Blender 3D or similar applications as input for motion capture.
Arm mount was made using acryl. PDF was included, and this is how its look:
Image 1 - Mount bottom view
Image 2 - Mount top view
Image 3 - Mounted on arm
Based on: DIY Hacking
First MPU6050:
MPU6050 | Arduino |
---|---|
VCC | +5V |
GND | GND |
SCL | A5 |
SDA | A4 |
INT | D2 |
AD0 | GND |
Address on I2C bus: 0x68
Second MPU6050:
MPU6050 | Arduino |
---|---|
VCC | +5V |
GND | GND |
SCL | A5 |
SDA | A4 |
INT | D2 |
AD0 | VCC |
Address on I2C bus: 0x69
Sensors are connected via flat cable to Arduino Nano as shown in images above.