IR sensor hardware