Skip to content

OT-2 liquid color matching for MSE403H1 practical #152

@Neil-YL

Description

@Neil-YL

SGB FOREWORD: Students in the course will send commands (red, yellow, blue paint dispense volumes) to an Opentrons OT-2 liquid handler and retrieve light sensor data (8 channels) and calculate the distance between the measured spectrum and a target spectrum (e.g., RMSE distance). The job of each student is to find the optimal combination of paint that minimizes the color distance. The students will interact with the system in a "gray-box" format. The students will be provided a Colab notebook that contains a function to send commands, receive the data, and calculate the quality metrics. It will be up to them to choose/design an optimization strategy.


I am testing a Hugging face app demo locally for the practical.

Input block:
student id here acts as the session_id in our MQTT setting and there are another experiment_id for each run with the sensor
R and Y will be used to calculate the B (R+Y+B=1)

Image

If there is a queue for the experiment
Image

when your experiment is running
Image

Result:
Image

I will finalise the page tomorrow and deploy it on Hugging face to test remote access.

@sgbaird I might need the admin login for the Nokia router to enable Hugging Face to access the OT-2 via SSH.

Another things to do:

  • Colab page for the objective calculation
  • The sensor may need adjustment to provide more distinguishable readings. (compared with the light demo, the reading is much smaller). I may also try turning on the light within the OT-2 to see if result will be better.
  • any suggestions?

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions