An Arduino sketch for testing motorized ball valves found in some industrial equipment.