3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

USB:- DC Motor Controller using PIC18f4550 (keyboard)

USB:- DC Motor Controller using PIC18f4550 (keyboard)
«
  • 11.JPG
  • 1.JPG
  • 3.JPG
  • 2.JPG
  • 4.JPG
  • 3.JPG
  • USB:- DC Motor Controller using PIC18f4550 (keyboard)



Hello friends,

This a small project on controlling D.C motor with USB pic18f4550 interface board with L293D motor controller.
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  USB Device project i have already done before here http://www.instructables.com/id/USB-Project-USB-Interface-Board-Using-PIC18F455/ you can download the C# application [pic18f4550 board tutorial] from the link.This demo board enables to use Keyboard.  this l293d motor controller is just a application of the USB Interface board.
 


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




WORKING OF THE L293D MOTOR CONTROLLER








 

ABOUT L293D

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.

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 dont know about costs in other country :) :).





You have to make my USB Demo 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"



Thats all you need thanks for watching



by Rakesh RON

:) love u all

http://www.facebook.com/microcontrollerinfo


COMING UP : 2x16 lcd with pic18f4550 and pic18f2550 :)


watch my channel for more http://www.youtube.com/ronymandal123#p/u

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
16
Followers
6
Author:ron.rakesh.mandal(Rakesh Mandal )
http://rakeshmandal.info , , Hi my name is Rakesh Mandal , my friends call me ron vist my website for more stufs like my post here . www.rakeshmandal.info