But that won't change from PIC to PIC, provided the same phototransistor etc is used. Because of the 47k pullup the source impedance of the analogue voltage is <47k, which should give the same analogue voltage into the PIC input which has a load impedance of megohms.
He said the analogue voltage was varying from 0.8v to 1.8v, indicating transistor pull down of maybe 20k? So the total source impedance might be 10k to 15k, this voltage is not going to be affected by changing between different PICs!
I'm just saying the reason for the big change in that analogue voltage is almost certainly not caused by changing the PIC, it's either code or config or some other external variable that has not yet been eliminated.