![]() Likely the worst approach is windows via a usb parallel port. It's second best because it's not a real.time operating system, but practically people have awesome results here, and if it works fine, who cares. ![]() That way the microcontroller can do the timing without getting interrupted, and the computer can send bursts of info to it while it does other stuff.Ī second best approach is to use a lower level operating system and disable everything that's not needed, which is essentially what linuxCNC does. The best solution is to have a dedicated microcontroller doing the maths for the movements and just have the computer feed it instructions. In simple terms, the computer is busy doing other stuff, so it sometimes gets distracted when a movement commend needs to be executed, so movements might not be as smooth as is ideal. On a more modern computer and especially when using a usb to parallel port dongle or similar, this gets lost in the abstraction layer, so the timing can start to get a bit screwed up. ![]() As best I understand it, the advantage of a parallel port on older computers on older machines was that it was close to a direct hardware access so it was fairly easy to write code that did something with precise timing using the parallel port.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |