Temperature sensor monitor

Im planning to build a payload lifting drone , in which i need the temperature inside payload box need to be monitored. is that possible ? if yes let me know how to do it

This might help: Temperature Sensors — Copter documentation

1 Like

Thank you sir , but i want to view the temperature inside the box in mission planner GCS , is that possible? If yes may i know how to do that ?

2 Likes

Did you ever figure this out?

Mission Planner’s Quick tab can be customized to view any number of sensor statuses, including temperature. Double click to edit. Right click to add rows/columns.

No, i meant the actual sensor connection. Did you get the sensor connected to i2c and working properly? Im tempted to get 3 sensors and use the i2c bus board and have 3 separate temperature sensors.

The link posted above is still valid. Be careful using I2C sensors whose addresses cannot be changed, as those will be limited to only one instance. Some breakout boards for the MCP9600 provide jumpers for that purpose.

In looking through the features.txt files on the firmware site, it appears that MCP9600 support is disabled by default for most autopilots, so you may need to use the custom firmware builder to enable it.

@iampete or @hendjosh may be able to shed some light on further specifics (and why the wiki page seems a bit ambitious vs the reality that most boards do not seem to support most sensor types by default, unless I’m reading the source incorrectly).

Oh ok, good to know. Im actually planning on using the MAX31865. Ive tried to search the forums to see if anyone has used this specific digital temp board. It was listed in the supported devices in the ardupilot documents and the instructions seemed pretty straightforward but i would like to use a few and then ill also have my airspeed sensor on the i2c bus. Not sure if i should power separately or not.

Heres a link to the part:

DAOKI MAX31865 PT100/PT1000 RTD Temperature Thermocouple Sensor Amplifier Board 3.3/5V Temperature Detector Module for Arduino with -50 to 200℃ 0.5m/1.6ft 3 Wires PT100 RTD Sensor Probe Amazon.com

The MAX31865 is an SPI device, so be sure your autopilot exposes an external SPI connection.

The instructions remain about the same, but I think our docs need some attention in that regard.

Would you mind explaining SPI? Or point me to some documentation about it? Not sure if its a whole nother topic or just a parameter i need to enable. Thanks for your help so far.

It’s a communication protocol like I2C. If your autopilot has a port labeled SPI, then you are probably good to go (ArduPilot firmware disables the external SPI port on at least one board of which I’m aware).

You’d likely use TEMPx_BUS = 1 (or 2) to assign the sensors to the external SPI port just like you would use similar notation for an I2C sensor.

If you do not have an SPI port available, then that sensor is useless to you.

1 Like

Im using the Cube Orange +

And what carrier board? Most of the time the Cube’s external SPI port is either not exposed or not recommended for use, though if you keep your wires short, it can be done (assuming the carrier has the port).

EDIT:

There is a pending fix for the fact that most firmwares do not actually include these sensors in the released builds. It may be some time before that’s patched in. Until then, you’ll need to use the custom firmware builder. @peterbarker may be able to shed a little more light on the subject overall.

In any case, I don’t think an SPI device is the way to go for the Cube. Use one of the supported I2C sensors.

I am trying to use the max31865 spi board with a Matek h743 wing v3 fc. I built custom firmware with the option enabled but it doesn’t seem to be working.

I have temp1 setup to replace esc 1 and I have tried all combinations of Temp1_bus and addr 0-3 to no avail.

In the HWid tab it shows a temp1 sensor but has it listed as an I2c sensor with a devID of 1.

At this point I think the spi temp sensor isn’t actually supported - or the way to configure it eludes me. Either way I purchased one of the I2C sensor boards and will hope for more luck there.

im having a problem where temp1 does not show as a option to show in the quick tab on mission planner, i know my sensor is working via the logs of the sd card and i honestlly dont know what to do, other thing is that i want to test the max 31865 but i dont know how to connect the wires or what parameters to change, so far i only used an analog sensor. can someone help me? i feel like this is really simple i just cant find information on it