Hi.
Interesting thread...
I know that I don't have the level of knowledge that you guys have
Might I suggest that you get the IR bit working with Nothing else.. Just the Serial.print to display results.
I have never used Ir so you have lost me in that area.
Will watch this thread with interest ( more like a learning curve).
Regards Antony