How to build a Line Following Robot 2 – Motor controlling unit
May 23, 2011 2 Comments
Well, the motor controlling circuit with L293D is simple as follows. The line follower can turn left or right by changing wheel speeds. There for a simple control mechanism will be enough.
Pin 4 and 5 controls left motor while pin 6 and 7 controls the right motor.
H-Bridge IC
High Left |
High Right |
Low Left |
Low Right |
Description |
On |
Off |
Off |
On |
Motor runs clockwise |
Off |
On |
On |
Off |
Motor runs anti -clockwise |
On |
On |
Off |
Off |
Motor stops or decelerates |
Off |
Off |
On |
On |
Motor stops or decelerates |
If you need to give pwm(pulse wave modulation) signal separately to each motor , you can disconnect pin 1 and 9 from +2V and give pwm1 to pin 1 and pwm2 to pin 9.
In next post we will discuss how to program the pic to follow the line.
නයිස් ආටිකල් බ්රෝ , දැන් අපිට අපේම කියල පුංචි පහේ රොබෝවෙක් හදන හැටි ක්මානුකූලව තියෙනවා. බි ද වේ , ඇය් දැන් ආටිකල් පල කරන්නේ නැත්තේ?
බොහොම ස්තූතියි කමෙන්ටුවට. පහුගිය කාලේ හරි හැටි ලියවුනේ නැහැ තමයි. ඉදිරියේදී ලියන්න උත්සහ කරන්නම්.