![]() |
![]() |
![]() |
|
|
|||||||
| Robotics Chat Specific to discussions about robots and the making of. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Hi every one, has anyone tried to drive a stepper motor from a old 5.25" floppy disk drive? The reason why I chose this was because it has a stepper motor already wired up to the driver IC, which is LB1656M. Trouble is the data sheet for the IC from Sanyo hasn't got enough information. All I got is the timing diagram. I can only make the IC to drive the motor continuously or not rotating at all. I can't stop the motor once it's in motion, and I can't make it move to the number of steps I want. Has anyone tried this IC before? Please help.
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
Can you post a diagram showing how you have connected and how you are driving the LB?
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ |
||
|
|
|
|
|
(permalink) |
|
Hi Eric,
Thanks for replying. Please refer to attached pdf file for diagram for LB1656m. The whole assembly is from an old 5.25" floppy disk drive. The motor, PCB with driver IC etc. I disconnected it's micro controller and connect a PIC16f84 in it. I connected RB1 (from PIC) to D1, RB2 to D2 and RB3 to PS. The rest of wiring was untouched. With reference to the timing chart, the programming code I wrote was: RB3 = 0; RB1 = 1; RB2 = 0; delayMs(2); //Delay 2 mS RB1 = 1; RB2 = 1; delayMS(2); RB1 = 0; RB2 = 1; delayMs(2); //Up to this point, I can hear the motor tries to spin and I //can feel the shaft is vibrating, but nothing happens. If I continue RB1 = 0; RB2 = 0; //Now the motor will continuously spinning. I can't stop it. The delay time has to be more than 1 mS otherwise motor just won't turn. Thanks for listening and please advise what I did wrong. |
|
|
|
|
|
|
(permalink) |
|
I would suggest throwing the controller chip away, and use four transistors to drive it - it's simple then to do what you want with it!.
Last edited by Nigel Goodwin; 17th September 2007 at 01:38 PM. |
|
|
|
|
|
|
(permalink) |
|
hi,
I have looked thru the datasheet, from the simple description of the PORT signals I can see that you appear to be sending 2millsec signals in quadrature. The data sheet says they should be 10KHz, but you say the motor will not run if you send faster than 2mSec. I would use a scope and make sure that the drive signals are in quadrature and are of the form you are expecting. Are you sure the old FDD is OK and not an earlier scrapped drive. There are so many better ways to drive the motor,eg: H Bridge with possibly PWM from your PIC.
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ |
|
|
|
|
|
|
(permalink) | |
|
Quote:
http://www.winpicprog.co.uk/pic_tuto...pper_board.htm |
||
|
|
|
|
|
(permalink) | |
|
Quote:
Thank you for the info, but I know, I have got 1 or 2 old drives lying around, but I dont have much use for them, I don't do robots, thats where I see most of the members are using the old motors..I think? I will look at your motor tutorial and perhaps write a driver, just for interest.
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ |
||
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
Looked at the motor circuit drawing, as you say its just 4 transistors, very basic, BUT it gets the job done! The program is straight forward, if I do knock up a program to suit, would you prefer the table/interrupt approach? ...... to keep it line with the rest of the tutorials.
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ |
||
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
|
|||
|
|
|
|
|
(permalink) | |
|
Quote:
Hi Nigel, Thanks for the suggestion. I've seen your motor driver circuit. It is very simple and effective. Thanks for the advice anyway. Regards, |
||
|
|
|
|
|
(permalink) |
|
Hi Eric,
thanks for the suggestion. I think I might forget this LB1656m and try Nigel's suggestion and a different controller, e.g L293D. This is a inexpensive IC and very easy to use. Regards, |
|
|
|
|
|
|
(permalink) |
|
Thanks Nigel for the circuit. It's very simple and effective. But with a known controller it should be just as easy. All the suppression diodes are there already, and quite often you only need about 3 control lines to drive the motor.
|
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Stepper Motor Driving Using PIC16F74 | t_anjan | Electronic Projects Design/Ideas/Reviews | 0 | 31st January 2006 06:13 PM |
| EQ Driven Stepper Motors | Q__Hybrid | Electronic Projects Design/Ideas/Reviews | 0 | 1st June 2005 02:00 AM |
| Stepper code for PIC | raitl | Micro Controllers | 6 | 15th February 2005 01:44 PM |
| Need Help Driving Stepper Motor using MC3479p Driver | Freak-A-Nature | Electronic Projects Design/Ideas/Reviews | 1 | 10th December 2004 01:44 AM |
| stepper motor | jim bro | Electronic Projects Design/Ideas/Reviews | 0 | 26th May 2003 08:54 PM |