To be clear, I will NOT have the circuit powered when I'm programming. The PCB must be removed from the main board in order to be programmed (I use the same connector for operation and for...
Hello,
I've been working on a 18F46K80 and am at a point where I want to disable the EUSART receiver. I tried RCSTA1.7 = 0 and I get a compile error. I also tried RCSTA.7 = 0 and RCSTA = 0 with...
I hope you do not have many MPLABX version installed. Normaly they shouls co-exist but could also mess up things. Better be safe and uninstall all other version except 5.35 that works with the latest...
i like to connect some critical or dangerous hardware to one of those pins, like the enable pin for the high power laser or the step input for the Z axis.
that way you really know when reprograming...
I connect the ICSP port on the PCB to the ICSP pins of the controller directly. The Pins in turn go to the rest of your circuitry via resistors so that you do not need programming jumpers to perform...
Published on - 2nd July 2010 16:12
Number of Views: 7935
I have been thinking for a while, how to put togeter a simple microstepper controller without using a ready made commercial driver.
At the end, I came up with this simple project capable to drive unipolar stepper motor in three different modes
FULL STEP
HALF STEP
MICRO STEP
The Pic micro used in this work is a Pic 16F628 a powerfull small micro with PWM capability. With this MCU plus a 74HC04 and a74HC86 the controller will produce 20 microsteps out of a nominal motor step.
An additional improvement of this controller, is the capability to accept travel commands of 24 Bits, wich gives to the user the possibility to send positioning profile of over 16 millions steps.
Controller accept commands via TTL serial port @ 9600,n,8,1 and return an (Ack) once the positioning profile has been completed.
Download the zipped MicroStepper.zip file which contains schematic + software + user manual
Also attached is a simple stepper controller example called Stepper_MK2.zip
Re: Reusing PGC & PGD pins
Pics or it didn't happen.
Demon Today, 04:18:wink: