Arduino Forum

Using Arduino => General Electronics => Topic started by: ymazar on May 07, 2016, 11:54 pm

Title: Driving motor with Arduino
Post by: ymazar on May 07, 2016, 11:54 pm
i am working on a project and trying to drive a motor that I found inside a DVD-ROM drive.

The motor is labeled JCL9B (81UK4715A) and has only 2 wires (red/black) connected to it - but it has a PCB that is attached to it that seem to control a small disk with holes around the shaft (Look like bike's disk brakes) - I attached some images of the motor and PCB

1. Is the motor a step motor or just plain DC motor
2. Is the disk plate used to "convert" the motor to a stepper?
3. How can I drive this motor using Arduino?

http://postimg.org/image/81v5nac01/ (http://postimg.org/image/81v5nac01/)
(http://postimg.org/image/81v5nac01/)

http://postimg.org/image/3xgepkbwh/ (http://postimg.org/image/3xgepkbwh/)
(http://postimg.org/image/3xgepkbwh/)

http://postimg.org/image/cb0c8tw75/ (http://postimg.org/image/cb0c8tw75/)
(http://postimg.org/image/cb0c8tw75/)

http://postimg.org/image/3k73jsh1d/ (http://postimg.org/image/3k73jsh1d/)
(http://postimg.org/image/3k73jsh1d/)

Thanks for your help
Title: Re: Driving motor with Arduino
Post by: Grumpy_Mike on May 08, 2016, 12:18 am
Quote
1. Is the motor a step motor or just plain DC motor
just plain DC motor

Quote
2. Is the disk plate used to "convert" the motor to a stepper?
No it is still a DC motor but the disk allows the computer to know where the motor is.

Quote
3. How can I drive this motor using Arduino?
Just switch the power with the Arduino. However it depends on what you want to do with it. Do you want to use that disc to determine it's position?
Title: Re: Driving motor with Arduino
Post by: MarkT on May 08, 2016, 12:48 pm
The disk is an optical encoder - there will be a photo-detector assembly mounted over it somewhere.
Title: Re: Driving motor with Arduino
Post by: TomGeorge on May 08, 2016, 01:18 pm
Hi,

(http://forum.arduino.cc/index.php?action=dlattach;topic=399221.0;attach=166229)
Just so everybody can see.

Tom... :)
Title: Re: Driving motor with Arduino
Post by: ymazar on May 08, 2016, 04:41 pm
I want to be able to use the motor as a step motor...

I assume that I will have to interact with the photo detector somehow. Does anybody know how to do this?

Thanks for your help.
Title: Re: Driving motor with Arduino
Post by: MarkT on May 08, 2016, 07:30 pm
You mean you want to use it as a servomotor, reading the encoder, using a PID loop to command a
motor driver.

You'll need to figure out how to power the existing board to get the encoder signals off it.  Look for
part numbers, look for datasheets for those parts.
Title: Re: Driving motor with Arduino
Post by: Grumpy_Mike on May 08, 2016, 10:10 pm
Quote
I want to be able to use the motor as a step motor...
As MarkT said, you can not use the motor as a stepping motor only as a servo motor. And that is not the sort of hobby servo motors you get where you can set a fixed angle. This is because there is no gearing between the motor and the position indicator and you do not have very fine control over the motor.

With a stepping motor it can be static with full holding torque and you can move it in increments. You can not do this with the motor you have.
Title: Re: Driving motor with Arduino
Post by: MarkT on May 09, 2016, 01:31 am
But a servo motor can emulate a stepper with a position feedback loop. And it won't miss-step.
Title: Re: Driving motor with Arduino
Post by: Grumpy_Mike on May 09, 2016, 04:13 am
But a servo motor can emulate a stepper with a position feedback loop. And it won't miss-step.
Not with that motor and feedback system you can't can you?
Title: Re: Driving motor with Arduino
Post by: gonnie08 on May 09, 2016, 09:57 am
i have make a ,X,Y,Z table ,with motors form old cd/dvd players
and use  this sort easy stepper drivers  3 x,each for  a motor
http://www.ebay.com/itm/Sale-Stepper-Motor-Easy-Driver-step-motor-Driver-Board-based-on-A3967-Arduino-/281424224827?hash=item418630e23b:g:WUsAAOSwrklVBk4m (http://www.ebay.com/itm/Sale-Stepper-Motor-Easy-Driver-step-motor-Driver-Board-based-on-A3967-Arduino-/281424224827?hash=item418630e23b:g:WUsAAOSwrklVBk4m)
working perfect  for smal pictures making
Title: Re: Driving motor with Arduino
Post by: Grumpy_Mike on May 09, 2016, 03:11 pm
Great but the only snag is that the OP has not got a stepping motor, he has got a normal DC brush motor and those can't be driven with a stepping motor driver.