Skip to content

Check the plugin

The plugin installed itself from the card. Check it now: Test electrolysis drives the electrodes through its job, whose 10% power clamp protects them.

  1. Open the unit’s web interface and hard-refresh (Ctrl/Cmd+Shift+R).

  2. Check electroPioreactor is listed under Pioreactors → your unit → Manage → Activities.

  3. If it is missing, put the card back in your computer and read the log in pioreactor/plugins/failed/ on the The small boot partition of the flashed microSD card, and the only part a Mac or PC can open. The card bundle's files go here. drive. Then install over Secure Shell: a command line on the Pioreactor from your computer's terminal, for example ssh [email protected]., as in AEP-Plugin/README.md.

  4. If the unit has no internet, set its clock from the computer, replacing <hostname> with the unit’s The unit's network name, chosen when flashing the card. Its web interface is then at http://hostname.local.:

    ssh pioreactor@<hostname>.local "sudo date -u -s '$(date -u +'%Y-%m-%d %H:%M:%S')'"
What this plugin replaces

This is the AEP’s own plugin, not a Pioreactor one. It replaces the AEP0.1.1 combination of pioreactor-relay-plugin and a hand-written experiment profile. One background job:

  • drives Splitting water with an electric current: hydrogen at the cathode, oxygen at the anode. It supplies the hydrogen the HOB grow on. on One of the HAT's four LED outputs, A to D. The electroPioreactor job drives the electrodes from channel D, clamped to 10% power.;
  • Bubbling gas through the culture. Here, CO₂ from the cylinder flows down the anode on a timer set in the electroPioreactor job. CO₂ on the One of the HAT's five switched power outputs. In this build: 1 stirring, 2 media pump, 3 waste (product) pump, 4 CO₂ solenoid (relay), 5 heating. 4 relay;
  • pauses electrolysis during each sparge;
  • pauses Optical density: how cloudy the culture is, read from scattered light. It tracks cell growth. reading for the sparge plus a settle window.
Internet over an ethernet cable

Plug a USB-C-to-ethernet adapter into the computer and run an ethernet cable to the Raspberry Pi 5. Turn on macOS Internet Sharing to that adapter (Pioreactor’s instructions). The unit then has internet through the computer, so pio update, the The Pioreactor software plugin that runs the Precision Temperature Upgrade Kit's sensor. The AEP card bundle installs it; the MEP bundle has none. install and the clock work.

Check your work

  1. What does Pioreactors → your unit → Manage → Activities show?

    Show the answer

    Answer: A list that includes electroPioreactor

    • If you see A list without electroPioreactor: Hard-refresh the page (Ctrl/Cmd+Shift+R). Card route: put the card back in your computer; pioreactor/plugins/failed/ on bootfs holds the A Python package file (.whl). The card bundle carries the plugins as wheels; one that fails to install lands in pioreactor/plugins/failed/ on bootfs, with a log. and a log of what went wrong. Running unit: pio plugins list should show pioreactor-electropioreactor-plugin.
    • If you see Nothing: <hostname>.local will not load: While the unit runs its own The leader makes its own Wi-Fi network, pioreactor (password raspberry). Use it where you cannot add devices to the site Wi-Fi., open http://10.42.0.1 or http://pioreactor.local instead.
  2. How did the plugin install end?

    Show the answer

    Answer: It finished, with no error shown

    • If you see It stopped on [PWM] 4 = 'waste': That is the stock Pioreactor default. Move any real waste pump to another channel, set One of the HAT's five switched power outputs. In this build: 1 stirring, 2 media pump, 3 waste (product) pump, 4 CO₂ solenoid (relay), 5 heating. 4 to relay on the UI's Configuration page, then install again.
    • If you see The computer offered to reformat the card: Click Ignore. The computer cannot read the card's Linux partition; nothing needs formatting.
  3. Compared with your computer's clock, what date and time does the unit show?

    Show the answer

    Answer: The same date and time, to the minute

    • If you see A different date, or a time minutes out: An offline unit has no time source. Set its clock from the computer with the sudo date command on this page.
≈ 0.02 g CO₂e per view