Rewrote IR sensor module