Predictive Maintenance of Gearbox: A Cost-Effective IoT Approach for Remaining Useful Life Estimation