Sparkfun Auto pHAT motors not working

I installed python packages for pHat on my rasp 3 and mounted hat to it.

using USBC to power, blue light on board blinks, go servo examples to work, actually got motor examples to run but the motors do not work. I used the encoder motors first and then switched to simple DC motors-same result.

The Sparkfun Qwicc packages and sparkfun-qwiic-scmd seem to work ok with python, it is like the motors aren’t activated.

please advise,

Tom

Can you provide pictures of your setup? Can you check with an oscilloscope or multimeter to check if the motors are receiving power?

IMG_6338.jpg -this is the original setup .It has dual blue motors with encoders and a servo. Servo works, motors do not.

I have pictures of scope which show 0-scope PWM during dual motor python demo and then my regular yellow DC motor hook up without encoders --but I keep getting HTTP errors when uploading. Bottom line these regular motors work!

I took the blue motors and hooked directly to power supply just motor + and- , again they do not work.

The motors I purchased from Sparkfun are not functional.

I think we had a recent issue from the manufacturer with the cable colors not being consistent for the motors with encoders. If you are following the Auto pHAT hookup guide, I added a picture with the pin connections for the motors with encoders to assist with that. Hopefully, that helps get those working.

Hi there,

I am experiencing similar issues with the phat and blue motors with encoders

The QwiicScmd object returns true when calling the methods is_connected() and ready()

busy() returns false

For instance, when calling set_drive(SCMD_MA_DRIVE,0,200) method nothing happens.

The get_diagnostics() method returns 201 for SLV_POLL_CNT and 100 on LOOP_TIME, 2 on REG_OOR_CNT and the rest of the properties are equal to 0.

Any suggestions?

Please refer to my previous post. It appears that you have the motors hooked up backwards, in your picture.

It is working now thanks!