On 12 May 2014 18:27, a k <pccncmach...@gmail.com> wrote: > hi > idea is to use 0 +5v to control/change feed in emc2 > 0v = 0 feed > 5v = 100% feed
In that case you need to find a way to get 0-5V into LinuxCNC, then connect that to the motion.adaptive-feed pin (and issue the M52 command to turn adaptive feed on). Getting the 0-5V input in is the hardest part. You don't have any analogue inputs, only encoder (or GPIO) inputs. Does it have to be an analogue voltage input? It would be a lot easier to wire up a small encoder as the feed control. If you do need analogue, then you need a voltage-to-frequency circuit to feed an encode input, then you can use that encoder velocity as a proxy for the voltage. There are special ICs for this, or you could cobble something up with a 555 timer. http://www.circuitstoday.com/f-to-v-converter Or, possibly, a small electric motor spinning a ball-mouse encoder :-) -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users