![]() | ![]() | ![]() |
| | |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) | |
| Quote:
__________________ We never have time to do it right; but we always have time to do it over. | ||
| |
| | (permalink) |
| Just found a broken printer and took out the stepper from it. Not sure which pin is what tried the resistance thing but i get like: _Pins_ 1 & 2 = 3.0 Ohms 1 & 3 = 0 1 & 4 = 0 ----------- 2 & 3 = 0 2 & 4 = 0 ----------- 3 & 4 = 3.0 ohms Now what?
__________________ AtomSoftTech.com My YouTube Videos! My Favorite Stores: dipmicro Electronics SparkFun Electronics Futurlec BG Micro | |
| |
| | (permalink) | |
| Quote:
I dont think you mean 0 If you still have Oshonsoft sim set up, look at the stepper motor module. Regards Look here: http://micromouse.cannock.ac.uk/motors/L297.pdf
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 3rd June 2008 at 03:36 PM. | ||
| |
| | (permalink) |
| EM-2 Linker error: “could not find file ‘c018i.o’” Enter the proper directory path in Project>Build Options…>Project General tab. Set the Library Path box to “C:\mcc18\lib”. c018i.o is the start-up library for MPLAB C18. It sets up the stack, initializes variables, then jumps to main() in the application. | |
| |
| | (permalink) | |
| There is nothing wrong with my path setup i checked multiple times. Everything is setup ok just still get same error.My work around was to set it under: MENU | Projects -> Build Options -> Project... C18 tab Quote:
__________________ AtomSoftTech.com My YouTube Videos! My Favorite Stores: dipmicro Electronics SparkFun Electronics Futurlec BG Micro | ||
| |
| | (permalink) | |
| Yeah infinity i suppose i dont know how to make that sign tho lol ∞ Quote:
__________________ AtomSoftTech.com My YouTube Videos! My Favorite Stores: dipmicro Electronics SparkFun Electronics Futurlec BG Micro | ||
| |
| | (permalink) |
| ok i think i get it now but at what speed should i send a Pulse? or is it trial and error depending on what im trying to do with it?
__________________ AtomSoftTech.com My YouTube Videos! My Favorite Stores: dipmicro Electronics SparkFun Electronics Futurlec BG Micro Last edited by AtomSoft; 3rd June 2008 at 04:52 PM. | |
| |
| | (permalink) |
| Using PORT a 4:1 ok im trying this code and no luck but i feel it trying: Code: #include <p18f1320.h>
#include <delays.h>
#pragma config OSC = INTIO1, WDT = OFF, LVP = OFF, DEBUG = ON
void main (void){
TRISA = 0b00000000; //output
while(1){
PORTA = 0b00000010;
Delay10TCYx(1);
PORTA = 0b00000110;
Delay10TCYx(1);
PORTA = 0b00000100;
Delay10TCYx(1);
PORTA = 0b00001100;
Delay10TCYx(1);
PORTA = 0b00001000;
Delay10TCYx(1);
PORTA = 0b00011000;
Delay10TCYx(1);
PORTA = 0b00010000;
Delay10TCYx(1);
PORTA = 0b00010010;
Delay10TCYx(1);
}
}
__________________ AtomSoftTech.com My YouTube Videos! My Favorite Stores: dipmicro Electronics SparkFun Electronics Futurlec BG Micro Last edited by AtomSoft; 4th June 2008 at 12:03 AM. | |
| |
| | (permalink) |
| You could send a static 'start up' sequence to the motor to get it started spinning, then using a hall effect sensor or some other feedback to determine the motor spindle speed/phase you could dynamically adjust the speed of the motor until the desired RPM was reached. I'd like to see someone test one of these to destruction, because if you can drive the pulses fast enough and synchronize them the only limit to the speed of the motor is mechanical failure or the torque being insufficient to increase speed at some point.
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
| | (permalink) | |
| How woul di go about sending this startup sequence? speed isnt a factor yet if i cant get it to spin at all lol Quote:
__________________ AtomSoftTech.com My YouTube Videos! My Favorite Stores: dipmicro Electronics SparkFun Electronics Futurlec BG Micro | ||
| |
| | (permalink) | |
| Quote:
These links will give you an idea of whats required. Stepper Motor Experiments Art's Theremin Page: Bipolar Stepper Motor Control Circuit http://web-ee.com/images/stepper.gif Check the 'phasing' of the two windings, by using a 5V supply, energise each coil in turn and observe the direction of rotation of the motor. A start up sequence is not required, the rate of the pulses to the two coils will determine the motor speed.
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 4th June 2008 at 08:45 AM. | ||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| hard drive stepper motor driver | steev | General Electronics Chat | 11 | 10th August 2008 02:42 PM |
| Help with Motor Driver | Souper man | Electronic Projects Design/Ideas/Reviews | 11 | 13th May 2007 08:23 PM |
| Motor Driver | MrMikey83 | General Electronics Chat | 7 | 12th May 2005 09:11 AM |
| hard disk motor cricuits | ranaga | General Electronics Chat | 1 | 6th December 2003 07:55 AM |
| hard disk motor cricuits | ranaga | Robotics Chat | 1 | 26th November 2003 11:06 AM |