Projects / Ideas / ESP32 tilt dial on a web page

ESP32 tilt dial on a web page

IntermediateMotionIdeaReviewed
In short

How do you build an ESP32 tilt dial on a web page?

An ESP32 reads an MPU6050 and serves a web page with a dial that follows the board tilt. Works only when the board is held still. You need ESP32 DevKit V1, MPU6050 IMU and Breadboard 830 Tie Points.

Level
Intermediate
Time
About 170 min
Parts
3
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Show tilt on a live web dial.

Parts list

How to build it

  1. Read the accelerometer over I2C
  2. Compute the tilt angle
  3. Smooth the value
  4. Serve a page with a dial
  5. Update the dial several times a second

Related projects

Common questions

What parts do I need for the ESP32 tilt dial on a web page?

ESP32 DevKit V1, MPU6050 IMU and Breadboard 830 Tie Points.

How long does the ESP32 tilt dial on a web page take to build?

About 170 minutes for a intermediate maker.