The 298 loses at least 2V, and at higher current that's about 4V iirc. You have not much more than 3V or so at the mptor. On top of that you're pwm-ing that away to about nothing.... not enough to get the motor started.298's not much good for low vlotage motors, where relatively speaking the voltage loss is more than in a higher voltage case.
Hi,What model Arduino Controller are you using?Thanks.. Tom...
You could be hearing the PWM frequency (motor acting as a loudspeaker).Try changing the PWM pin from pin2 to pin4 (wiring and code).That pin should have twice the PWM frequency.Leo..
Google "Arduino PWM frequency".Did you try a different pin?Leo..
Hi,What DC motor are you using, what are its ratings, voltage, max speed and does it have a gearbox?What size are the wheels?If it is a hobby motor rated at 3000rpm or more and it has no gearbox, you will have very little chance of getting it to run slow and provide any decent torque.Can you post a picture of your project please.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16