Liquid delivery can be automated in the Zantiks AD when the peristaltic pump is attached to the motor on the top of the unit.
Unit set up
If the AD is set up with a brass feeder mechanism (used for solid food delivery for adult zebrafish) use the supplied allen key to remove the brass feeder from the motor platform and move the platform forward. The peristaltic pump for liquid delivery can now be attached.
Video illustration of how to install the peristaltic pump on the AD unit.
Pump demo script
This script illustrates how to use the peristaltic pump to deliver liquid.
INCLUDE ZSYS DEFINE ITI 2 DEFINE TRIALS 50 ACTION MAIN INVOKE(PUMPTEST,TRIALS) COMPLETE ACTION PUMPTEST WAIT(ITI) MOTORCOMMAND("U0 D1000 M-200") WAIT(ITI) COMPLETE
The MOTORCOMMAND controls the motor that rotates the pump. The numbers in the brackets - and written between inverted commas “” - indicate the rotation parameters, to change the rotation parameters edit the numbers after each letter:
- 'U' controls the step mode, U0 commands a full step, U1 a half step, U2 a quarter step, U3 an eighth of a step.
- 'M' describes the number of steps and the direction, a positive number indicates anticlockwise rotation by the motor, a minus number indicates clockwise rotation. For example with the command above "U0 D1000 M-200" the -200 indicates 200 full (clockwise) steps which is a full 360 degree rotation.
- The number after 'D' is the delay between motor steps (this sets the motor speed - it should not be below 1000).
- It is also possible to set a pause between motor movements by including 'P' with a number after it, the number sets the delay in milliseconds between motor movements.
Here you can download the pump demo script as a .zs file. Right click on the download link below and download / save the file as a zanscript file, i.e. in the same format: pump_demo.zs. You then need to upload this zanscript file into the Zanscript directory on your unit.
Script download: pump_demo.zs
You will need to test the pump motor settings with your liquid to ensure that the correct amount of liquid is delivered with each motor command.
Once the pump is in place, with tubing attached (2mm internal diameter, 4mm external diameter silicone tubing is recommended), test the pump with water to ensure liquid flows as desired. As the motor runs, adjustments to the top right screw can be made using the allen key. If it is too loose, fluid will not run through. If it is too tight, the dial will not rotate and more noise from the motor will be heard.
In house testing indicated one drop of water was delivered from 2mm internal tubing after 50 turns at U0 (quarter step). Each drop was approximately 0.05ml.
Each full rotation of the pump is approximately 0.19 ml (i.e. after 50 full rotations 9.5ml of water has been delivered).
Currently, the peristaltic pump has only been quantitatively tested with water. However, it can also be used with gases.