kaeverens / waterbot

a robot for watering plants
The Unlicense
0 stars 0 forks source link

can't adjust speed of motors #5

Closed kaeverens closed 3 years ago

kaeverens commented 3 years ago

the motor controller is either fully on, or fully off, so the bot runs along at full speed, or doesn't move.

I tried using PWM to simulate speed control, but that just ends up with either jerky movement, or a buzzing motor and no movement.

I think in the case of the latter, the frequency is too high, and the motor doesn't have a chance in the power phase to move to another magnet before the power-off phase is reached and it jerks back