Affordable Sensor for Machinery Health Monitoring