The Infrarood sensor may be connected directly to the A/D ports of the UPB. The sensor detects objecten at a distance of up to 50 cm and delivers a signal, proportional to the distance of the object.