Threaded View
-
25-04-2014 #11
It's quite amazing what can be done with logic chips, however I'm like you Ian, I'd be using software and I'm eager to see what Irving comes up with.
Most of the early Gecko drives relied alot of pretty basic Logic chips, yet Marriss managed to do some pretty cool things with them.
Assuming Dean doesn't require to move the exact number of steps/pulses, then you wouldn't have to be that accurate about timing, and could miss some pulses.
For example, as soon as a pulse is input, output x pulses at a slow rate, then if another input arrives before the x pulses are generated, reset the counter to x and increase the output frequency and so on. That way you're never really behind the curve in terms of number of output pulses, and you don't have to handle buffering/predicting what's going to happen. Off course slowing down is pretty easy, however you may want to implement some kind of deceleration so you're not slamming to a stop as soon as you stop spinning the MPG from high speed.
And from there, you could also add a logarithmic style input, in that the quicker you spin the MPG, the higher the step multiplier is i.e. slow turn could be single step, gradually increasing to 50x at high speed. That way you can still maintain accurate slow speed, yet still move at high speed.
I could probably throw some code together, however I don't have any MPG to try it, and I've also currently not got any spare Arduinos kicking around! (I keep meaning to order some, as I've got a couple more prototypes to build, but that's currently on the roundtuit list!)Avoiding the rubbish customer service from AluminiumWarehouse since July '13.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Mach Turn
By Kai in forum CAD & CAM SoftwareReplies: 5Last Post: 02-08-2016, 02:40 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 -
clunks / missing steps - DM856 and single pulse operation
By dsc in forum Motor Drivers & ControllersReplies: 37Last Post: 09-12-2013, 02:22 PM -
Pulse rate or dip switch settings
By Jopo in forum Stepper & Servo MotorsReplies: 0Last Post: 29-04-2013, 08:08 AM -
LED not turn on
By Awel in forum Motor Drivers & ControllersReplies: 1Last Post: 06-12-2011, 06:59 AM
Bookmarks