Use it in active mode with an emitter resister and feed a ADC. ?
What PIC are you using? does it have an ADC?