Designing an Accelerometer Patch using ESP32 & MPU6050

Building MOCAP sensors.

Project built upon by using this link https://RandomNerdTutorials.com/esp32-mpu-6050-web-server/

Updated code with more calibration using filters https://github.com/UnremittingEncore/ESP_MPU6050_Calibration

Project Overview

  • Gyroscope values of the X, Y an Z axis are displayed on the Web Server (Updated every 10ms).
  • Accelerometer values (Updated every 200ms).
  • Temperature is updated every second.
  • We use Server-Sent Events to update all the readings.
  • The 3D object is created using a JavaScript library called three.js.

Update Network Credentials (in the Arduino sketch)

// Replace with your network credentials
const char* ssid = "REPLACE_WITH_YOUR_SSID";
const char* password = "REPLACE_WITH_YOUR_PASSWORD";

Screenshots

1

2