Temperature sensing with vex code text

So…this robot I have keeps having over heating issue and I’d like to figure out how to program it to make the screen be the color red once it reaches 55°C or more. How would I do this?

check this out.
https://help.vexcodingstudio.com/#cpp/namespacevex/classvex_1_1motor/temperature

Also, is 55C the temp the motor stops? Wouldn’t you want to know before then, when it starts to throttle?

2 Likes

55°C is when it cuts the power in half. 70°C is when it kills the motor’s power

I’m not sure how to make the robot recognize this and cause the screen to become red

It is not a supported feature to make the screen turn red. See this thread about doing something similar:

2 Likes

If the processor knows this, can the joystick vibrate and a message of which element on the robot is overheating be displayed? ie - vibrate and display “drive temp warning” or something like that?

The robot is out doing something, and the driver may not see the screen. But if its in his hand… it would be useful.

1 Like