scaled photoresistor