Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

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.

After plugin installation, a reboot of the Pioreactor leader is necessary

Hardware installation

See notes here.

How it works

  1. In between optical density recordings, the white-light LED on the AS7341 board turns on.
  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 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.

Hardware requirements

Supported by

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