Mounted Smartphones as Measurement and Control Platforms for Motor-Based Laboratory Test-Beds