Skip to content

Repository files navigation

Pioreactor Vernier ODO-BTA Plugin

The plugin allows you to read DO into the pioreactor app using the Vernier ODO-BTA sensor.

This plugin assumes that a JSON is being received by the RPI via serial, and that the JSON has keys A0-A5 representing voltages read by Arduino pins. Alternatively one might use some kind of ADC that can use 5V power to supply the sensor but still transmit over I2C at 3.3V etc., but in my case the arduino was the simplest option.

For wiring the sensor you can either use something like the vernier arduino shield or BTA breakout (which have been discontinued as of writing) or in my case I bought some BTA extenders from amazon, cut the BTA end off and soldered to header pins for breadboarding. The pinouts for the BTA are here. I only bother to use vin, gnd, and the signal from the sensor, as I'm not using sensors that need the other pins and haven't figured out how to get the identification working properly.

Then you need arduino code to write the json to serial etc.

Installation

Install from the Pioreactor plugins web interface or the command line:

pio install-plugin vernier-ODO-BTA # to install directly on the Pioreactor

# OR, on the leader's command line:

pios install-plugin vernier-ODO-BTA # to install on all Pioreactors in a cluster

Or install through the web interface (Plugins tab). This will install the plugin on all Pioreactors within the cluster.

Usage

Through the command line:

pio run vernier_fph_bta

Through the UI:

Under Manage, there will be a new Activities option called vernier_fph_bta. Editable settings include the pin that's being read and the slope and intercept for calibration.

Plugin documentation

Documentation for plugins can be found on the Pioreactor docs.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages