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
1 & 3 = 1.1 Ohms
2 & 3 = 2.0 Ohms
1 & 2 = 1.2 Ohms
How does this help? Havent really read all on that page yet
read the page
pin1 is the common lead, as pi1 to pin(2|3|4) is ~1R and between pins 2,3,4 you have 2R so if you look at the schematic, the "winding" resistance is 1R
You drive the motor pretty easy .. connect it like this
+5V - 100R - pin1 //I drive it without resistor but it should be smart to limit the current
RC0 - pin2
RC1 - pin3
RC2 - pin4
and drive:
Code:
// 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 the HDD board
(some of them had no markings, some are strange NEC chips .. anyhow google was silent)
as for the "brushless dc" vs "stepper" .. try to rotate the motor with your hand, if you feel the "steps" that's a stepper