-
Notifications
You must be signed in to change notification settings - Fork 119
Control Opentrons temperature module directly with USB #735
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
Control Opentrons temperature module directly with USB #735
Conversation
Directly control opentrons temperature module using USB serial commands. This allows use in other machines (like hamilton) not just opentrons liquid handler.
Read both responses from opentrons at the same time
|
thanks for the PR! for the OT thermocycler we also have a usb and http backend, and there we implemented them as two separate backends (see #673). I think this is cleaner than every single method having |
|
Ahh. That makes more sense. Thanks for the example. I will update to have a separate backend for usb control. I will also be 3d printing a mount for the MFX carrier. |
|
sick
follow up pr 👀 |
made a separate backend for controlling the temperature module using USB. Reverted opentrons_backend.py to original file. Edited opentrons.py to be default connection to Opentrons control
|
Updated the files. The original backend through OT is now restored to the original file and I added a new backend for usb control. This works on my end and matches the format of OT thermocycler. Do you want documentation for the user guide? |
Updated default child_location to new Coordinate values based on dimensional drawing.
Removed conditional import for serial communication and removed unused imports
Decode message from opentrons temperature module
used ruff to reformat code
Import formatting and f string formatting
|
thanks for implementing this btw, using it now |
yes please and please let me know when it's ready for review |
Updated setup instructions and usage details for the Opentrons temperature controller using USB.
This reverts commit a694284.
Add com port control
fix error
|
I am ready for review. I have one comment about the child location |
|
thank you @nedru004! |
|
I sometimes make twitter/linked in posts to announce new device integrations. people like seeing they can use their devices in new ways. which accounts should I tag to give credit? |
|
Thanks! x.com: @NedrudDavid |

Instead of relying on using the opentrons API, control the opentrons temperature module directly with a serial usb connection. This allows me to use an opentrons module with a hamilton liquid handler (already had the temp module sitting around).
I used this list of commands to communicate with device.
https://github.com/Opentrons/opentrons-modules/tree/edge/arduino-modules/temp-deck#readme
This requires the user to define the com port. Default is to use the opentrons API if available
Also, if I understand correctly, this module has active cooling. I can cool to 4C