Hybrid View
-
14-10-2013 #1
Exactly so and I think that may be a partial cause of the problem. In source mode those pins will only drive the Opto at about 7mA, it really needs 12 or more, and they will be susceptible to ground noise. In sink mode they can easily manage 15mA. I'm guessing you're driving the DIR line the same way and driving it high, which would also explain the occasional reversal.
As a first step, excuse the pun, I'd change this to use an active low approach.
-
14-10-2013 #2
Yes at the moment I'm driving the whole lot like this ie. source rather than sink. I have the same problem for a PWM signal to another driver for a bigger Nema 34 motor. I will change all connections today, change the logic to be low active and do a test with the PUL signal alone.
Thanks again irving2008!
Regards,
Tom
-
14-10-2013 #3
Ok I've changed it as per the manual, all outputs sink'ed, so PUL+ connected to 5VDC and PUL- connected to the output pin of the PIC16F887. Unfortunately it still isn't working, here's a video which shows it better than I can describe using words:
[best to watch in HD and full screen mode. The clicks are tactile switches used to drive the motor]
I've tried using both PUL and DIR as well as PUL alone. I've tried making the pulse wider and using a bigger delay between the DIR and PUL. No change :( I also tried using a scope to check the state of the signal but to my surprise it makes the circuit stop working, I guess the 0VDC connection from the scope grounds the PIC output pin when trying to measure and there's no change on the output then. Not sure how to check what the pulse is like on the PUL+ / PUL- terminals.
Regards,
T.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
My turn for help with Pulse multiplier for test rig.
By JAZZCNC in forum Electronic Project BuildingReplies: 75Last Post: 20-06-2014, 06:09 PM -
MPG or Hand Wheel Pulse Encoder where to buy in UK?
By suesi34e in forum Marketplace DiscussionReplies: 5Last Post: 02-01-2014, 04:41 PM -
Pulse rate or dip switch settings
By Jopo in forum Stepper & Servo MotorsReplies: 0Last Post: 29-04-2013, 08:08 AM -
Strange problem, possibly missing steps?
By Philly in forum Chinese MachinesReplies: 5Last Post: 26-10-2012, 06:36 PM -
Missing Steps + Stalling X-axis
By danielbriggs in forum Linear & Rotary MotionReplies: 5Last Post: 02-09-2010, 02:59 PM
Bookmarks