Skip to main content

Take spectrometer readings (between OD readings) from the Adafruit AS7341 attached to your Pioreactor

Project description

Spectrometer reading plugin

Records spectrometer readings from the Adafruit AS7341 spectrometer sensor attached to your Pioreactor.

Available wavelengths:

  • #7600ed 415nm
  • #0028ff 445nm
  • #00d5ff 480nm
  • #1fff00 515nm
  • #b3ff00 555nm
  • #ffdf00 590nm
  • #ff4f00 630nm
  • #ff0000 680nm

This plugin also installs a SQL table, as7341_spectrum_readings, that will store the readings.

Charts

After installation, you can add specific bands as charts. Add spec_415=1, or whatever band(s) you want, to the [ui.overview.charts] section, ex:

ui of configuration

Hardware installation

See notes here.

How it works

  1. In between optical density recordings, the white-light LED on the AS7341 board turns on, and all other LEDs from the Pioreactor's LED channels turn off.
  2. The light is reflected back towards the board, with some wavelengths being absorbed by the culture.
  3. All sensors for each wavelength are recorded to MQTT and the SQLite3 database (see below)
  4. The onboard LED is turned off.

Each wavelength is sent to MQTT under the topics:

pioreactor/<unit>/<experiment>/spectrometer_reading/band_<xxx>

And it is also placed in the SQL table as7341_spectrum_readings.

Using a different LED

You can provide a 5mm LED instead of using the onboard one. We suggest using the following config to accomplish this:

led_current_mA=0
turn_off_leds_during_reading=0

Hardware requirements

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spectrometer_reading_plugin-0.3.2.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spectrometer_reading_plugin-0.3.2-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file spectrometer_reading_plugin-0.3.2.tar.gz.

File metadata

File hashes

Hashes for spectrometer_reading_plugin-0.3.2.tar.gz
Algorithm Hash digest
SHA256 e447aaf0c18b4b01919ef11f7ef926bfab3dc79274353aff8a988f203aa4eacd
MD5 caf2edecedd6b8ffc918a6f2c1bd4ba5
BLAKE2b-256 df2231a28726cf3afe0038f197b5f06ed15d531c84742a8961372d3470e75996

See more details on using hashes here.

File details

Details for the file spectrometer_reading_plugin-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for spectrometer_reading_plugin-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 df8b5ccc466fd6908ebd8d59e4708b990e9f8c0ed08aa248c44198e95e15c39a
MD5 1792ea98c27019e7f79beaf7b5dd72b2
BLAKE2b-256 6e64c18b47786227165374649e6fd3f3ce9a4eb3dc82bf344c08501d6152377e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page