Motors are amazing things; they come in all shapes and sizes. Primarily, they can be considered the backbone of most robots. However, nothing is perfect in this world. There must be some drawbacks to these motors as well. By now, you might have figured out some by yourself. In the previous chapter, when we made the car turn, you might have seen that the angle of turn was never really the same. Also when the vehicle was given the command to go straight, it really would not do so. Rather it would try to run slight, toward one side.Â
Say hello to the first problem—precision. The motors are exceptionally simple to control, but the problem with these motors come when we have to rotate the motors only till a specific angle. If you need to rotate the motor of your robotic vehicle only by 90 degrees, then how would you do it? The first and foremost...