adafruit / Adafruit_CircuitPython_MotorKit

CircuitPython helper library for the DC & Stepper Motor FeatherWing, Shield and Pi Hat kits.
MIT License
86 stars 31 forks source link

add PWM frequency getter/setter and init keyword arg #34

Closed CedarGroveStudios closed 3 years ago

CedarGroveStudios commented 3 years ago

Allow adjustment of the PCA9685 PWM frequency to be lowered to increase low-speed DC motor torque. Retain the default of 1600Hz for other purposes.

Setting a PWM frequency of < 125Hz will significantly lower DC motor spin threshold and increase low-speed torque. Tests were performed with RF-500TB12x/18x and TT-gearbox motors.

DC_Motor_Tester_24-1600_2020-12-12
CedarGroveStudios commented 3 years ago

Resubmitted as #37