Advice for External sensors with PX4 Data Gathering

Hi
I want to install Pixhawk on an manned ultralight aircraft only to log data… as a flight data analyzer…(NOT AN AUTOPILOT)
1- I may need to install an external temperature and barometer sensor. I found some documentation about connecting MS5611 directly to Ardupilot… Is this option available in PX4 as well or not? How? Clearly My altitude estimation should use external sensor data instead…

(One more thing… If I want to use Pixhawk Cube, does it measure the outside air temperature or the internal (Temperature controlled) section temperature?

2- I want to a read and log some load-cell values as well… They may be Analog or SPI data… Can I just simply connect them to ADC GPIOs and read them back on QGC? How can I do some calculation with them in the Code? I am planing to use simulink embedded coder for PX4 … but I am not sure if it is a good idea or changing the firmware code is better

Please help me in this relatively new topic for me
Thanks

1 Like