Or you can use an USB joypad and do some voltage conversion to feed the 
0-5v signal to one of the axis analog input.
i did that on my machine using an external potentiometer in place of the 
on on the joypad, it work very well. And I'm pretty sure you can replace 
the potentiometer with your 0-5V signal using some resistor to limit 
current.



Le 12/05/2014 19:47, andy pugh a écrit :
> 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 :-)
>


------------------------------------------------------------------------------
"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

Reply via email to