Wen Cao

Back to projects

Fall 2025 ME 102B

EcoCompressor

A motorized attachment that latches onto a standard trash can and compresses its contents, so bulky household waste takes up less space and fewer trips to the bin.

Team
Yankang Liu, Jason Wang, Andrea Lou, Wen Cao
Load
Up to 5 kg
Volume reduction
75%, beating the 70% goal
Hardware
ESP32, 12 V DC motor, T10 lead screw
Labeled photo of the EcoCompressor on a trash can
The integrated device, mounted on a trash can.

Why

Bulky but light trash fills a bin fast, which means more frequent disposal. Commercial compactors are either expensive or inefficient, so we set out to build something cheap, automatic, and safe.

How it works

You use the trash can as usual. When it is full, you set the EcoCompressor on top and fasten four latches. Button A drives the compressing plate down, button B brings it back up, and a potentiometer sets the speed. Afterward you lift it off and take out the compacted trash.

As a safety interlock, a photoresistor under the device checks that it is properly mounted, and the motor will not run otherwise.

CAD of the compressor top
CAD of the latching top with the motor and lead screw.
CAD section view
Section view of the plunger.

Design decisions

The first design had a trash inlet in the side of the can, but it could pinch a hand if the plunger moved, so we replaced it with a removable top cover. We also downsized from a 12-inch bucket, which cut printing, laser-cutting, and lead-screw length.

Sizing the motor for the worst case of 5 kg with a 1.3 safety factor gives a design load of 63.8 N. With a 2 mm-lead ACME screw at a conservative 20% efficiency, that needs about 0.10 N·m, or 0.20 N·m with margin. A full 180 mm stroke in 10 seconds needs 540 rpm. Our motor’s 0.294 N·m stall torque covers that comfortably, so we use the potentiometer to run it slower.

Electronics and control

Circuit diagram
The circuit.
State transition diagram
States for moving up, moving down, and holding.

Looking back

It met every functional goal, but we would aim higher next time, for example a trash can that moves itself. We would also simplify the gear train, improve button debouncing, and add bearings, since the shaft coupler tended to get stuck without them.

Back to projects