Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ethernet-based serial adaptor #640

Open
alexdewar opened this issue Oct 11, 2024 · 1 comment
Open

Add support for ethernet-based serial adaptor #640

alexdewar opened this issue Oct 11, 2024 · 1 comment
Labels
hardware Involves interfacing with real hardware must_have Specified as "must have" in the project proposal

Comments

@alexdewar
Copy link
Collaborator

The UNIRAS rig will use an ethernet-based serial adaptor, CSC-H64 by Sollae Systems, in place of the current USB serial adaptors. This will require some (small) modifications to the existing code, which currently only works with USB serial adaptors.

There are two ways we could approach this:

  1. The serial adaptor comes with software which creates virtual COM ports that can be used as regular serial devices. This option would require that we change the code to work with COM ports of any type, rather than just those associated with USB devices.
  2. We may be able to communicate with the serial adaptor directly, without any additional software required. There is an open standard for serial over IP connections (RFC2217), which is supported by the Python library we are using for serial connectivity (PySerial) and, hopefully, the serial adaptor will support this protocol. (If not, we may still be able to make it work ourselves, but in this case, it is likely that the previous option will be better.) One advantage of this approach is that we won’t have to hardcode COM-port numbers (which are somewhat fragile) into our config files.
@alexdewar alexdewar added the hardware Involves interfacing with real hardware label Oct 11, 2024
@alexdewar
Copy link
Collaborator Author

Marking as "on hold" until we actually have one of these adaptors to play with.

@alexdewar alexdewar added the must_have Specified as "must have" in the project proposal label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hardware Involves interfacing with real hardware must_have Specified as "must have" in the project proposal
Projects
None yet
Development

No branches or pull requests

1 participant