USB DC Motor Controller using PIC18F4550

USB DC Motor Driver using PIC18F4550

pic18f4550 interface with l293d motor driver to drive motor in forward and reverse
DC motor Driver using l293d pic18f4550








Schematic pic18f4550 Interface L293D

l293d motor with pic18f4550 schematic for single motor









Download this schematic as EAGLE Editor V 5.11.0



This a small project on controlling D.C motor with USB pic18f4550 interface board with L293D motor Driver. L293d DC motor driver is linked to pic18f4550 which is controlled by USB from computer.

A small application [C#] is controlling my pic18f4550 USB interface board with my computer, enabling me to control my board with keyboard. The output of the microcontroller is given to the input of a l293d motor controller , hence enabling me to control my DC motor in ( forward / reverse ) that is Clockwise and Counter Clockwise | anti-clock (cw/ccw) direction.

If you really interested in robotics and controlling stuffs then one of the most basic thing is to control your own applications like DC Motors , Stepper Motors , Servo (with pwm) etc etc. So lets do it with kind of absolute beginner level with DC motors.
IF you are really beginner then I suggest watch all the three videos.

The working of the this project is very simple 
USB + C# [HID]   > pic18f4550 > l293D > DC motor






You can find the pin diagram of l293d motor controller with a short Google, the chip is kind of self explanatory when you see it. With one single chip you can control two D.C motors to rotate in forward/ reverse direction on your command.

This chip understands only logic 0 and logic 1 signals as input control signal , we are going to generate the logic 0 and 1 with the help of a pic18f4550 microcontroller , the logic 0 and 1 will be fed to the input of the l293d and motor will be connected to the out pins of l293d. A more detailed description of the working of a l293d is explained in my topic l293d.

Watch the video below




A bit more detailed video for this motor controller, you can use it the way you want it, like robotic arms.

A Single L293D motor controller chip enables you to control two motors, [two motors per chip] , in India the price of l293d costs around 80 rs/- , i don't know about costs in other country :) :).




You have to make my USB Interface board first to make this project done, once you are done connect the l293d with power and connect it with pic18f4550 as I have mentioned in the video "INTRODUCTION to L293D" or follow the schematic.You can easily make this entire circuit on breadboard or a PCB.

Thats all you need, thanks for watching

Thanks for reading


Rakesh Mondal