Sensor PIC for ECE4574