Search Engine

73 Threads found on Stepper Motor Pic
Hi all, Recently I am learning on how to control a stepper motor. The circuit working condition is as below: pic 16F628a --> ULN 2003 --> 28BYJ-48 stepper My code is as below: void main() { CMCON = 0x07; // To turn off comparators TRISB = 0; // PORT B as output port PORTB = 0x0F; do { PORTB (...)
Hi, Assume you have a stepper motor located at the center of a squarred room. Assume you have 4 nodes located at the 4 corners of The squarred room. Using pic Basic Simulator IDE 18, with a pic18f4520 controller, how to control the stepper motor (via StepCw & StepCcw) to make the (...)
Hi all, I'm trying to interface my pic with a stepper motor (step angle=0.1125(half step) <--that's how thy write it on the datasheet; rpm ranging form 20rpm to 150rpm). But, my problem is that I cant seems to control the speed of the motor. i've tried using both full step and half step, in the case of half step, the (...)
Yes but you need a stepper motor driver/controller. Refer the following link for such
1) i am trying to connect my stepper motor to pic but i dont know the polarity of that.its 6 wires above 3 wires-black ,red ,brown below 3 wires-orange red yellow., does this means anything .. the vendor is NMB from thailand. its model no-PM42S -048-ZTH8 hi, basically the stepper motor (...)
Hello! You have to use if motor_status == 0 then stop_motor() No! This is a stepper motor. It does not run permanently and you don't have to stop it. However, about the program: 1. The function run motor() will do 4 steps at once. This is a waste: you buy a 400 steps per rotation (...)
DC motor RPM is high. How will you get exactly 360 deg rotation? How will you know when to stop the motor? You can have angle control with stepper motor.
I've written a code in MPlab, the compiler im making use is C18 and i want it to do as follows.. Once we started the process, TIMER in pic 18F4550 and also Ultrasonic sensor(HC-SR04) must be triggered. If obstacle is detected by the sensor,the present value of the timer have to be taken for calculating distance between obstacle and the model by fo
Hello, I was thinking about driving my old CDROM/HDD Brushles motor which is having 4 connections... ? does it works the same way as stepper motor programming? with very fast switching ? or something else programming required ? Please guide me....
Dear friend, Im new in microelectronics and need some help or recommendation to design stepper motoro pulse controller. In attachment can see some graphics design which type pulses I need. In pic. Version_1.png its like Pentagon stepper motor (unipolar) Drivers Designs. obr
Hi, Im also connected the 4-wire bipolar motor with L293D driver. I tied all the 4inputs to the ground, and its corresponding output are all shown as Low. While im interfacing the motor with the IC, it got burnt. I dont know why it is happening. Two Ics were burnt. Please clarify me to solve the issue, and please help me to run the bipolar st
Actually, the pic maybe resetting itself due to internal reasons. Have you ensured the watchdog timer is disabled? It is enabled by default. What are you current Configuration Register settings? If you are attempting to drive the stepper motor with the same power supply as the pic circuit, it could certainly be (...)
You can use ULN2803 as interface or use stepper motor driver.
Hi all, i meet a problem to control the driver L9935 to control a stepper motor, can you help me please ? Describe of the problem: On my board there is a pic18F4550. I use the Microchip USB framework to make communication PC-pic18. I send a request from the PC to the pic for pilot the (...)
I'm working on a stepper motor driver, most of the control will be handled by a pic most likely a 16f887. I want to simplify control of the H-bridge switches to use fewer pins and make programming easier for the pic so I came up with the circuit below. The H-bridge needs only a few signals, direction, decay mode(fast / (...)
my code ************************************************************************************ stepper.c #include __CONFIG( HS & UNPROTECT & BORDIS & PWRTDIS & WDTDIS ); // Main function void main(void) { TRISB=0; PORTB=0; /* INTCON = 0x0; // Disable inerupt CMCON = 0x07; // Comparators Off ADCON1
Hello Dear All, I have a unipolar 5V stepper motor and I want to drive it with a 16f877a. I have connected 2 pieces of tc4427 mosfet drivers and 4 pieces of IRF2807 to the pic and, as I see they are working properly. I supply 50V to the motor and I am trying to use microstepping techniques. Because the (...)
I want to control a stepper motor through pic. stepper motor is in bipolar mode. What should be the minimum pulse width(ON time and OFF time or frequency and dutycycle) needed for control..I couldn't find any details regarding this on the stepper motor datasheet. Thanks (...)
Check this stepper motor interfacing with Microcontrollers tutorial: Connecting stepper motor : 8051 Microcontroller Projects AVR pic Projects Tutorials Ebooks Libraries codes Alex