I don't really use serin so I can't be of much help, but just to educate me: isn't the contents inside the square brackets a qualifier or filter - like the WAIT modifier in serin2?
Thanks for the reply. Yes, ProgIDRx is cleared. And its value is $A (or10). But, I haven't been able to receive it yet because nothing is being received. SERIN always exits upon the 5...
two thoughts looking at your code.........
...ProgIDRx = $A............ did you CLEAR ProgIDRx after reception and might need to be ....$"A" not sure but
I have a very simple task to perform. I need to pass a couple of bytes from one PIC12F683 to another PIC12F683 and can't get it to work! I've tried everything that I could think of and...
Published on - 2nd July 2010 16:12
Number of Views: 7387
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: Serin Not Recognizing Qualifier From Another PIC
I don't really use serin so I can't be of much help, but just to educate me: isn't the contents inside the square brackets a qualifier or filter - like the WAIT modifier in serin2?
rocket_troy Today, 03:24Troy