Hi - my very first project here I just want to variably control the speed of a 12v fan using QWIIC.
I thought I could just use the SparkFun Qwiic Motor Driver since the regular SCMD indicated in its Hookup Guide that “CPU fans – can be varied” and I have used a forward diode to prevent reverse voltage application.
However, I can only get the fan to turn on, and only at full speed, if I connect it to both Motor Ports A & B and use use consecutively:
myMotorDriver.setDrive( 0, 0, 255);
myMotorDriver.setDrive( 1, 0, 255);
Anything less than ‘255’ does not work.
Only connecting or using one motor port does not work.
I have seen this problem in other threads, but the solution seemed pin/PWM related on projects not using an SCMD.
I assume needing to hook up the fan to both ports relates to the drive current.
The guide says “Need more current? Each board’s output can be bridged to allow double current.”
But I also cannot seem to get the myMotorDriver.bridgingMode command to work either.
Am I missing something in the overall configuration and code to make this work?
Do motor ports need to be properly bridged, and if so, how?
Or is it not really possible to control a fan’s speed with the Qwiic Motor Driver?
If that is the case, are there any other QWIIC options for fan control?
Thank you for any advice - it will be greatly appreciated.