Adding a Sensor for Data Acquisition

Hello,

This question is probably simple, but my team and I are new to drones in general and would appreciate the help. I’m working on a school project and my team is looking to add a digital temperature sensor to our drone so that we can perform data acquisition during flight. Can someone provide some guidance to how we would connect the Temp Sensor/Raspberry Pi Zero to the Pixhawk 4?

Thanks,
Mike