High-precision automatic coffee tamper that ensures even and perfect pressure for coffee beans in the basket, with automatic measurement of tamping depth to ensure a balanced level.