IR sensors rely on an emitter (IR LED) and a detector (photodiode or photoresistor) to measure infrared light and convert it into electrical signals. There are two main types of sensors: ...