Moving Robo in straight line

Status
Not open for further replies.

Vikky

New Member
Hi all,

With reference to my earlier thread, now in my design i made the closed loop system using the opto coupler to check the speed of the motor.

With the help of the opto-coupler i am counting the no. of holes the wheel has passed in fixed amount of time and same sequence is repeated of the second wheel. By generating the deifference i can get which motor is moving faster than the other and on the basis of calculation i make the other motor to either increase or decrease the its speed by controling the PWM supplied to it.

But still at the last end i could easily found that the Robo has deflected from its path!!

Can anybody let me know the programming for the control or else provide me the flowchart for controlling the motor??
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…