I have my robot https://www.robotshop.com/letsmakerobots/start?destination=node%2F17 which i want to make turn while driving forwards, how do i do that?
The SHR kit as delivered
can not move in an arc readily. Rev-Ed tied the enable pins of the motor driver high. This means you can really only easily drive the motors forward or reverse at full speed. You ‘might’ be able to write your program to convince one motor to coast from time to time. That ‘might’ give you an arc.
Ok, thank you for the advice
Ok, thank you for the advice
Actually, can’t you do PWM
Actually, can’t you do PWM on the direction pins?
The problem is when you try to change direction
If you PWM on one input and use the other to control direction, a motor spinning one direction will drive-coast-drive and the other direction will drive-brake-drive. Also, I believe the PICAXE like arduino has dedicated PWM pins. It has been a day or two since I looked at the manual.