How to drive a CD-Rom motor with PIC microchip??

Control Systems & Robotics Topics
Post Reply
PraveenAlexis
Moderator
Moderator
Posts: 78
Joined: Wed Jul 20, 2011 3:06 pm
Location: Sri lanka,Wattala

How to drive a CD-Rom motor with PIC microchip??

Post by PraveenAlexis » Fri Sep 09, 2011 3:36 pm

i saw this post from a member, but i have some problems, in that topic he never posted "the part list" and the "pic programming code" :o so can some one help me with

* "the part list"
* "The pic programming codes"
* "the diagram"

regards ;) praveen
i have to test doing it ;)
PraveenAlexis
Moderator
Moderator
Posts: 78
Joined: Wed Jul 20, 2011 3:06 pm
Location: Sri lanka,Wattala

Re: How to drive a CD-Rom motor with PIC microchip??

Post by PraveenAlexis » Sat Sep 10, 2011 8:39 am

Image
according to this image i want to know the diagram between the micro controller and the l293d ic ;) with the power supply
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: How to drive a CD-Rom motor with PIC microchip??

Post by Neo » Sat Sep 10, 2011 11:09 am

Just connect pins of PORT B (PB0, PB1, PB2, PB3) to Controller Pin 1, 2,3 and 4 respectively.

If your motors are 12V, then connect 12V to "stepper Motor Supply". Connect the same 5V supply you used to give power to the microcontroller (PIC). Connect all grounds together.

ULN2003 is commonly used to drive stepper motors (We supplied few ICs for your school project). Here are some examples uses of the IC (Also with code). I just did a qucik search. There can be some more.

Re: Require circuit diagram for PIC16F630
Connecting Stepper Motors to Microcontrollers Tutorial
How to control a Stepper Motor using ULN2003 & microcontror - Based on Arduino.
PraveenAlexis
Moderator
Moderator
Posts: 78
Joined: Wed Jul 20, 2011 3:06 pm
Location: Sri lanka,Wattala

Re: How to drive a CD-Rom motor with PIC microchip??

Post by PraveenAlexis » Sat Sep 10, 2011 11:36 am

Just connect pins of PORT B (PB0, PB1, PB2, PB3) to Controller Pin 1, 2,3 and 4 respectively.
then? thats it?? :shock: how do i supply current to the PIC?? :roll:
If your motors are 12V, then connect 12V to "stepper Motor Supply". Connect the same 5V supply you used to give power to the microcontroller (PIC). Connect all grounds together.
ya its a 12v motor ;) that means 12+ should be connected to the "stepper Motor Supply" and the 12- should be connected to the "ground"?? :roll:

and i wish you could quote me the part list too ;)
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: How to drive a CD-Rom motor with PIC microchip??

Post by Neo » Sat Sep 10, 2011 11:44 pm

then? thats it?? :shock: how do i supply current to the PIC?? :roll:
PIC needs to be powered with smooth 5V. We have supplied you a 7805 power regulator for this.
ya its a 12v motor ;) that means 12+ should be connected to the "stepper Motor Supply" and the 12- should be connected to the "ground"?? :roll:
+12 - ( - 12) = 24V...so it is not correct. You need connect the centre tap to the ground.
and i wish you could quote me the part list too ;)
I think you missed my post in page 3 of your previous post on how to build a drawing machine. The exact post is https://robot.lk/viewtopic.php?f=75&t=2 ... t=20#p7695

All information you need to know is there :?:
PraveenAlexis
Moderator
Moderator
Posts: 78
Joined: Wed Jul 20, 2011 3:06 pm
Location: Sri lanka,Wattala

Re: How to drive a CD-Rom motor with PIC microchip??

Post by PraveenAlexis » Sun Sep 11, 2011 1:02 pm

anyway thanks :)
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: How to drive a CD-Rom motor with PIC microchip??

Post by Neo » Sun Sep 11, 2011 7:25 pm

anyway thanks :)
Sounds you didn't get what you have asked :lol:

Let me know whether you can make it with those or you need further information. I'm also very busy these days so please note I might not be able to answer posts quickly or add detailed descriptions other than giving quick tips.
PraveenAlexis
Moderator
Moderator
Posts: 78
Joined: Wed Jul 20, 2011 3:06 pm
Location: Sri lanka,Wattala

Re: How to drive a CD-Rom motor with PIC microchip??

Post by PraveenAlexis » Sun Sep 11, 2011 9:41 pm

Neo wrote:
anyway thanks :)
Sounds you didn't get what you have asked :lol:

Let me know whether you can make it with those or you need further information. I'm also very busy these days so please note I might not be able to answer posts quickly or add detailed descriptions other than giving quick tips.
hahah ya its ok :lol: i understand ;) that ur busy and ur a family guy ;)
User avatar
Nandika
Captain
Captain
Posts: 247
Joined: Sat Oct 15, 2011 11:40 am
Location: Galle-Sri Lanka

Re: How to drive a CD-Rom motor with PIC microchip??

Post by Nandika » Sat Nov 05, 2011 1:22 pm

visit http://kz-picsinhalese.blogspot.com/200 ... mming.html to learn control DC motor from pic16f677a in Sinhala language.
This article was in "Vidusara" magazine.
Post Reply

Return to “Control Systems & Robotics”