Arduino + L293D to drive a simple DC motor.

An L293D connected to an arduino to control a single DC motor. NOTE:You have to give it external 5-6V. I build a LM7805 in this project hooked up to a 9volt battery to give me the required current.The L293D can handle upto 600mA and anything above that would fry it. So use a small DC motor only.