Tracking the movement of a cylinder and displaying measured data on a graph.
The ESP32 WROOM32D microcontroller measures the movement of a cylinder equipped with a position sensor as a function of time, using its internal 12-bit AD converter corrected with a calibration table.
The measurement series can be started by pressing a button or by a START command via the serial port after presetting the measurement parameters. When all measurements are done, the measurement stops. Measurement data can be saved to a txt file from the serial port monitor window, which, when imported into Excel, displays the data on a graph. By sampling the correct movement of the cylinder, a reference graph is created. By comparing the reference with a data series recorded at a later time, conclusions can be drawn about the cylinder's wear, condition, and suitability for the task.
Image
© 2026 DevProt Engineering