I'm thinking to drive a 5V dc motor from a L298N module with a PWM 12V or even 24V DC.
Max PWM would be 40%
analogWrite (motorPin, 106) at 12V or 20%
analogWrite (motorPin, 53)at 24V.
It is to minimize the average current, mostly to shrink the power supply and power lines. But I think I still some kind of dampering at the end of the power line (cloth to the motor switch). Would a capacitor do the trick ?
Plus as I want to be able to drive 2 motors at the same time, and as the max PWM time is lower than 50% I could stagger the 2 PWM, so when one is ON, the other is OFF, and vice versa.
Any remark or advice would be appreciated.