Hey there
So I'm making a robot that speed matches/avoids collision. It's using an ultrasonic sensor with PWM to detect things in front of it. This is being fed into a PIC24HJ32GP202.
I have two gear motors running on an L293D H-bridge. I was wondering how I would implement some kind of variable speed control? I was thinking, perhaps, of some form of variable voltage control so I can adjust the amount of voltage going into the H-bridge supply; that would supply some rudimentary form of speed control.
Because they're gear motors, PWM wouldn't really work since they don't have enough inertia to overcome the stopping power of the gears.
Any ideas?
So I'm making a robot that speed matches/avoids collision. It's using an ultrasonic sensor with PWM to detect things in front of it. This is being fed into a PIC24HJ32GP202.
I have two gear motors running on an L293D H-bridge. I was wondering how I would implement some kind of variable speed control? I was thinking, perhaps, of some form of variable voltage control so I can adjust the amount of voltage going into the H-bridge supply; that would supply some rudimentary form of speed control.
Because they're gear motors, PWM wouldn't really work since they don't have enough inertia to overcome the stopping power of the gears.
Any ideas?