On 12/20/2012 1:56 PM, [email protected] wrote: > Just by chance has anyone already written the code for linuxcnc to handle > something like this connected to a single parallel port pin > http://www.adafruit.com/products/374 > > Richard >
Richard: To quote an old movie line "Don't know nothing 'bout it." So, armed with my trusty Internet search engine, I tried to learn something about it. The first thing I found was this quote from an old Dallas Semiconductor datasheet (they're now part of Maxim Integrated): > NMI interrupts of the PC will not guarantee flawless communication to > a 1-Wire device through a parallel port directly, and is discouraged > to attempt. As the 1-Wire protocol requires the first 15us of each > time slot to contain the data information, any disruption of this time > segment will result in a communication error. Communicating through > the PC parallel port, as it has been utilized for Dallas' DS1820K > <http://www.dalsemi.com/datasheets/pdfs/1820k.pdf> and DS1821K Thermal > Demo Kits <http://www.dalsemi.com/datasheets/pdfs/1821k.pdf>, requires > timing corrections. These functions are performed by the DS1481 bus > master. It translates code from the parallel port to the 1-Wire data > line and buffers data coming from the 1-Wire device to the parallel port: The next thing I found was that most people working with x86 boxes seem to be using the USB-to-onewire-bus-master route rather than parallel-port-to-anything. Finally, don't overlook the nice "one-wire file system" middleware (owfs.org). It's available directly from Ubuntu's repositories for 12.04 and up. The owfs site has links to recipes for installation to Ubuntu 10.04LTS and earlier. Good luck and let us know what you do. Regards, Kent ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
