From: Kirk W. <kwa...@wa...> - 2007-12-30 18:23:49
|
On Sun, 2007-12-30 at 10:11 -0600, John Thornton wrote: > Kirk (and anyone else), I found this article http://linuxgazette.net/118/chong.html > about a simple ADC to parallel port circuit. Do you think that this could be used > with EMC somehow? Maybe with a second parallel port for the ADC part. > > Thanks > John To get this to work with EMC would be very similar to what I am doing with my DAC project, except this ADC has eight channels and the data comes into EMC, rather than out. The challenge for the above ADC would be in creating a Hal component. If you are familiar with C, the comp tool makes this fairly easy. The EMC parport driver handles getting access to the printer ports, so you don't need to worry about that. The article publishes the C code so you would only need to massage it into component form. After I get my DAC working, I will probably build a single channel ADC, then maybe the above eight channel. -- Kirk Wallace (California, USA http://www.wallacecompany.com/machine_shop/ Hardinge HNC lathe, Bridgeport mill conversion, doing XY now, Zubal lathe conversion pending) |