Page 2 of 2

Re: PCA9685 PWM Driver

Posted: Wed Apr 05, 2017 9:49 am
by deshipu
I would recommend that you reconsider the choice of your h-bridge. The LD298 was a fine piece of electronics back in the 70's when it was designed, and it works well with the 40V power that it was designed for. For hobby uses, though, its 5V voltage drop across the motor power lines makes it a pretty bad choice, especially when you plan to power the motors with a low-voltage battery. The bridge will eat half of the power just sitting there.

Why don't you use something more modern, like DRV8833 or the TB6612 that is also used in that Adafruit shield? They are not much more expensive, and much better suited for small hobby stuff.

Re: PCA9685 PWM Driver

Posted: Sun Apr 09, 2017 4:10 am
by pidou46
Thanks for tour advice, I will look this way.

Re: PCA9685 PWM Driver

Posted: Thu Apr 20, 2017 7:26 pm
by pidou46
Hello,

What about mixing dc motors + servos ?

It seems not possible because each kind work at different frequency. servo: 50Hz, dc_motor: 1600Hz

And it's a global property of the pca9685 class, so if I change it for servo, it will change for dc_motor and vise-versa...

Could you confirm my guess please ?

Thanks.

Re: PCA9685 PWM Driver

Posted: Thu Apr 20, 2017 10:00 pm
by deshipu
pidou46 wrote: Could you confirm my guess please ?
Yes, the PWM frequency is a global property of the chip.