Servo MG Recorder — Portfolio Project by Muhammad Daffa Ashdaqfillah
Servo MG Recorder is a web application designed to record and analyze motion data from servos. The application captures servo movements and records the angles and durations.

Published on June 24, 2024
Project Details
Description
Servo MG Recorder is a web application designed to record and analyze motion data from servos. The application captures servo movements and records the angles and durations, providing a detailed log of motion events. This data can be used for servo motion control by uploading to SPIFFS ESP32. The recorded data enables precise servo movements and can be used in various applications requiring accurate motion control.
Example Output
JSON{
"name": "mata_lanang",
"mata": [
{
"id_movie": 1,
"motion": [
{ "angle": 0, "duration": 513 },
{ "angle": -1, "duration": 384 },
{ "angle": 1, "duration": 105 },
{ "angle": 0, "duration": 106 },
{ "angle": -1, "duration": 60 },
{ "angle": 0, "duration": 595 }
]
},
{
"id_movie": 2,
"motion": [
{ "angle": 1, "duration": 867 },
{ "angle": -1, "duration": 189 },
{ "angle": 0, "duration": 17 },
{ "angle": 1, "duration": 319 },
{ "angle": 0, "duration": 416 },
{ "angle": -1, "duration": 223 }
]
}
]
}
Input Controls
The recorder can be operated using keyboard input with the following keys:
- Right Arrow or Key A: Outputs a positive angle.
- Left Arrow or Key S: Outputs a negative angle.
- Down Arrow or Key D: Outputs a neutral angle (0).
- Develop a web application to record servo motion data.
- Provide a user-friendly interface for users to interact with the application.
- Enable data export in JSON format for further analysis and uploading to SPIFFS ESP32.
Project Visual
