CO2 Sparging

A simple CO2 sparging protocol by Gerrit Niezen

Describes how to get started with CO2 sparging on the Pioreactor.

Kit List

Pioreactor

  1. Pioreactor 20 mL (or via LabCrafter if you’re in the UK/EU)
  2. Raspberry Pi Zero 2 W with header
  3. Raspberry Pi Micro USB Power Supply (or via LabCrafter if you’re in the UK/EU)
  4. Micro SD card (or via LabCrafter if you’re in the UK/EU)

CO2 sparging kit

  1. Sodastream cylinder (classic blue, not quick connect pink)
  2. Sodastream-to-regulator adapter (TR21-4 thread size in most of the world, CGA 320 in North America)
  3. CO2 regulator with solenoid, e.g. FZONE
  4. Barrel power cord with 2.1mm DC plug
  5. Connector to connect barrel power cord to PWM output, e.g. TE Connectivity AMP connector (housing and socket contacts), or solder Dupont female square head wires to barrel power cord
  6. ~20cm 4mm PU tubing
  7. Check valve
  8. 3/16" barb female Luer lock connector
  9. 2 x 1/16" barb male Luer lock connectors
  10. ~10cm 1/16" silicone tubing

3D printable parts

  1. Pioreactor vial cap for electrolysis and CO2 sparging
  2. Dovetail platform for Pioreactor
  3. Dovetail platform for Sodastream cylinder holder

Tools required

  1. Crimping pliers, if you’re going to use the TE Connectivity AMP connectors with the barrel power cord, or a soldering iron if you’re going to solder Dupont cables to the barrel power cord
  2. Wrench for attaching adapter to Sodastream cylinder and regulator

Setup

Hardware

  1. Connect the CO2 regulator to the Sodastream cylinder using the adapter and a wrench.

    Sodastream cylinder connected to CO2 regulator using an adapter
  2. Connect one end of ~20cm PU tubing to the regulator and the other end to a check valve.

    PU tubing connected to regulator and check valve

  3. Connect another short piece of PU tubing to the other end of the check valve and attach a 3/16" barb female Luer lock connector. Attach two 1/16" barb male Luer lock connectors to each end of ~10cm of 1/16" silicone tubing and connect to the 3/16" connector and the Pioreactor port.

    PU tubing connected to check valve and a Luer lock connector

  4. Connect the barrel power cord to PWM channel 4 on the one end. You can either solder Dupont female square head wires to the power cord, or crimp a TE Connectivity AMP connector as in the image.

    Power cord plugged into PWM channel 4 on the Pioreactor

  5. Plug the other end of the power cord into the solenoid of the regulator.

    Power cord plugged into solenoid of the regulator

  6. Make sure that your Pioreactor supports 12V on the PWM channels and that a 12V power supply is connected to the barrel jack of the Pioreactor HAT.

Software

  1. Install the pioreactor-relay-plugin plugin.
  2. In your Pioreactor configuration, make sure that PWM channel 4 is set to relay:
[PWM]
# map the PWM channels to externals.
# hardware PWM are available on channels 2 & 4.
1=stirring
2=media
3=waste
4=relay
5=heating
  1. Test that it works by manually turning on the relay in the Activities tab of the Manage screen of the Pioreactor UI. You should hear the solenoid turn on and CO2 rushing into the Pioreactor vial. You can adjust the amount of CO2 sparged using the dial on the regulator.

    Screenshot of relay plugin

  2. Create a new experiment profile and copy and paste the following into the profile:

experiment_profile_name: CO2 sparging every hour

metadata:
  author: Gerrit Niezen
  description: Turns on the relay for 10 seconds every hour

common:
  jobs:
    relay:
      actions:
        - type: repeat
          hours_elapsed: 1.0
          repeat_every_hours: 1.0
          actions:
            - type: log
              hours_elapsed: 0.0  # relative to the repeat loop, 1h
              options:
                message: "Sparging CO2 for 10 seconds"
                level: info
            - type: start
              hours_elapsed: 0.0
              options:
                start_on: True
            - type: stop
              hours_elapsed: 0.00278

When the experiment profile is running it should sparge CO2 for 10 seconds every hour.


Last modified November 29, 2024: complete writeup of CO2 sparging kit (6fecb6f)