Pressurized Algae Photobioreactor





Introduction: Pressurized Algae Photobioreactor

About: Just another DIY creator gaining experience through every project!

Before diving into this instructable, I would like to explain a little more on what this project and why I chose to make it. Even though it is a bit long, I encourage you to please read through it, since a lot of what I am doing won't make sense without this information.

The full name of this project would be a pressurized algae photobioreactor with autonomous data collection, but that would be a bit long as a title. The definition of a photobioreactor is:

"A bioreactor that utilizes a light source to cultivate phototrophic microorganisms. These organisms use photosynthesis to generate biomass from light and carbon dioxide and include plants, mosses, macroalgae, microalgae, cyanobacteria and purple bacteria"

My reactor setup is used for growing freshwater algae, but it may be used for other organisms.

With our energy crisis and climate change issues, there are many alternate sources of energy, such as solar power, being explored. However, I believe that our transition from depending on fossil fuels to more environmentally friendly energy sources will be gradual, since we can't completely overhaul the economy quickly. Biofuels can serve as a sort of stepping stone since many cars that run on fossil fuels can easily be converted to run on biofuels. What are biofuels you ask?

Biofuels are fuels produced though biological processes such as photosynthesis or anaerobic digestion, rather than the geological processes that create fossil fuels. They can be made through different processes (which I wont cover in detail here). Two common methods are transesterification and ultrasonication.

Currently, plants are the largest source for biofuels. This is significant because in order to create the oils needed for biofuels, these plants must go through photosynthesis to store solar energy as chemical energy. This means that when we burn biofuels, the emissions put out cancel out with the carbon dioxide that the plants had absorbed. This is known as being carbon neutral.

With current technology, corn plants can give 18 gallons of biofuel per acre. Soybeans give 48 gallons, and sunflowers give 102. There are other plants, but none compare to algae which can give 5,000 to 15,000 gallons per acre (The variation is due to the species of algae). Algae can be grown in open ponds known as raceways or in photobioreactors.

So if biofuels are so great and can be used in cars that use fossil fuels, why aren't we doing it more? Cost. Even with high algal oil yields, the cost of production for biofuels is much higher than that of fossil fuels. I created this reactor system to see if I could improve the efficiency of a photobioreactor, and if it works then my idea may be used in commercial applications.

Here is my concept:

By adding pressure to a photobioreactor, I can increase the solubility of carbon dioxide as described by Henry's Law, which states that at a constant temperature, the amount of a given gas that dissolves in a given type and volume of liquid is directly proportional to the partial pressure of that gas in equilibrium with that liquid. Partial pressure is how much pressure a given compound exerts. For example, the partial pressure of nitrogen gas at sea level is .78 atm since that is the percentage of nitrogen there is in the air.

This means that by increasing the concentration of carbon dioxide or by increasing the air pressure, I will increase the amount of dissolved CO2 in the bioreactor. In this setup, I will be only be changing the pressure. I am hoping that this will allow algae to undergo photosynthesis more and grow faster.

DISCLAIMER: This is an experiment that I am currently conducting and I at the time of writing this, I do not know it it will affect algae production. Worst case, it will be a functional photobioreactor anyways. As part of my experiment, I need to monitor algae growth. I will be using CO2 sensors for this with an Arduino and SD card to collect and save the data for me to analyze. This data collection portion is optional if you want to just make a photobioreactor, but I will give instructions and Arduino code for those who want to use it.

Step 1: Materials

