Nanosecond fluorescence lifetime low-cost sensor