Page 1 of 1

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

Posted: Fri Sep 09, 2011 3:36 pm
by PraveenAlexis
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 ;)

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

Posted: Sat Sep 10, 2011 8:39 am
by PraveenAlexis
Image
according to this image i want to know the diagram between the micro controller and the l293d ic ;) with the power supply

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

Posted: Sat Sep 10, 2011 11:09 am
by Neo
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.

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

Posted: Sat Sep 10, 2011 11:36 am
by PraveenAlexis
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 ;)

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

Posted: Sat Sep 10, 2011 11:44 pm
by Neo
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 :?:

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

Posted: Sun Sep 11, 2011 1:02 pm
by PraveenAlexis
anyway thanks :)

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

Posted: Sun Sep 11, 2011 7:25 pm
by Neo
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.

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

Posted: Sun Sep 11, 2011 9:41 pm
by PraveenAlexis
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 ;)

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

Posted: Sat Nov 05, 2011 1:22 pm
by Nandika
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.