Search Engine

Pic For Stepper

Add Question

45 Threads found on Pic For Stepper
The whole stepper code has to be implemented in Timer ISR or you can set a flag in Timer ISR and then check if this flag is true in while(1) loop and if true, update the stepper using a counter and switch statement. - - - Updated - - - To Provide you an example code you have to mention what pic and what freq
can we control stepper by using tb6600 by using the below flow code? the tb6600 board i am using have EN ;CLK ;DIR pins and M1 M2 M3 and TQ for (i=0; i<=10; i++) { EN =1; CLK =1; DIR =1 CLK =0; EN =0; EN =1; CLK =1; DIR =0; CLK =0; EN =0; }
With simple input, the direction, the speed and the number of steps etc can be setup by user and stepper motor will run that way. As off now , I program pic with MPLAB +CCS C Compiler . Thank you.
You shouldn't disregard the pic datasheet any longer. It's describing the purpose of each USB related pin rather detailed. As a first step, you should become clear about intended device operation, USB-powered or self-powered. VBUS pin will be needed for attachment detection in a self-powered application.
for forward and reverse stepper control, should i go for a dedicated chip like 6600 or can i manage with a pic micro, i want to use in cnc using mach3
Hi...i'm new with pic16f877a.i need to design the code by using MPLAB IDE schematic will put 2 push button switch.first switch if we press dc motor will run anticlockwise about 360 deg or depend on delay..then when we press switch 2 it will run anticlockwise about 720 deg or87610 depend on delay.i'm beginner in this
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
Hii thank you for reply. Can anybody knows how to interface ST 3659 RC 5 decoder to pic 16F887 and HT 12E encoder interfaces to pic 12F629 based IR transmitter ??? Can aybody replied asap much appriciated ???
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 (...)
Hi all! What would be the best pic for interfacing with the PC? Is there any difference when choosing one or it's the same? Also, how can I use a GUI for the interfacing? Can I interface for example multiple stepper motors at the output, all along with a GUI that let's me choose options and info? What (...)
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 / (...)
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 in advance... Hi, The duty (...)
Hi, If you use the uln2003 as the driver then the pic has to create and control all the pulses, whereas the L297 does that for you. As Ckshivaram says the size of the motor affects what output chip you have to use. The Unl2003 is capable of 500ma per output pin. The L297 is designed to be used with the L298 driver chip which can take about
hey insight i think that u r making a gravity free room (1). make pwm for ur solenoid __mosfets better. easily implimented by small pic mcu with switcher (2).focous of force is by ur solenoid pole ::to the plate it likes to kiss (3).make some stepper motors adjustment for angle something __________once a (...)
sir iwant c sourse code for driving 48 step bipolar stepper motor using pic & L298 with out using L297
Hai Fragrance i want a new project that is programmable DC power supply using pic. Can u help me. If u have any links including the schematic and program with code please sent me.:D
sir i want c sourse code and circuit diagram for bipolar stepper moter using pic 16f84 or 16f72 and using L298 for drive i have 48 steps moter thanks chanakya
Hi silencer80, First of all, you cannot use ULN2003 for a BIPOLAR stepper motor since it can only sink current and can't source current. You may use L293D instead and it is rated for 600mA continuous. 'do I need pull up resistor at the input of the pic' -please make the question little more clear. Pullup at which pin?
i am new in pic microcontroller. we are using pic16f628a. how can we drive the unipolar stepper motor using the pwm of the pic16? do anyone have a simple program using c for it? we are running out of time...tnx
i need to use ucn5804b ic to control my unipolar six wire stepper motor. but i still confuse how to use the pic to control the ucn5804b. anyone can give me some simple code for high-tech C language for pic to control the ic?? for the protection diode is it necessarily for use?