Send data with MavLink to QgroundControl

hi
I have a temperature sensor => Product link
I read the temperature data using raspberry pi 3
I want to send temperature information to QgroundControl and show it
help me

There is support for this sensor in ArduSub. You can plug the sensor into an autopilot like a pixhawk, and it will send the information to QGC. If you do not want to use an autopilot, then you can look here at the same question about sensors connected to the Pi:

1 Like

hi
I use pixhawk
help me to connect the temperature sensor to pixhawk

Plug it into the ‘I2C’ port on the pixhawk. If you have more than one I2C sensor like a Bar30, then you can connect both with an I2C splitter, or just connect all the wires in parallel.

https://www.google.com/search?q=i2c+splitter&source=lnms&tbm=isch&sa=X&ved=0ahUKEwj5rOCP5YrcAhWKd98KHaz9BEAQ_AUICygC&biw=1847&bih=945

1 Like

The ds18b20 temperature sensor is connected to 3 wires and not I2c
How can i2c do it?

It won’t work with I2C. You will need to write your own code for it. I thought you were referring to the Blue Robotics Celsius temperature sensor in the first place, sorry.

1 Like

I set up the Sensor Code for Raspberry pi and it works properly
I would like to send the temperature information to MavLink for QgroundControl and show it
help me

You can use mavlink. There are examples on ardusub.com: Pymavlink · GitBook

Try sending the SCALED_PRESSURE3 message, and fill in the temperature with your reading, then you will see it in QGC.

1 Like