Additional logic and sensors

My current project is targeting the pixhawk and some additional functionality. Specifically I need to be able to detect IR levels on an IR sensor as well as relay that data back to the base station. Is it possible to add this logic and sensor to the pixhawk? I would really rather not have to add an additional microcontroller and battery pack is possible.

Any links, tutorials or advise are welcome!