Monday, November 28, 2011

USB DC Motor Driver using PIC18f4550


Hey friends its ron here,

This a small project on controlling D.C motor with USB pic18f4550 interface board with L293D motor controller.

To read the basics of Motor Driver Follow my Motor Driver Link

A small application is controlling my pic18f4550 USB interface board with my computer, enabling me to control my board with keyboard. The output 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. For more info please watch my previous post on L293d motor controller. It must give you some idea if you a complete beginner.

Please watch both the video below for its demonstration.


SHOT VIDEO








FULL DESCRIPTION 






NOTE:  If you wish to make this USB pic18f4550 microcontroller board then follow my project on my website for Schematics, Firmware and Codes.
USB INTERFACE DEVELOPMENT BOARD USING PIC18F4550




Thanks for reading

Rakesh Ron.

ron

www.rakeshmondal.info

L293D IC DC Motor Driver Chip Introduction

INTRODUCTION TO L293D DC MOTOR Driver

If you really interested in robotics and controlling (electronics) stuffs then one of the most basic thing is to control devices like DC Motors, Stepper Motors , Servo (with pwm) etc. which one of the important topic in robotics.

Today I am going to show you some basics of L293D DC motor controller, Its a integrated circuit that enables you to control motor rotation ( forward / reverse ) that is Clockwise and Counter Clockwise | anti-clock (cw / ccw). I will provide the basics in this post and in my next posts I will show you working and application of this L293D motor Driver interface with a microcontroller ( PIC18F4550 microcontroller )


You can find the pin diagram of l293d motor drive with a short Google, the chip is kind of self explanatory when you see the pin diagram. With one single chip you can drive two DC 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, (in my next post), 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.










There are two inputs and two outputs on either sides of the chip, both sides of the chip can control one motor each. so a single chip can operate two DC motors.


Each operational unit has to be activated or enabled before you can use it. So connect the pin1 (chip enable) to VCC if you wish to use to activate one side, and so as another "chip enable" pin in you want to use second operational unit.

NOTE: Connect all GND to common ground , and DO NOT FORGET to connect the GND of microcontroller with l293d GND.

In my next post I will show its demonstration with a pic18f4550 USB interface board , computer USB and keyboard controlled DC motor with L293D.





Thanks for reading

Rakesh Ron

ron




NOTE:  If you wish to make this USB pic18f4550 microcontroller board then follow my project on my website for Schematics, Firmware and Codes.
USB DEMO INTERFACE DEVELOPMENT BOARD USING PIC18F4550




A personal request plz join my community on facebook for more similar stuffs :D

http://www.facebook.com/microcontrollerinfo


Tuesday, June 14, 2011

BOOTLOADING PIC18F4550 USB Demo Interface Board

 

BOOTLOAD THE PIC18F4550 – FIRMWARE UPDATING

SETTING THE PIC18F4550 IN RD/WR ( BOOTLOAD ) MODE FOR BOOTLOADING





Rakesh Mondal 


Ron
www.rakeshmondal.info

USB Demo Interface Development Board (PIC18F4550)

USB INTERFACE DEVELOPMENT BOARD 
  

This is a USB Interface development board that I have made based on www.microchip.com forums , I made board to find a way to control my stepper motor or my relays and DC from computer laptop.
So I had to finally use microcontroller as SERIAL PORTS are not available in Laptops.
And as there are no LPT in laptops so USB to serial converters cables don't work.













Please follow my website for more.
How to make a USB Interface board using PIC18F4550 Microcontroller 


Rakesh Mondal 
RON
www.rakeshmondal.info

Robot based on USB (PIC18F4550)

Robot based on USB (PIC18F4550)


Hey friends , sorry for being late , I was very much busy in my works and I was really finding it hard to manage time for blogging as I had my exams and I was working on some websites .

Here is my latest work,

Its a robot based On USB Interface , I have not used any stepper motor in it , but some high torque LOW RPM motors did job for me perfectly.








The robot is controlled with pic18f4550 microcontroller, the pins are interfaced with uln2003 and then finally to l293d (hbridge).To generate more controls i used some logic gates like AND and NOT gate .The firmware is programmed in MPlab.
The 360 degree camera view is provided with a kinda robot arm mounted with camera , which can provide view in both x and y plane.
The other features are motion detector,IR object detection, laser ranger , and also included a small blue ray laser to bust small things like balloon, tapes etc etc etc etc etc. its connected and controlled with USB, for the moment is wired but it can become completely wireless by adding just an extra wireless hub .
All controlls are generated with .net c# (visual 2010).



OTHER LINKS


http://letsmakerobots.com/node/26168

http://www.instructables.com/id/USB-ROBOT-BASED-ON-PIC18F4550-DEMO-BOARD/

I am currently working very hard to prepare a detailed tutorial on this robot.
I will be posting then soon to my website



THANKS FOR READING


Thanks for Reading
Rakesh Mondal Ron



Related Articles

USB Stepper Motor Driver
Stepper Motor Driver Using PIC18F4550
Stepper Motor Driver Tutorials
USB Interface Board

For more and Questions Please Visit My personal Website
www.rakeshmondal.info