this can not work as you set the qualifier to 0x0d as per my example , ProgIDRx will always be 0x0d
untill you change it , serin will never change it
...
Yes, I'm aware you declare it, but you don't assign anything to it. It's there as a newly declared variable with the contents of null. So, I'm guessing serin is waiting for a null character to arrive...
This is a photo of the packet (8N1) generated by my PIC transmitter and that for some reason is not being received by my PIC receiver port GPIO.5. It's a two byte transmission $A and $61. Its in...
Published on - 2nd July 2010 16:12
Number of Views: 7417
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: Supplier delivery speed
Have yet to beat that speed!
Ioannis Today, 16:54Ioannis