Professional Documents
Culture Documents
Hard Driver Motor - Electronics Forum (Circuits, Projects and Microcontrollers)
Hard Driver Motor - Electronics Forum (Circuits, Projects and Microcontrollers)
Hard Driver Motor - Electronics Forum (Circuits, Projects and Microcontrollers)
Log in or Sign up
Forums
Electronics Forums
Next >
#1
I recently found some old and newer hard drives too damaged
to be repaired for normal PC use now i took one apart for parts
such as the motor inside. I know nothing on motor like this. I
know about normal motors like with magnets and stuff and how
it works but beyaond normal 2 wire stuff i got no clue.
AtomSoft
Well-Known Member
Joined:
Messages:
Likes:
Feb 7, 2008
5,649
34
Ill take some pictures but for now let me explain in words. The
motor has a 4 wire interface which i soldered 4 wires to a pin
header for testing. How do i apply power to it? I tried normal
but i think this is like some PWM type thing because i cant
apply constant power it stops. But when i put power and then
off/on it........... it works.
Location: Brooklyn, NY US
1/13
01/01/2015
#2
arhi
New Member
Joined:
Messages:
Likes:
885
12
Code (text):
sequence to drive it:
Winding 1 1001001001001001001001001
Winding 2 0100100100100100100100100
Winding 3 0010010010010010010010010
time --->
most common stepper motors around are unipolar but for some
reason I prefer bipolar.
most of the HDD's are multiphase motors (5phase) but they
are with 5 leads. The one I have (use) is 4 lead just like the
one on the pic and it is Variable Reluctance.
Pay attention, when you test the motor,
- if you start the sequence to slow it will jiggle and not rotate
- if you start the sequence to fast if will oscillate and will not
turn
- this motors have very low torque
so in order to achieve rotation (4000 - 7000 rpm) you need to
start slow and then increase speed ..
I hope this helped
MySQL Blog (Serbian)
Elco Blog (Serbian)
Used cars for sale
Use forum to ask questions, do not use PP
http://www.electro-tech-online.com/threads/hard-driver-motor.39670/
2/13
01/01/2015
#3
hi,
In addition to 'arhi's good explanation.
If you follow the copper track on the driver pcb, from the 4 pin
connector, you should find the motor drive ic.
If you are lucky it will have the ic type name on its case.
ericgibbs
Well-Known Member
Jan 4, 2007
Messages:
19,951
Likes:
Location:
541
England.
Eric " Good enough is Perfect ", good enough means it meets
the Clients specification.!
Please do NOT PM me with technical questions, use the
Forums
#3.1415
Dave
May 28,
New
2008
Member
#4
Likes:
wow there alot of info there a bit scary... makes me just one
to buy one instead lol...
Pins
1 & 4 = 1.3 Ohms
2 & 4 = 2.0 Ohms
3 & 4 = 2.0 Ohms
AtomSoft
Well-Known Member
Joined:
Messages:
Likes:
Feb 7, 2008
5,649
34
Location: Brooklyn, NY US
How does this help? Havent really read all on that page yet
My Site - My Store - AtomSoftTech: C18 TIPS & TRICKS v9
PDF
Jason Lopez
#5
St L6278 1.2
http://www.electro-tech-online.com/threads/hard-driver-motor.39670/
3/13
01/01/2015
B994x0136
Malaysia
AtomSoft
Well-Known Member
Joined:
Feb 7, 2008
Messages:
5,649
Likes:
34
Location: Brooklyn, NY US
#6
Papabravo
New Member
Joined:
Mar 9, 2006
Messages:
2,889
Likes:
25
#7
AtomSoft said:
wow there alot of info there a bit scary... makes me
just one to buy one instead lol...
arhi
New Member
Joined:
Messages:
Likes:
885
12
Pins
1 & 4 = 1.3 Ohms
2 & 4 = 2.0 Ohms
3 & 4 = 2.0 Ohms
1 & 3 = 1.1 Ohms
2 & 3 = 2.0 Ohms
1 & 2 = 1.2 Ohms
http://www.electro-tech-online.com/threads/hard-driver-motor.39670/
4/13
01/01/2015
and drive:
Code (text):
// config ...
//...
main(){
unsigned short delay, a;
TRISC = 0; //output
delay = 250;
a = 0;
while(1){
PORTC = 0b00000110;
delay_us(delay);
PORTC = 0b00000101;
delay_us(delay);
PORTC = 0b00000011;
delay_us(delay);
if (++a == 0) if (delay>0) delay--;
}
}
as you see, the motor will "increase speed" every 256 cycles.
now, it might happen that still motor "bounces" around, e.g.
run back/forth. this mean that you need to get the right
"order" of the wind1-3 (not too many combinations, so you can
try all 4)
you can also try to connect "common" pin to GND and source
power from pic, but I'm not sure if pic can give enough current
to drive it.
as for the motor driver, I managed to salvage bunch of HDD's
and I never managed to find any datasheet on the driver from
http://www.electro-tech-online.com/threads/hard-driver-motor.39670/
5/13
01/01/2015
#8
Papabravo
New Member
Joined:
Mar 9, 2006
Messages:
2,889
Likes:
25
#9
Papabravo said:
Is it your position that a stepper could actually be
used for rotating the spindle of a hard drive? You
should know that I did spend a few years in the HDD
indusry once upon a time.
Nigel Goodwin
Super Moderator
Most Helpful Member
Joined:
Messages:
Likes:
Location: Derbyshire, UK
http://www.electro-tech-online.com/threads/hard-driver-motor.39670/
6/13
01/01/2015
#10
Papabravo
New Member
Joined:
Mar 9, 2006
Messages:
2,889
Likes:
I know you know that and I know I know that, but the
question is do the other posters know that?
25
#11
For some reason i get this error.. the thing is that the file is
there im using ver 8 of MPLAB
Code (text):
AtomSoft
Well-Known Member
Joined:
Feb 7, 2008
Messages:
5,649
Likes:
34
Location: Brooklyn, NY US
#12
Papabravo
New Member
http://www.electro-tech-online.com/threads/hard-driver-motor.39670/
7/13
01/01/2015
Joined:
Mar 9, 2006
Messages:
2,889
Likes:
25
#13
Papabravo said:
I know you know that and I know I know that, but
the question is do the other posters know that?
Leftyretro
New Member
Joined:
Messages:
1,420
Likes:
13
#14
AtomSoft
Well-Known Member
Joined:
Messages:
Likes:
Feb 7, 2008
5,649
34
Location: Brooklyn, NY US
http://www.electro-tech-online.com/threads/hard-driver-motor.39670/
8/13
01/01/2015
#include <p18f1320.h>
#include <delays.h>
#pragma config OSC = INTIO1, WDT = OFF, LVP = OFF, DEBUG = ON
#15
arhi
New Member
Joined:
Messages:
Likes:
885
12
9/13
01/01/2015
#16
Imade the below code from the above code. It jitters a little
and i tried many ways of switching the pins but do you think i
need a diff delay time?
Code (text):
AtomSoft
Well-Known Member
Joined:
Messages:
Likes:
Feb 7, 2008
5,649
34
LIST
p=18F1320
;tell assembler what chip we are using
include <p18F1320.inc>
;include the defaults for the chip
CONFIG OSC = INTIO2, WDT = OFF, LVP = OFF, DEBUG = ON
;sets
cblock 0x00
d1
endc
Location: Brooklyn, NY US
org 0x00
Init
MOVLW
MOVWF
CLRF
Start
;1
MOVLW
MOVWF
CALL
;2
MOVLW
MOVWF
CALL
;3
MOVLW
MOVWF
CALL
0x62
OSCCON
TRISA
b'00001010'
PORTA
DelayStart
b'00001100'
PORTA
DelayStart
b'00000110'
PORTA
DelayStart
BRA
Start
DelayStart
movlw 0xff
movwf d1
Delay_0
DECFSZ d1
goto
Delay_0
Last edited: May 29, 2008
return
My Site - My Store - AtomSoftTech: C18 TIPS & TRICKS v9
PDFEND
Jason Lopez
#17
hi atom,
If you want to easily try different delays you can connect a
10K pot from +5V to 0V, wiper to a ADC inp on the PIC.
ericgibbs
Read the pot/ADC and load the delay register with ADC value.
http://www.electro-tech-online.com/threads/hard-driver-motor.39670/
10/13
01/01/2015
Well-Known Member
Most Helpful Member
Joined:
Jan 4, 2007
Messages:
Likes:
19,951
541
Location:
England.
To get realistic delays, multiply the ADC value by say 100 and
then add 50 before you load the delay register. Vary the pot in
order to change the delay.
IIRC the motor has 4 wires, how are you connecting the 3
phases.???
This jpg is the output from your program on Oshonsoft.
Last edited: Jul 7, 2008
Eric " Good enough is Perfect ", good enough means it meets
the Clients specification.!
Please do NOT PM me with technical questions, use the
Forums
#18
atom, if that motor is similar to the one i'm doing tests with .. i
noticed following, when delay is too low it will produce
"squealing sound" but will not turn, if you then spin it with your
finger it will "hold on" and start spinning on it's own ... if delay
is too high it will uncontrollably spin back/forth ..
arhi
New Member
Joined:
Messages:
Likes:
885
12
#19
11/13
01/01/2015
Papabravo
New Member
Forum
s
Joined:
ArticleMar
s 9, 2006
Blogs
R eMessages:
ce nt Posts
2,889
Likes:
25
#20
Papabravo said:
Leftyretro
New Member
Joined:
Messages:
1,420
Likes:
13
Click to expand...
Next >
http://www.electro-tech-online.com/threads/hard-driver-motor.39670/
12/13
01/01/2015
Forums
Electronics Forums
Full Width
Contact Us Help
Privacy Policy. C opyright 2015 WTWH Media, LLC . All Rights Reserved.
http://www.electro-tech-online.com/threads/hard-driver-motor.39670/
13/13