The L293D is a double H-bridge, which means it can be used to control four separate motors (in one direction) with its four channels. By connecting the outputs appropriately, it is possible to form two h-bridge. It is thus possible to control two separate motors, in both directions and independently of one another (which is the case of our tutorial).
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: What We Need
Step 2: The Diagram
First of all you need to know what are the pins of the L293D
Step 3: Finally the Code
the code allows you to go back and wait for a second then move forward and wait another second and then turn right and wait one more time then turn right and it starts again.
code here: http://destyy.com/w3CLF1