Since the data collection part is optional, I will split the list of materials into two sections. Also, my setup creates two photobioreactors. If you want only one reactor, just use half of the materials for anything above 2 (This list will tell number or materials followed by the dimensions if applicable). I also added links to certain materials which you can use, but I encourage you to do prior research on prices before buying since they can change.


  • 2 - 4.2 gallon water bottle. (Used for dispensing water. Make sure the bottle is symmetrical and doesn't have a built in handle. It should be resealable as well.
  • 1 - RGB LED strip (15 to 20 feet, or half as much for one reactor. Doesn't have to be individually addressable, but make sure it comes with its own controller and power supply)
  • 2 - 5 gallon capacity aquarium bubblers + approximately 2 feet of tubing (usually provided with the bubbler)
  • 2 - weights for the bubblers' tubing. I just used 2 small rocks and rubber bands.
  • 2 feet - 3/8" inner diameter plastic tubing
  • 2 - 1/8" NPT bike valves (Amazon link for valves)
  • 1 tube - 2 part epoxy
  • Algae starter culture
  • Water soluble plant fertilizer (I used MiracleGro brand from Home Depot)

Important Info:

Based on the concentration of starter culture, you will need more or less per gallon capacity of the reactor. In my experiment, I conducted 12 trails of 2.5 gallons each but only started with 2 tablespoons. I just had to grow the algae in a separate tank until I had enough. Also, species doesn't matter, but I used Haematococcus since they dissolve in water better than filament algae. Here is a link for the algae. As a fun side experiment, I might buy the bioluminescent algae sometime. I saw it occur naturally in Puerto Rico and they looked really cool.

Also, this is probably my 4th iteration of design and I have tried to make the cost as low as possible. That is one reason why instead of pressurizing with an actual compressor, I will be using small aquarium bubblers. However, they have less force and can move air at a pressure of around 6 psi plus its intake pressure.

I solved this problem by buying air bubblers with an intake I can connect tubing to. That is where I got my 3/8" tubing measurements from. The intake of the bubbler is connected to the tubing, and then the other end connected into the reactor. This recycles the air so I can also measure carbon dioxide content using my sensors. Commercial applications will probably just have a steady air supply to use and discard instead. Here is a link for the bubblers. They are part of an aquarium filter which you don't need. I only used these because I used to use one for my pet fishes. You can probably find just the bubbler without the filter online as well.

Data Collection:

  • 2 - Vernier CO2 sensors (they are compatible with Arduino, but also expensive. I borrowed mine from my school)
  • Heat shrink tubing - at least 1 inch diameter to fit onto the sensors
  • 2 - Vernier analog protoboard adapters (order code: BTA-ELV)
  • 1 - breadboard
  • breadboard jumper wires
  • 1 - SD card or MicroSD and adapter
  • 1 - Arduino SD card shield. Mine is from Seed Studio and my code is for it too. You may need to adjust the code if your shield is from another source
  • 1 - Arduino, I used the Arduino Mega 2560
  • USB cable for the Arduino (to upload code)
  • Arduino power supply. You can also use a phone charger brick with the USB cable to provide 5V power

Step 2: Pressure

In order to pressurize the container, two main things must be done:

  1. The lid should be able to fix onto the bottle securely
  2. A valve needs to be installed to add air pressure

We already have the valve. Simply pick a spot on the bottle well above the algae line and drill a hole in it. The diameter of the hole should be equal to the diameter of the valve's larger or screw end (You can make a smaller pilot hole first and then the actual diameter hole). This should allow the non valve end to barley fit through into the bottle. Using an adjustable wrench, I tightened the valve into the plastic. This makes grooves in the plastic for the screw as well. Next, I just took the valve out, added plumbers tape, and put it back in place.

If your bottle doesn't have thick walled plastic:

Using some sandpaper, rough up the plastic around the hole. Then, on the larger part of the valve, apply a generous amount of epoxy. It can be two part epoxy or any other kind. Just make sure it can withstand high pressure and is water resistant. Next, simply place the valve in place and hold for a little bit until it sticks in place. Don't wipe off the excess around the edges. Allow the epoxy time to cure as well before testing the photobioreactor.

As for the lid, the one I have comes with an O ring and secures on tightly. I use a max of 30 psi of pressure and it can hold it back. If you have a screw on cap, it's even better. Just make sure to thread it with plumbers tape. Lastly, you can wrap twine or heavy duty duct tape under the bottle to over the cap to hold it down firmly.

To test it, slowly add air through the valve and listen for air leaks. Using some soapy water will help identify where air is escaping and more epoxy needs to be added.

Step 3: Bubbler

As I had mentioned in the materials section, the dimensions for my tubing are based off of the bubbler I bought. If you used the link or bought the same bubbler brand, then you don't have to worry about other dimensions. However, if you have a different brand of bubbler, then there are a few steps you need to take:

  1. Make sure there is an intake. Some bubblers will have a clear input, and others will have it around the output (like the one I have, refer to the images).
  2. Measure the diameter of the input and that is the inner diameter for the tubing.
  3. Make sure the output/bubbler tubing can fit through your input tubing easily if your bubbler's intake is around the output.

Next, thread the smaller tubing through the larger one and then attach one end to the bubbler output. The slide the larger end over the input. Use epoxy to hold it in place and to seal from high pressure. Just be careful not to put any epoxy inside the intake port. Side note, using sandpaper to lightly scratch up a surface before adding epoxy makes the bond stronger.

Lastly, make a hole in the bottle large enough for the tubing. In my case, it was 1/2" (Picture 5). Thread the smaller tubing through it and up the top of the bottle. You can now attach a weight (I used rubber bands and a rock) and put it back in the bottle. Then put the larger tube through the bottle as well and epoxy it in place. Notice that the large tube ends just after it enters the bottle. This is because it is an air intake and you wouldn't want water to splash up into it.

A benefit to having this closed system means is that water vapor won't escape and your room won't end up smelling like algae.

Step 4: LEDs

LEDs are known for being energy efficient and much cooler (temperature wise) than normal incandescent or fluorescent bulbs. However, they still produce some heat and it can easily be noticed if it is turned on while still rolled up. When we use the strips in this project, they won't be so clustered together. Any extra heat is easily radiated or absorbed by the algae water solution.

Depending on the species of algae, they will need more or less light and heat. For example, the bioluminescent type of algae I had mentioned earlier requires a lot more light. A rule of thumb I used is to keep it on the lowest setting and slowly increasing it by a level or two of brightness as the algae grew.

Anyways, to set up the LED system, just wrap the strip around the bottle a few times with each wrap coming up about 1 inch. My bottle had ridges in it that the LED conveniently fit in. I just used a bit of packing tape to keep it in place. If you are using two bottles like I am, just wrap half around one bottle and half around the other.

Now you may be wondering why my LED strips don't wrap around all the way to the top of my photobioreactor. I did this on purpose because I needed space for the air and for the sensor. Even though the bottle has a volume of 4.2 gallons, I only used half of that to grow the algae. Also, if my reactor had a small leak, then the volume pressure would drop less drastically since the volume of escaping air is a smaller percentage of the total amount of air inside the bottle. There is a fine line that I had to be on where the algae would have enough carbon dioxide to grow, but at the same time there should be less enough air so that the carbon dioxide the algae absorbs makes an impact to the overall composition of the air, allowing me to record the data.

For example, if you breathe in a paper bag, it will be filled with a high percentage of carbon dioxide. But if you just breathe in the open atmosphere, the overall composition of the air will still be about the same and impossible to detect any change.

Step 5: Protoboard Connections

This is where your photobioreactor setup is complete if you don't want to add the arduino data collection and sensors. You can just skip to the step about growing algae.

If you are interested however, you will need to bring out the electronics for a preliminary test before placing it in the bottle. Firstly, connect the SD card shield on top of the arduino. Any pins that you would normally use on the arduino that are used by the SD card shield are still available; just connect the jumper wire to the hole directly above.

I've attached a pictures of the arduino pin configurations to this step that you can refer to. Green wires were used to connect the 5V to arduino 5V, orange to connect GND to Arduino ground, and yellow to connect SIG1 to Arduino A2 and A5. Note that there are many extra connections to the sensors that could have been made, but they are not needed for data collection and only helps the Vernier library perform certain functions (such as identifying the sensor being used)

Here is a quick overview of what the pins of the protoboard do:

  1. SIG2 - 10V output signal used only by a few vernier sensors. We won't need it.
  2. GND - connects to arduino ground
  3. Vres - different vernier sensors have different resistors in them. supplying voltage and reading the current output from this pin helps to identify sensors, but it didn't work for me. I also knew what sensor I was using beforehand so I hard-coded it the program.
  4. ID - also help identify sensors, but not needed here
  5. 5V - gives 5 volts power to the sensor. Connected to arduino 5V
  6. SIG1 - output for the sensors from a scale of 0 to 5 volts. I will not be explaining the calibration equations and all to convert the sensor output to actual data, but think of the CO2 sensor as working like this: the more CO2 it senses, the more voltage it returns on SIG2.

Unfortunately, the Vernier sensor library only works with one sensor and if we need to use two, then we will need to read in the raw voltage outputted by the sensors. I have supplied the code as a .ino file in the next step.

As you are attaching jumper wires to the breadboard, keep in mind that rows of holes are connected. This is how we connect the protoboard adapters to the arduino. Also, some pins may be used by the SD card reader, but I made sure that they don't interfere with each other. (It's usually digital pin 4)

Step 6: Code and Test

Download the arduino software to your computer if you don't have it installed already.

Next, connect the sensors to the adapters and make sure all the wiring is fine (Check to make sure that the sensors are on the low setting from 0 - 10,000 ppm). Insert the SD card into the slot and connect the arduino to your computer via the USB cable. Then open the SDTest.ino file I have supplied in this step and click the upload button. You will need to download the SD library as a .zip file and add it as well.

After the code uploads successfully, click on tools and select the serial monitor. You should see information about the sensor reading being printed to the screen. After running the code for a while, you can unplug the arduino and take the SD card out.

Anyways, if you insert the SD card to your laptop, you will see a DATALOG.TXT file. Open it and make sure there is data in it. I have added some functions to the SD test that will save the file after every write. That means even if you take out the SD card mid-program, it will have all the data up to that point. My AlgaeLogger.ino file is even more complex with delays to make it run for a week. On top of this, I added a function that will start a new datalog.txt file if one already exists. It wasn't required for the code to work, but I just wanted all the data the Arduino collects on different files instead of having to sort through them by the hour shown. I can also have the arduino plugged in before starting my experimentation and just reset the code by clicking the red button when I am ready to begin.

If the test code worked, then you can download the AlgaeLogger.ino file that I supplied and upload it to the arduino. When you are ready to start your data collection, turn on the arduino, insert the SD card, and click the red button on the arduino to restart the program. The code will be taking measurements at one hour intervals for 1 week. (168 data collections)

Step 7: Installing Sensors Into the Photobioreactor

Oh yes, how could I forget?

You need to install the sensors into the photobioreactor before trying to collect data. I only had the step to test out the sensors and code before this one so that if one of your sensors is faulty, then you can get a different one right away before integrating it into the photobioreactor. Having to remove the sensors after this step will be hard, but it is possible. Instructions on how to do so are on the Tips and Final Thoughts step.

Anyways, I will be integrating the sensors in the lid of my bottle since it is the farthest away from the water and I don't want it getting wet. Also, I noticed all of the water vapor condensed near the bottom and thin walls of the bottle so this placement will prevent water vapor from damaging the sensors.

To start off, slide the heat shrink tubing over the sensor, but make sure not to cover up all the holes. Next, shrink the tubing using a small flame. Color doesn't matter but I used red for visibility.

Next drill a 1" hole in the center of the lid and use sandpaper to rough up the plastic around it. This will help the epoxy bond well.

Finally, add some epoxy onto the tubing and slide the sensor in place on the lid. Add some more epoxy on the outside and insides of the cap where the cap meets the heat shrink and allow it to dry. It should now be airtight, but we will need to pressure test it to be safe.

Step 8: Pressure Test With Sensors

Since we already tested the photobioreactor beforehand with the bike valve, we only need to bother about the cap here. Like last time, slowly add pressure and listen for leaks. If you find one, add some epoxy to the inside of the cap and on the outside.

Also use soapy water to find leaks if you want, but don't put any inside the sensor.

It is extremely important that no air is escaping from the photobioreactor. The CO2 sensor reading is affected by a constant directly related to the pressure. Knowing the pressure will allow you to solve for the actual carbon dioxide concentration for data collection and analysis.

Step 9: Algae Culture and Nutrients

To grow the algae, fill up the container to just above the LED's with water. It should be around 2 gallons give or take a few cups. Then, add soluble plant fertilizer according to the directions on the box. I added a little bit more actually to increase the algae growth. Finally, add in algae starter culture. I originally used 2 tablespoons for the entire 2 gallons, but I will be using 2 cups during my experiment to get the algae growing faster.

Set the LEDs to the lowest setting and increase it later of if the water becomes too dark. Turn on the bubbler and let the reactor sit for a week or so for the algae to grow. You many need to swirl the water around a few times to prevent the algae from settling to the bottom.

Also, photosynthesis absorbs mainly red and blue light, which is why leaves are green. To give the algae the light they need without heating them too much, I used purple light.

In the pictures attached, I was only growing out the original 2 tablespoons of starter I had to around 40 cups for my actual experiment. You can tell that the algae grew a lot considering that the water was perfectly clear before.

Step 10: Tips and Final Thoughts

I learnt a lot while building this project and I am happy to answer questions in the comments to the best of my ability. Meanwhile, here are a few tips I have:

  1. Use double sided foam tape to secure things in place. It also reduced vibrations from the bubbler.
  2. Use a power strip to protect all the parts as well as have space to plug things in.
  3. Use a bicycle pump with a pressure gauge, and don't add pressure without filling the bottle with water. This is for two reasons. First, the pressure will increase faster, and second, the weight of the water will prevent the bottom of the bottle from inverting.
  4. Swirl the algae every now and then to have an even solution.
  5. To remove the sensors: use an sharp blade to cut the tubing off the sensor and tear away as much as you can. Then, gently pull out the sensor.

I will be adding more tips as they come to mind.

Finally, I would like to finish off by saying a few things. The purpose of this project is to see if algae can be grown faster for biofuel production. While it is a working photobioreactor, I cannot guarantee the pressure will make a difference until all of my trials are done. At that time, I will make an edit here and show the results (Look for it sometime in mid-March).

If you felt this instructable is potentially useful and the documentation is good, leave me a like or a comment. I have also entered into the LED, Arduino, and Epilog contests so vote for me if I deserve it.

Until then, happy DIY'ing everyone!

LED Contest 2017

Runner Up in the
LED Contest 2017



    • Make it Move Contest

      Make it Move Contest
    • Microcontroller Contest

      Microcontroller Contest
    • Casting Contest

      Casting Contest

    We have a be nice policy.
    Please be positive and constructive.





    Interesting , considering some algae are 50% or more lipids (fats) . Corn gives around 125 or more gallons per acre at 180 bushels per acre , and the corn powered biofuel for us has resulted in higher prices for corn in third world countries . Have you read the biofuel survey Carter had done back in the '70s ?

    1 reply

    I have not read that survey, will do. Corn is not as good at producing lipids (and even starches) compared to soybeans or algae though.

    Interesting project. I'm doing something very similar right now. You might consider adding powdered calcium bicarbonate to your water as a biocompatible CO2 source. It will naturally decompose in the water as the dissolved CO2 levels drop. The bicarbonate will decompose to a regular carbonate and carbonic acid aka dissolved CO2. You might be able to use sodium bicarbonate, but I think that also might be too unstable to last as a source.

    3 replies

    Interesting point. I may have to add in a buffer solution to prevent pH changes. This could work well in low pressure containers since solubility of gases increases with pressure, but solubility of solids tend to decrease.

    You don't want the bicarbonate to dissolve. You want it to exist in precipitate equilibrium with the dissolved CO2. That way additional bicarbonate breaks down and replenishes the CO2 as it is consumed. Like a reservoir.

    Hmm, Interesting. I will do more research on that. Thanks for the suggestion!

    The algae will grow most efficiently if it’s provides with the wavelengths that excite the chlorophyll. Depending on the strain of algae you use; you will want to provide both wavelengths that the specific algae can use. LED technology tends to output very very narrow bands of wavelengths; so it is important to try to shine a wavelength that matches the chlorophylls that you’re trying to excite.

    3 replies


    Additionally, you could probably leave the green LEDs out. Most plants don't use green light. They reflect it. That's why they appear green.

    I didn't research the exact wavelengths, but I put purple light in general since chlorophyll absorbs it well. With the LED strip, the light color can be controlled better as well.

    INCREASE CO2 MOL FRACTION IN CONTAINER: Have you considered using CO2 cartridges to increase the mol fraction and partial pressure of CO2 in the closed system? I think this could be a GREAT addition to your already awesome project. Bikers use these cartridges to replace flat tires. It's essentially pressurized CO2 that screws directly onto the threaded fitting you attached. You'd have to watch the pressure gauge carefully though; these cartridges can inflate bike tire from 0 to 115 psi in a single charge.

    3 replies

    I have considered that, as well as using dry ice. My main concern was that the increased amount of CO2 will make the water acidic similar to acid rain. Another user also commented on how I would need a large source of CO2 for industrial applications. For my experiment, these cartridges may have helped but I don't think it is economical in real world applications. Thanks for the tip!

    I think it absolutely could be possible in real world applications. Power plants have huge incentives for carbon recapture. Maybe there could be some sort of joint venture between power plants and these algae farms.

    Good point. Being able to capture from existing sources of CO2 was one idea I had (which I was talking about below as well). The one problem I would have to bypass would be toxic chemicals in the smoke such as arsenic. With smoke scrubbers and some filters, that is definitely a feasible idea. What I meant though in my earlier comment, is that if I need to produce CO2, such as making cartridges, then it wouldn't be environmentally friendly.

    Hi, nice thing you built there!

    Actually, DougM95 already said most of the things i wanted to throw in - of course not to tear down your idea, but rather to warn off eco freaks from redesigning their back yards and then having to see it wastes more energy than it actually creates.

    The thing with biotechnological production of high purity, water-free low, cost substances is always that purity and water removal definitely come at considerable cost! It definitely pays off for some drugs and chemicals, but the bulk things, you know...

    And if someone wants to make a suitable downstream process, please just dont DIY any powerful centrifuges, these are incredibly dangerous! however i think filter pressing would be more suitable for algae anyways.

    For the optimization of your reactor, I could think of putting aluminum foil around the vessel for increased lighting efficiency (you know, as beautiful as it looks, but any shine you see is light that escaped its actual purpose ;)

    I'm definitely interested in what a diy-reactor like that can do, so please just keep it up and dont let yourself get discouraged!

    2 replies

    A friend of mine actually used a lab centrifuge to get algae before, but yes that would be impractical for mass production. Filter is definitely the way to go.

    Good point on the aluminum foil. That light is indeed being wasted. For my experiment however, it was important that I can monitor the algae growth rates. For a more of a functional photobioreactor than one for experimentation, foil is the way to go.

    Thanks for the encouragement! It really shows what Instructables is all about.

    De-watering is one of the biggest hurdles of mass algal culture. They actually do use centrifuges. A good example can be seen in the "dirty jobs" episode "Micro-algae Man" (2nd job in the video):

    Thanks for viewing!

    It is a really interesting idea to increase the pressure to try and increase the solubility of CO2. Something to consider: Since you are re-circulating the air and your system is closed, the amount of CO2 inside is finite (you are never adding more air, so you are never adding more CO2). So, as the algae grow and utilize the CO2, this will become the limiting resource for how much biomass you can produce as nutrients will be in excess. So, results might not be different between a pressurized vs. not pressurized closed system because the total amount of CO2 in the system is the same. Finding a way to introduce fresh air would be a good idea.

    Also, as the algae become thick, light will become limiting everywhere but the very outside of the tank. Think of it like stacking a bunch of leaves on top of each other, the bottom leaf will not get much light. Now think of a single algae circulating between the center of the tank and the outside of the tank - it will be like a strobe of blinding light and then darkness. For your experiments, perhaps look at initial growth rates before the algae become thick and results are more impact by light than CO2 availability.

    Good luck!