You are on page 1of 1

Control

We managed to send x and y positions of the centroid of the droplet from


MATLAB to Arduino and the Arduino code receives the x and y positions and
decides which plate the droplet resides on and then the code determines how
many plates between the target plate and the current plate both in x and y
directions and then the droplet position on plates is corrected in x-direction then
corrected in y-direction and the feedback from the camera is always tracking the
droplet position so that the plate switching is always functioning to attract the
droplet to the target plate

Figure 1 Serial write where MATLAB sends position & Serial read the
position in Arduino code and print it where we used Device Monitoring
Studio to track data on Serial port

We test the MATLAB code and Arduino code with LEDs and the code works just
fine yet we still have some difficulties in image processing code where tracking
efficiency isnt tuned well and we are trying to use opencv instead

You might also like