Files
ODrive/analysis/thermistors.py
T
Rowan Goemans 1a0d6acace - Refactored thermal and current lmiting sub-systems and introduced motor thermistor support.
- Added thermal errors to dump_errors call in odrivetool.
- Added function in odrivetool to set thermistor coefficients based on thermistor specs.
- Added documentation for users on how to connect and configure their own thermistors.
2020-07-17 14:09:47 +02:00

10 lines
184 B
Python

#%%
from odrive.utils import calculate_thermistor_coeffs
Rload = 3300
R_25 = 10000
Beta = 3434
Tmin = 0
Tmax = 140
calculate_thermistor_coeffs(3, Rload, R_25, Beta, Tmin, Tmax, True)