2 Attachment(s)
Am I reading this assembler correctly?
Hi All,
I am still struggling with my stepper motor driving itīs PBL3717's.
I have a program from another guy written in assembler which works great, it rotates very slowly and also smoothly. I copied the sequence and my version seems to always be rough and bumpy movements (using the same PCB controller)
The letters I0 & I1 are the current settings for A and B coils respectively.
They are set as follows:
I0 high I1 high = No current
I0 Low I1 high = Low current
I0 High I1 Low = Medium Current
I0 Low I1 Low = High Current (full power 400mA)
I have attached the assembler version and my PBP version, If anyone is good with assembler could you please check it for me.
Best Regards
Chris
Assembler has a small header routine
I revised the assembler and found that it has an additional routine above.
My spanish is not great but can you figure out how it modifies the stepping?
Regards
Chris
2 Attachment(s)
I cannot seem to read the assembler correctly
You have for a long time been an inspiration to me on how you can interctively work with assembler and PBP. Your Instant interrupts are a great result of that.
Thanks for checking out the code I posted, I changed the I0B's of my code but the motor continued with a jerky movement when running slowly. The project is a X-Y yoke for a CCTV camera using 2 bi-polar stepper motors. The person who designed the original camera has long since dissapeard and I need to add some new features. My problem is that assembler is worse than trying to read Chinese for me.
His version rotates slowly as smooth a silk but when I program that same PIC with my version in PBP it looks like a tractor idling. I read the datasheet of the PBL3717 and I think I have written it correctly. (I cannot change to another chip as the PCB and components have been purchased)
He definately wrote all movements to run in quarter step mode.I have attached his full code (The slave code is the second pic which just checks a parrallel bus to see what movements it must make) and my modified code that I tried on friday.
Best Regards
Christopher Rhomberg