Text this: Design and development of an optical sensor system to measure visibility of air