Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,9 @@ mock_dir
.npm-cache/
.eslintcache

# include archived API docs
!api/docs/dist/
api/docs/dist/hardware/
api/docs/dist/v2/

package-testing/results
4 changes: 2 additions & 2 deletions api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ docs/dist/%: docs/root/%
$(SHX) cp -R docs/root/* docs/dist/

.PHONY: docs
docs: docs/dist/index.html docs/dist/v1 docs/dist/v2 docs/dist/ot1 docs/dist/hardware
docs: docs/dist/v2 docs/dist/hardware

.PHONY: docs-clean
docs-clean:
$(SHX) rm -rf docs/dist docs/build
$(SHX) rm -rf docs/dist/v2 docs/dist/hardware docs/build

.PHONY: dev
dev:
Expand Down
26 changes: 26 additions & 0 deletions api/docs/dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Welcome to the OT-2 Python Protocol API Docs &#8212; Opentrons OT-2 Python Protocol API Documentation</title>

<script type="text/javascript">
window.onload = (event) => {
window.location.replace("https://docs.opentrons.com/v2/")}
</script>

</head>
<body role="document">
<h3>Your browser should automatically redirect you from this page.</h3>
But if it does not, click one of the following links to go to the docs:
<ul>
<li><a href="v2/index.html">OT-2 Python Protocol API Version 2 Documentation</a></li>
<li><a href="v1/index.html">OT-2 Python Protocol API Version 1 Documentation</a></li>
<li><a href="ot1/index.html">OT-1 Python Protocol API Documentation</a></li>
</ul>
</body>
</html>
Empty file added api/docs/dist/ot1/.nojekyll
Empty file.
Binary file added api/docs/dist/ot1/_images/384-plate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/96-Deep-Well.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/96-PCR-Flatt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/96-PCR-Strip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/96-PCR-Tall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/SelectConfigFile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/Tiprack-1000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/Tiprack-10ul-H.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/Tiprack-10ul.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/Tiprack-200ul.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/Trough-12row.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/Tuberack-075ml.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/Tuberack-15-50ml.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/Tuberack-2ml.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/Well_Iteration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/connected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/container-list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/dragFirmwareBin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/firmware_files.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/move-to-slot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/pipette-calibration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/pipette-jog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/ports.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api/docs/dist/ot1/_images/replaceConfig.png
Binary file added api/docs/dist/ot1/_images/running-protocol.png
24 changes: 24 additions & 0 deletions api/docs/dist/ot1/_sources/api.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.. _api:

API Reference
===============

.. module:: opentrons

If you are reading this, you are probably looking for an in-depth explanation of API classes and methods to fully master your protocol development skills.

Robot
-----

All protocols are set up, simulated and executed using a Robot class.

.. autoclass:: Robot
:members: connect, home, reset, commands, move_to, containers, actions, disconnect, head_speed, pause, resume, stop, diagnostics, get_warnings, add_instrument, get_mosfet, get_motor

Pipette
-----------------

.. module:: opentrons.instruments

.. autoclass:: Pipette
:members: aspirate, dispense, mix, delay, drop_tip, blow_out, touch_tip, pick_up_tip, return_tip, calibrate, calibrate_position, move_to, home, set_speed
127 changes: 127 additions & 0 deletions api/docs/dist/ot1/_sources/calibration.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
.. _calibration:

================
How to Calibrate
================

Download App
--------------------

You can download the latest version of the app from `our website`_.

.. _our website: https://opentrons.com/getting-started/download-app


Connect to Robot
--------------------

Make sure your robot is turned on, and your laptop is connected via USB cable.

Go to the select port drop down, and refresh if no ports are shown. Once the port shows up, click it and the robot will jog up and down.

.. screenshot button with port drop down

.. image:: img/app/ports.png
.. image:: img/app/connected.png

.. important::

Every time you connect to the robot, you need to home all axes before doing anything else.

.. note::

Linux users will need to get permission to open the robot's serial port. This requires `sudo` privileges.
In a terminal window, run the following command

.. code-block:: bash

sudo usermod -a -G dialout USER_NAME_HERE

Where USER_NAME_HERE is the name of account that will be running the App.

Finally, logout and log back in as the user to activate the change.

Upload Protocol
--------------------

Your ``.py`` protocol file can load into the App, through either clicking the "Upload" button, or drag-and-drop the ``.py`` file over that same button.

.. note::

Make sure that when saving a protocol file, it ends with the ``.py`` file extension. This will ensure the App and other programs are able to properly read it.

For example, ``my_protocol_file.py``

If successfully loaded, your Python protocol will be simulated in the background to detect any errors. While this is happening, you will see the word "Upload" replaced by the word "Processing". Once finished, the App will fill the calibration section of the App with your containers and pipettes.


Jogging
--------------------

XYZ
^^^^^^^^^^^^^^^^^^^^

Move in the X, Y and Z by selecting your desired increment, and then clicking an arrow button.

.. image:: img/app/pipette-jog.png

Slot Button
^^^^^^^^^^^^^^^^^^^^

The slot button moves exactly one slot over in either X or Y, depending on which arrow you choose. This is particularly useful when calibrating multiple containers of the same type (eg an entire deck of 96 well plates). There is no slot Z, the robot will just move 1 mm.

AB Plungers
^^^^^^^^^^^^^^^^^^^^

Use the plunger jog to move the plunger up and down. If you have selected a container or the pipette for the B axis, then the B axis will move, and if you have selected a container or the pipette for the A axis, it will move.

.. screenshot plunger jog

The app automatically toggles between pipettes (unlike 1.2)

Move to Slot
^^^^^^^^^^^^^^^^^^^^

Jump to any slot on the deck with the Move to Slot buttons. The deck will automatically react and change between a 3x5 layout and a 2x5 layout based on which robot you are connected to (Hood vs. Pro/Standard)

.. image:: img/app/move-to-slot.png


Calibrate
--------------------

Once each container or pipette is calibrated, a check mark will appear next to it in the container list.

.. image:: img/app/container-list.png

Tipracks
^^^^^^^^^^^^^^^^^^^^

Jog the pipette down into the first tip in the tip rack. It should be firmly pushed into the tip, and the pick up tip button can be used to test its seating.

Calling the pick up tip button from anywhere on the deck will direct the robot back to the tiprack to pick up a tip. Drop tip will send the tip to the trash.

.. image:: img/app/container-calibration.png

Containers
^^^^^^^^^^^^^^^^^^^^

With a tip on the pipette, calibrate to the bottom of the first well or tube in the container. Use the diagrams in the app to guide calibration.

Pipettes
^^^^^^^^^^^^^^^^^^^^

Four calibrations positions need to be set for each pipette: Top, Bottom, Blow Out and Drop Tip. Make sure your pipette is manually set to its highest volume (or ~5 uL higher) for accurate calibration.

.. image:: img/app/pipette-calibration.png

Once these positions are all saved, you can test your calibrations. This is most easily done gravimetrically using a small scale. Use the aspirate and dispense buttons to pick up liquid and eject it onto the scale. If this volume isn't exactly what you expect, maybe 203 uL instead of 200, no big deal! You can go input the value into the max volume box. The robot will adjust its calculations accordingly and will then be able to dispense the correct volumes during experiments.

The drop tip screw may need to be adjusted up or down if you cannot accurately calibrate Bottom.

Run Protocol
--------------------

Once all your positions are saved, you can run your protocol. A progress will keep track of what percentage of your protocol has been done. Protocols can be paused, or they can be stopped entirely. We recommend homing after all protocols have been completed or stopped.

.. image:: img/app/running-protocol.png
Loading
Loading