This is a multi-part message in MIME format. ------=_NextPart_000_010D_01C070C9.E02607A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit > Do tell how :-) The FETs (T0250 cases) and 74LS06 (SMT) come off the HDD PCB. These are older drives, circa 1987-93, about 1GB or less, newer drives may have driver chips instead of FETs. The FETs run cool, motor gets hot, not excessively so but for extended running it may be wise to put it on a chassis or heatsink. It has to be accelerated to its final speed (which you can hear on any drive when it boots up after a power-down). s/w does the most important job, which is correct timing and phasing of the FET drive. Follow each bit as it comes out of PortB to see how the drive waveforms are reached and derive the bit pattern for clock-wise rotation. Below is the pattern for CCW ------------------------------------------------------------------------ ;hddmotor.asm - driver for 3-coil HDD motor ; Jinx 13/12/00 ;PIC gets external clock from 4001 on a3 and changes FET-driving ;bit pattern. Internal clocking could use loops or timer IRQs clock equ porta.3 ;i/p clock ee1 dbee 24h ;xx 100 100 bits to go out of b0 to b5, step 1 ee2 dbee 36h ;xx 110 110 step 2 ee3 dbee 12h ;xx 010 010 etc ee4 dbee 1bh ;xx 011 011 ee5 dbee 09h ;xx 001 001 ee6 dbee 2dh ;xx 101 101 index rb ;RAM byte for counter entry movlw 08h ;...o iooo tris porta movlw 00h ;oooo oooo tris portb movlw 80h option clrf index movlw 24h movwf portb clocklo btfss clock ;wait for ext clock to go high goto clocklo change movf index,w ;get next bit pattern from EE movwf eeadr call readee movwf portb incf index,f movlw 06 ;loop for 6 EE locations xorwf index,w btfss zero goto clockhi clrf index clockhi btfsc clock ;wait for clock low goto clockhi goto clocklo ;repeat output sequence readee bsf rp0 bsf rd bcf rp0 movf eedata,w return ------=_NextPart_000_010D_01C070C9.E02607A0 Content-Type: image/gif; name="hdddriver.gif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="hdddriver.gif" R0lGODlhYALEAYAAAAAAAP///ywAAAAAYALEAQAC/oyPqcvtD6OctNqLs968+w+G4kiW5omm6sq2 7gvH8kzX9o3n+s73/g8MCofEovGITCqXzKbzCY1Kp0QAA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P6UWotPt97+9Xf7+tagqtrtDwEDHxyY/RS/AKa4rLETJtC/BPUnGTs9OTCa9R dLRNzVITUIvyk7XV9bUmNG9tge2yUbaUFpa31/f3bNBUc9c0i/j2VBeYudnZd5bY8ZG0EjN5evDt mbvb+xs8XHycvNz8HD1dfZ293f0dPl5+/p6+3v4eP19/n7/f/x9gPi0DCRY0GBBhwnEGGTZUpRAi DocTKVa0GKnetogbwVz0+BGkPY0cC41kZzIISnUqScZhie5lj5jmZrYcU5Mczhw6xfG02cQnuKCx RP5UNNQb0hlKuTE1aqfoEqfOpj4VUpUZ1hZaf3G1KjOqEq+9xn7VURYW2hNqXbE1SzQjqLBv5bhl ZXcEXk966b7gy+nvB5CDCRc2fHhg3zmBj4JC/BhyZMmK60q2fBkzRcqbz2X2/PkzZ9GjSZc2fRp1 atWrWbd2/Rp2bNmzade2fRt37k+gMwvkfVl3ut/A8Q23HBxmEsaAlSPv3Lw4dOc5pc+F/jqdOpLl m7Zj6I5davW42sEvFE/vu4X05Y+sp+C+5Hn2z+BLqE/nPoT883/sXxSdPP6Skk8e/9wQcMAA7zGQ AQYRlEg54ySc8KIIKbyQoQcjcJALDD38kBAjQBwRIw1NPBHFFFVckcUWXXwRxhhlnJHGGm28Eccc ddyRR21IrLDHOn78yLchLQpSSCOPBLA9JPEjMB4Oi3ESDimHsY4IK6lUD0p4tFxmy5u6fOfLasLs aEx3yizzTP3SbGfNNsuIk0kR5SSDzgXfvPO6Juvsk08n8sRyCM8CdWFNJRUlrr3eWFxUM+0gnRSx QzuiNENLNd2U0049/RTUUEUdldRSe009FdVUVW2txGmyiOShSa5clVYPsBllj/9q3VWEW/WopZY+ hMUlm2J5PRaZKB6J1RZK0LiG2FuR3bVVXIEtBtpMIFmWzWnZ2+ZXWYfJNpUGvUUW3CmlCSRbYpUx 89xT01WWGj60dddYauLdl99+/f0X4IAFHpjggg0pAAA7 ------=_NextPart_000_010D_01C070C9.E02607A0-- -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu