Automated Carpet Area Measurement System
Embedded Retrofit for an Industrial Carpet Folding Machine
Designed and integrated an embedded measurement system into an existing industrial carpet folding machine to automatically determine carpet dimensions and calculate surface area during operation.
The retrofit eliminated the need for manual dimension measurement by the machine operator. The system combines rotational and linear-motion sensing with a central embedded controller to calculate carpet dimensions and automatically determine total area.

The machine in operation — operator touchscreen, conveyor roller with rotary encoder, optical sensor and the carpet being measured.
This project upgraded an existing industrial carpet folding machine with an embedded measurement system capable of automatically calculating the surface area of each carpet processed by the machine.
Before the modification, the operator had to measure carpet dimensions by hand. The embedded system automated this by measuring the dimensions during machine operation and calculating the area automatically — reducing manual operator work and building dimensional measurement directly into the normal folding workflow.
Measurement becomes part of the normal machine workflow.
I designed and implemented the embedded measurement system and integrated it into the existing carpet folding machine.
- ▸System architecture
- ▸Embedded controller integration
- ▸Sensor selection and integration
- ▸Rotary encoder interfacing
- ▸IR sensor integration
- ▸Stepper motor control
- ▸Pulley / mechanical measurement integration
- ▸Touchscreen user interface integration
- ▸Measurement firmware
- ▸Dimension calculation
- ▸Area calculation
- ▸Machine integration
- ▸Calibration
- ▸Testing
- ▸Debugging
- ▸Validation
Conceptual illustration — not a drawing of the actual machine.
Two physical dimensions of the carpet are acquired through integrated motion and sensing mechanisms: one through rotary encoder feedback, the other through a stepper-driven pulley mechanism with IR position detection. Both feed the central embedded controller.

Rotary encoder on the roller shaft, optical sensor and tracking wheel during measurement.
A rotary encoder monitors rotational movement during carpet processing. The embedded controller counts encoder pulses and converts the measured motion into dimensional information.
A second measurement mechanism uses a stepper motor, a pulley and an IR sensor to determine the other carpet dimension.
The machine was equipped with a touchscreen user interface connected to the central embedded controller, giving the operator direct access to the measured dimensions, the calculated carpet area and the measurement status.

The operator interface in service: ΠΛΑΤΟΣ width, ΜΗΚΟΣ length, Τ.Μ. computed area, ΑΡ. ΧΑΛΙΟΥ carpet number and ΡΑΦΙ shelf, with measure, register, clear and settings actions and Wi-Fi status.
Once both carpet dimensions are measured, the firmware calculates the surface area automatically and shows it on the touchscreen. The engineering value lies in acquiring the dimensions automatically — the multiplication itself is simple.
The project was implemented as a retrofit rather than as a new machine design. The embedded measurement system had to be integrated into an existing carpet folding machine without changing its primary operational purpose.
- ▸Integration with existing machinery
- ▸Sensor placement
- ▸Mechanical integration
- ▸Embedded electronics integration
- ▸Operator interface
- ▸Maintaining the existing machine workflow
- ▸Adding automation without requiring manual measurement
The system required calibration to convert sensor and motion information into physical carpet dimensions. Validation compared automatically measured dimensions with known, manually measured dimensions, adjusting the system until measurement behaviour was consistent.
- 01Adding automated measurement to an existing industrial machine
- 02Translating mechanical movement into reliable digital measurements
- 03Integrating rotary encoder feedback into the embedded controller
- 04Developing a second dimensional measurement mechanism using stepper motor, pulley and IR sensing
- 05Synchronizing measurement with the physical carpet-handling process
- 06Calculating dimensions automatically during machine operation
- 07Designing a simple touchscreen interface for the operator
- 08Calibrating mechanical movement against real physical dimensions
- 09Integrating electronics, firmware and mechanical components into an existing machine
- 10Ensuring repeatable measurement behaviour in a real industrial environment
Measurement became part of the machine process rather than a separate manual task.
- ▸Reduced manual measurement work
- ▸Measurement integrated into the machine workflow
- ▸Faster access to carpet dimensions
- ▸Automatic calculation of carpet area
- ▸More consistent measurement procedure
- ▸Reduced operator intervention
- ▸Digital presentation of measurement results