Just a small word of warning here. I did the analog input thing with the 
Arduino. There is code on the wiki that already works well. BUT!!!! the 
usb route is not reliable for critical applications. Due to the fact 
that the usb is not hot pluggable, it will disappear from the devices 
list with any small hiccup or loss of connection. This happens 
frequently where inductive machines/loads are present. Normally the 
connection will be restored automatically but with linuxcnc it is gone 
once dropped. You have to restart the controller.

I am busy with a IO expander for the parport and instead of using the 
usb like before, I am using three pins and writing a i2c interface to 
communicate with the devices.

Kirk Wallace has done a circuit and driver code for an AToD and DAC 
board. These are also on the wiki but if you cannot find it let me know 
and I will hunt the link down again.


On 2014-05-13 10:31, a k wrote:
> hi
> with  Arduino Nano i can use USB to access EMC2 and control feed?
> is this right?
> thanks
> aram
>
>
> On Mon, May 12, 2014 at 3:12 PM, andy pugh <[email protected]> wrote:
>
>> On 12 May 2014 21:46, a k <[email protected]> wrote:
>>
>>> Can i use USB to go directly into EMC2 architect and control feed
>>> or i need use some axis analog input?
>> I have just realised that an Arduino Nano is about $6. Those have 4
>> analogue 0-5V inputs, and there is a HAL module to interface with them
>> via USB.
>> (Or, alternatively, you could make one output pulses for an encoder
>> counter if you really needed proper realtime response).
>>
>> http://emergent.unpythonic.net/01198594294
>>
>> --
>> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
> ------------------------------------------------------------------------------
> "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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


------------------------------------------------------------------------------
"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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to