Repository navigation
Spectral-BLDC 1.22, the Python library for the STEPFOC and Spectral Micro drivers, for driver firmware 110. Install or upgrade with pip install --upgrade Spectral-BLDC. Everything of 1.21 is unchanged.
New in 1.22 (firmware 110)
- Parameter names for what firmware 110 adds:
PARAM_RSTINT(90,#Rstint),PARAM_THERMISTOR(91,#Term),PARAM_GRIPPER_MODE(92,#Gripper, written only while the drive is idle), each 0 or 1 and kept bySend_Save_config(), andPARAM_GRIPPER_STROKE(93, read only: the gripper's stroke in ticks, 0 until calibrated).PARAMETER_NAMESnames them, sohelpers.get_parameters()lists them. A 109 drive answers them as unknown.
Requirements
- Python 3.10 or newer; python-can and pyserial (installed with the library).
- Driver firmware 110 for parameters 90-93: STEPFOC V110, Spectral Micro V110. 1.21 also works with 110 and reads 90-93 by number.
- Docs: STEPFOC, Spectral Micro.