You are here

VESC read temperature values with vesc arduino library

2 posts / 0 new
Last post
roque.canales
Offline
Last seen: 6 months 1 week ago
VESC Free
Joined: 2020-10-27 15:16
Posts: 5
VESC read temperature values with vesc arduino library

Hello, I checked all the arduino library available on github for VESC, and I don't find one with read motor temp or mosfet temp command.

Can anyone help me?

TheFallen
Offline
Last seen: 2 months 2 weeks ago
VESC Original
Joined: 2017-09-11 11:46
Posts: 222

Which Arduino library? What VESC? What version of firmware? What have you tried?
With so little information help will be hard to give.

Assuming:
a) its a newer e.g. older than v4.12 HW
b) running a newer firmware e.g. older than v3.4 FW

Try https://github.com/SolidGeek/VescUart ,  you may have to edit the library at `.master/src/VescUart.cpp#L187` to set the first 2 bytes to be the FET temp and the next 2 bytes to be the motor temp.
Once you've made the edit try pushing it back so SolidGeek knows people do want to get the FET/motor temps from their VESCs.