# Fungarium-Terrarium

# <span style="font-weight: 400;">Overview</span>

<span style="font-weight: 400;">A set of equally equipped terrariums will be constructed with a set of sensors for monitoring the transformation and the effects that mycelium blocks have in the soil composition. The project is a direct interjection of Biology, IoT and Environmental fields as well as to serve as an educational project. </span>

<span style="font-weight: 400;">This project will allow an involvement and collaboration across several of the workshops in ZAM such as</span>

- <span style="font-weight: 400;">Electronics</span>
- <span style="font-weight: 400;">IoT</span>
- <span style="font-weight: 400;">Bio-lab</span>
- <span style="font-weight: 400;">Media</span>
- <span style="font-weight: 400;">Art-Design</span>

# <span style="font-weight: 400;">Goals</span>

1. <span style="font-weight: 400;">To monitor the degradation of the mycelium block along with the effect on soil humidity and composting. </span>
2. <span style="font-weight: 400;">The collaboration of the mentioned fields will create an interactive platform for monitoring in real time the procedure</span>
3. <span style="font-weight: 400;">The results obtained will serve to strongly support the usage of compostable materials in consumer markets. </span>
4. <span style="font-weight: 400;">Publish our data formally and delivering a trusted experiment with collaborative open science initiative </span>
5. 

# <span style="font-weight: 400;">Specifications</span>

<span style="font-weight: 400;">The beginning of the projects starts by building 3 terrariums and looking at the available volume. The conditioning of the terrariums has to be equal:</span>

- <span style="font-weight: 400;">Volume</span>
- <span style="font-weight: 400;">Air exchange rate</span>
- <span style="font-weight: 400;">Water input</span>
- <span style="font-weight: 400;">Soil </span>
- <span style="font-weight: 400;">Type and size of plants</span>
- <span style="font-weight: 400;">Variety and amount of insects</span>
- <span style="font-weight: 400;">Light</span>

[![image-1649701925350.png](https://wiki.betreiberverein.de/uploads/images/gallery/2022-04/scaled-1680-/49iomlKTuV2SXCgx-image-1649701925350.png)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-04/49iomlKTuV2SXCgx-image-1649701925350.png)

## <span style="font-weight: 400;">Monitoring </span>

<span style="font-weight: 400;">The monitoring of the decomposition of the mycelium will be done optically using a camera. In the case of the effects that it has on the soil, those will be correlated to the concentration of different gasses in the atmosphere (air) and within the soil (buried). It is important to monitor consistently and to keep transparency in the handling of the data. We will specifically monitor the following:</span>

- <span style="font-weight: 400;">CO</span><span style="font-weight: 400;">2</span><span style="font-weight: 400;"> ppm</span>
- <span style="font-weight: 400;">CO ppm</span>
- <span style="font-weight: 400;">CH</span><span style="font-weight: 400;">4</span><span style="font-weight: 400;"> ppm</span>
- <span style="font-weight: 400;">Volatile organic gasses (VOGs) ppm</span>
- <span style="font-weight: 400;">Relative Humidity</span>
- <span style="font-weight: 400;">Temperature</span>
- <span style="font-weight: 400;">pH of soil</span>

<span style="font-weight: 400;">The data acquisition will be hourly and for as long as the mycelium block takes to become compost (200 days perhaps). </span>

## <span style="font-weight: 400;">Conditions</span>

<span style="font-weight: 400;">In order to emulate as much as possible the conditions outside, a set of fans will keep the air flow and humidity controlled. Likewise, the amount of water spayed weekly will be controlled. </span>

**The Baseline scenario:**<span style="font-weight: 400;"> Has no mycelium in it and it allows us to see the current status of soil. </span>

**The Soil-Enhancing scenario:**<span style="font-weight: 400;"> The mycelium is intentionally spread across a surface with the intention of using its properties to enhance the soil</span>

**The Trashed scenario:**<span style="font-weight: 400;"> The mycelium is left there without an intentional purpose, it hopes to emulate a leftover package. </span>

## <span style="font-weight: 400;">Raspberry pi Interphase</span>

<span style="font-weight: 400;">This IoT section of the project is the most exciting. </span>

<span style="font-weight: 400;">The interphase will serve for the following purposes:</span>

- <span style="font-weight: 400;">Control and distribute power for the sensors and motors</span>
- <span style="font-weight: 400;">Transform electrical impulses from sensors into digital data</span>
- <span style="font-weight: 400;">Detect, collect, store and analyze data</span>
- <span style="font-weight: 400;">The data will be analyzed in an educational fashion in the fields of IoT, Biology and Environmental Science in the form of an online dashboard</span>
- <span style="font-weight: 400;">Data will be stored and made public</span>

## <span style="font-weight: 400;">Work Breakdown Structure</span>

<span style="font-weight: 400;">The project is broken in 3 main section which can run simultaneously and culminate in a final build-up-deploy day: </span>

1. <span style="font-weight: 400;">Construction / Conditioning </span>
1. <span style="font-weight: 400;">Glass-made terrarium</span>
2. <span style="font-weight: 400;">Holes or ventilators with cabling for power</span>
3. <span style="font-weight: 400;">Placement on a selected window</span>

3. <span style="font-weight: 400;">Monitoring / Collecting</span>
1. <span style="font-weight: 400;">Sensor placement and detection</span>
2. <span style="font-weight: 400;"><span style="font-weight: 400;">Temp and humidity conditioning (3)</span></span>
3. <span style="font-weight: 400;">Data collection and storing</span>

5. <span style="font-weight: 400;">Analysis / Publishing</span>
1. <span style="font-weight: 400;">Analyze data and explain findings</span>
2. <span style="font-weight: 400;">Create interface for reporting </span>
3. <span style="font-weight: 400;">Deploy repository and web-based dashboard</span>
4. <span style="font-weight: 400;">Write article for media and for open science publishing</span>


# <span style="font-weight: 400;">Milestones</span>

##### <span style="font-weight: 400;">Construction &amp; Conditioning </span>

<span style="font-weight: 400;">Well sealed and safely positioned and secured in a window with a display for the street. </span>

<span style="font-weight: 400;">Stabilization of same temperature and humidity in the 3 terrariums</span>

##### <span style="font-weight: 400;">Monitoring &amp; Collecting</span>

<span style="font-weight: 400;">Detection from all sensors and cameras with a hourly rate</span>

<span style="font-weight: 400;">Collecting and storing in SD cards and upload to repository</span>

##### <span style="font-weight: 400;">Analysis and Publishing</span>

<span style="font-weight: 400;">Creation of an interactive dashboard which receives real time data and presents graphed values along with their explanation in the biological sense all culminating in a web-accessible dashboard</span>

<span style="font-weight: 400;">Event for live streaming of projects and media events, writing open science publication for teaching and research journals. </span>

# <span style="font-weight: 400;">Participation</span>

##### <span style="font-weight: 400;">Look at the teams and projects </span>

<span style="font-weight: 400;">Everyone is welcomed in more than team </span>

<span style="font-weight: 400;">Test new fields</span>

<span style="font-weight: 400;">Learn and teach</span>

##### <span style="font-weight: 400;">Join the sub\_groups</span>

<span style="font-weight: 400;">Each group can communicate internally as they prefer</span>

<span style="font-weight: 400;">A main repository for the project and ‘official’ sub-projects will be created</span>

<span style="font-weight: 400;">Have fun, create, report the funny moments and the great work</span>

##### <span style="font-weight: 400;">Main project meetings</span>

<span style="font-weight: 400;">On selected dates the representatives will gather and assemble the main project. </span>

<span style="font-weight: 400;">There will be a celebration of Min 1 broadcast</span>

[![image-1649702092963.png](https://wiki.betreiberverein.de/uploads/images/gallery/2022-04/scaled-1680-/XXQikHrLXQqOJXUn-image-1649702092963.png)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-04/XXQikHrLXQqOJXUn-image-1649702092963.png)

## Join Us!

## **<span style="color: #e03e2d;">Update 19.09.2022</span>**

<span style="color: #ffffff;">We are BACK!!!!</span>

**We want to thank first of all to the PCS project initiative for providing a jump-start funds and moral support to continue this project.**

##### [![NEP_logo.jpg](https://wiki.betreiberverein.de/uploads/images/gallery/2022-09/scaled-1680-/X6KHVpV4LkkQIk0X-nep-logo.jpg)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-09/X6KHVpV4LkkQIk0X-nep-logo.jpg)[![ZAM_logo.jpg](https://wiki.betreiberverein.de/uploads/images/gallery/2022-09/scaled-1680-/2G9NsvfZe3kv6hix-zam-logo.jpg)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-09/2G9NsvfZe3kv6hix-zam-logo.jpg)[![Know_how_tailing.jpg](https://wiki.betreiberverein.de/uploads/images/gallery/2022-09/scaled-1680-/GinnQNdJmVVD8CbY-know-how-tailing.jpg)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-09/GinnQNdJmVVD8CbY-know-how-tailing.jpg)

[![PCS_Logo.jpg](https://wiki.betreiberverein.de/uploads/images/gallery/2022-09/scaled-1680-/7tQWrwUWHK04iRUf-pcs-logo.jpg)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-09/7tQWrwUWHK04iRUf-pcs-logo.jpg)

This projects intends to show the potential of ZAM and the Fungarium from several perspectives and it aims to be a corner stone of future projects.

It is time time to meet and greet.

#### On <span style="text-decoration: underline;">**Wednesday 21 of September at 16:00 hrs** at ZAM </span>we will hold our first introductory meeting, **<span style="color: #e03e2d;">do not worry</span>**, we will have more introductory meetings in the future. 

Outline:

- Team Introduction
- Project description
- Budget and limitations
- Timeline and objectives
- Brainstorming solutions and ideas
- Objectives for next meeting

[![IMG_0980.jpg](https://wiki.betreiberverein.de/uploads/images/gallery/2022-09/scaled-1680-/SO1xUX9qAzzhKAtA-img-0980.jpg)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-09/SO1xUX9qAzzhKAtA-img-0980.jpg)[![IMG_0977.jpg](https://wiki.betreiberverein.de/uploads/images/gallery/2022-09/scaled-1680-/bWwQv4SAsqdQVPbe-img-0977.jpg)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-09/bWwQv4SAsqdQVPbe-img-0977.jpg)

We are always looking for contributions from all sorts. If this inspires you let us know how.

In this project, education, design ,art and sustainable values are mixed with technical skills, IoT set-ups and aims to introduce open-source data for others to use.

See you soon!!

##### <span style="color: #2dc26b;">**Takes from the last meeting:**</span>

- <span style="color: #2dc26b;">Creation of a prototype </span>
    - <span style="color: #ffffff;">We add the sensors first together, in an **empty** terrarium.</span>
    - <span style="color: #ffffff;">We discuss the position of the sensors and define the distances. </span>
    - <span style="color: #ffffff;">Planning together the top of the terrarium which should hold the camera, the Pi, and other things</span>
- <span style="color: #2dc26b;">The Terrarium:</span>
    - <span style="color: #ffffff;">30 L</span>
    - <span style="color: #ffffff;">Has a light module we could use, perhaps. </span>
    - <span style="color: #ffffff;">The lid has to be modified or totally design for our purposes</span>
- <span style="color: #2dc26b;">The sensors:</span>
    - <span style="color: #2dc26b;">Seed Studio Grove Multi-Channel Gas Sensor v2 </span>
        - <span style="color: #ffffff;"> It can detect a variety of gases, besides Carbon monoxide (CO), Nitrogen dioxide (NO2), Ethyl alcohol(C2H5CH) and Volatile Organic Compounds (VOC, other gases)</span>
    - <span style="color: #2dc26b;">Seed Studio Grove SCD30</span>
        - <span style="color: #ffffff;">It can detect carbon dioxide (CO2), temperature (C) and humidity (%rel)</span>
    - <span style="color: #2dc26b;">Capacitive-Sensing Soil Moisture Sensor</span>
        - <span style="color: #ffffff;">Analog detector which uses conductivity of water in soil to measure relative humidity. </span>
- <span style="color: #2dc26b;">The Camera:</span>
    - <span style="color: #ffffff;">Raspberry Camera Module 15 M</span>
    - <span style="color: #ffffff;">Aiming for a time-lapse</span>
- <span style="color: #2dc26b;">The Fan</span>
    - <span style="color: #ffffff;">A small fan, actually tiny, is enough to provide a movement of air within the terrarium, ensuring the exchange of air as in open air. </span>
    - <span style="color: #ffffff;">The power of the fan could be controlled</span>
- <span style="color: #2dc26b;">The pump</span>
    - <span style="color: #ffffff;">A submergible pump will provide water to the system</span>
    - <span style="color: #ffffff;">It will be a timed used (with relay) to provide control </span>
- <span style="color: #2dc26b;">Additional things to be sorted</span>
    - <span style="color: #ffffff;">Relay modules</span>
    - <span style="color: #ffffff;">The LID</span>
    - <span style="color: #ffffff;">Cables</span>
    - <span style="color: #ffffff;">Power source</span>
    - <span style="color: #ffffff;">Memory</span>

[![IMG_1996.jpg](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/scaled-1680-/TvNCFIVjDWn4GpwC-img-1996.jpg)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/TvNCFIVjDWn4GpwC-img-1996.jpg)[![IMG_1997.jpg](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/scaled-1680-/Jz0g5H9trmRlxtb9-img-1997.jpg)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/Jz0g5H9trmRlxtb9-img-1997.jpg)

<span style="color: #ffffff;">[![IMG_1998.jpg](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/scaled-1680-/qRvzMGALuGpl2Taa-img-1998.jpg)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/qRvzMGALuGpl2Taa-img-1998.jpg)[![IMG_2009.jpg](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/scaled-1680-/UcNXwlg5xjEkNJNk-img-2009.jpg)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/UcNXwlg5xjEkNJNk-img-2009.jpg)</span>

## **next meeting: <span style="color: #e03e2d;">05 / 10 / 2022!!!</span>**

We have a new member! Jonas joined the team and he will coding with us the sensors.

There was an understanding and a clearer idea of when to perform the work as well as how to work separately.

Here are the important links for our work.

**Signal group:**

**[https://signal.group/#CjQKIGeZQSdzukw4lVI7lIGZqKntJ-PHojXPaXfQw\_qaYypdEhAjQwLrDeL7gsuwKKv0JR6M](https://signal.group/#CjQKIGeZQSdzukw4lVI7lIGZqKntJ-PHojXPaXfQw_qaYypdEhAjQwLrDeL7gsuwKKv0JR6M)**

**GitHub Repository**

**[https://github.com/rubcaspac60/Fungarium-Terrarium](https://github.com/rubcaspac60/Fungarium-Terrarium)**

As we need to accommodate the information to be available for everyone, the members of the project can work on different versions and experiment freely on the codes. We can always recover the working versions and continue from where we left last week.

### **next meeting on <span style="color: #e03e2d;">19.10.2022 18 to 21 hrs <span style="color: #ced4d9;">@ ZAM's Biolab.</span></span>**

**<span style="color: #e03e2d;"><span style="color: #ced4d9;">Agenda:</span></span>**

- <span style="color: #e03e2d;"><span style="color: #ced4d9;">Introduction to RaspberryPi / Python / GitHub </span></span>
- <span style="color: #ced4d9;">Connecting our main sensors. </span>
- <span style="color: #ced4d9;">Energetic demands. </span>

**<span style="color: #e03e2d;"><span style="color: #ced4d9;"> </span></span>**

##### <span style="color: #2dc26b;">**Takes from the last meeting 19.10.2022:**</span>

**CHANGE OF PLANS!!!**

By looking at the agreed design, we have changed the design and decided to use a ESP32\_CAM module as a micro controller.

Our 3 MCU-Wifi modules and the extra camera modules will be used for controlling lighting, relays and other external additions to the terrarium exposition and display.

 We have designed the terrarium to make use of all of the available pins in the micro controller as well as having a uniquely design cover which will sit all the installations.

We have distributed the work and we begin to work...

[![IMG_2148.jpg](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/scaled-1680-/aR9rWgdK2WxB7ihJ-img-2148.jpg)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/aR9rWgdK2WxB7ihJ-img-2148.jpg)[![IMG_2150.jpg](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/scaled-1680-/DzkPSy64dz4lKCod-img-2150.jpg)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/DzkPSy64dz4lKCod-img-2150.jpg)

[![IMG_2151.jpg](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/scaled-1680-/gBIxkkNxqvsqLCKM-img-2151.jpg)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/gBIxkkNxqvsqLCKM-img-2151.jpg)[![IMG_2152.jpg](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/scaled-1680-/wn2DrDe6ReprAaVH-img-2152.jpg)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/wn2DrDe6ReprAaVH-img-2152.jpg)

#### **Design the lid for the terrarium**

**First, a CAD had to be created that met all the requirements such as all the holes for the fan, water supply, a mark for the hose that makes the water rain. Holes also had to be made for the cable ties that hold the hose. A box for the electrical components was also created. Ventilation slits and passive cooling were of course also included**

[![image-1666801524723.PNG](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/scaled-1680-/jqtI6AMzV9srKiWf-image-1666801524723.PNG)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/jqtI6AMzV9srKiWf-image-1666801524723.PNG)

[![image-1666801519559.PNG](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/scaled-1680-/Dh941CmtACCw2kyR-image-1666801519559.PNG)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-10/Dh941CmtACCw2kyR-image-1666801519559.PNG)

### **<span style="color: #e03e2d;">Update for 22/11/2022</span>**  


So much has been going on on the last 3 weeks.

- The full list of controllers is here and ready to be assembled.
- We have a new place in ZAM
- We are currently developing software

**We would like to try the first terrarium fully functional close to the end of year.**

[![ESP32.png](https://wiki.betreiberverein.de/uploads/images/gallery/2022-11/scaled-1680-/gBdNFtefQQLikjeO-esp32.png) ](https://wiki.betreiberverein.de/uploads/images/gallery/2022-11/gBdNFtefQQLikjeO-esp32.png)[![fun3.png](https://wiki.betreiberverein.de/uploads/images/gallery/2022-11/scaled-1680-/rM2KKMf2HHNjOezV-fun3.png)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-11/rM2KKMf2HHNjOezV-fun3.png)

[![Fun1.png](https://wiki.betreiberverein.de/uploads/images/gallery/2022-11/scaled-1680-/7BYOcvf4FGKJI74Z-fun1.png) ](https://wiki.betreiberverein.de/uploads/images/gallery/2022-11/7BYOcvf4FGKJI74Z-fun1.png)[![fun4.png](https://wiki.betreiberverein.de/uploads/images/gallery/2022-11/scaled-1680-/XmX5E4V3LCNYPcfn-fun4.png)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-11/XmX5E4V3LCNYPcfn-fun4.png)

### **Not all pumps are the same**  


[![IMG_2590.png](https://wiki.betreiberverein.de/uploads/images/gallery/2022-12/scaled-1680-/92QQeLAN5e7wDV88-img-2590.png) ](https://wiki.betreiberverein.de/uploads/images/gallery/2022-12/92QQeLAN5e7wDV88-img-2590.png)[![IMG_2591.png](https://wiki.betreiberverein.de/uploads/images/gallery/2022-12/scaled-1680-/nOJwYtmx1cOk6O8j-img-2591.png) ](https://wiki.betreiberverein.de/uploads/images/gallery/2022-12/nOJwYtmx1cOk6O8j-img-2591.png)[![IMG_2592.png](https://wiki.betreiberverein.de/uploads/images/gallery/2022-12/scaled-1680-/EE2AtvQbkcldhlct-img-2592.png)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-12/EE2AtvQbkcldhlct-img-2592.png)

The aim of the experiment is to have all the terrariums under the same conditions. This means same amount of water. For this reason we looked at the performance of each pump. In this way, we could place them strategically and power them for a certain time to ensure the same volume is pumped.

The results of the experiments look like this.

[![Pump_Calibration.png](https://wiki.betreiberverein.de/uploads/images/gallery/2022-12/scaled-1680-/uJG2JHWRLWLGeHhn-pump-calibration.png)](https://wiki.betreiberverein.de/uploads/images/gallery/2022-12/uJG2JHWRLWLGeHhn-pump-calibration.png)

It seems that two pumps 1 &amp; 3 are quite similar, while pump 2 is stronger.

This should be considered when placing the pumps in the final arrangement.

## Designe of the PCB for the power distribution

To collect all the date power has to be brought to all the sensors, in our case 3,3V to every sensor, and that as acurrat as possible. than there are the pumps that need 5 V and the fan with his 12V.

Yes we could buy a power supply for all the different voltages, but why not make a PCB that does the work.

#### This is the final

#### PCB-Schematic [![Schematic_Fungarium_2023-03-28.png](https://wiki.betreiberverein.de/uploads/images/gallery/2023-03/scaled-1680-/yiekWxuOXE6HZCU4-schematic-fungarium-2023-03-28.png)](https://wiki.betreiberverein.de/uploads/images/gallery/2023-03/yiekWxuOXE6HZCU4-schematic-fungarium-2023-03-28.png)

And the 3d Rendering

[![Fun.PNG](https://wiki.betreiberverein.de/uploads/images/gallery/2023-03/scaled-1680-/xQgeqhHUDoYNvkHm-fun.PNG)](https://wiki.betreiberverein.de/uploads/images/gallery/2023-03/xQgeqhHUDoYNvkHm-fun.PNG)

And a real Foto

![IMG_5614.jpg](https://wiki.betreiberverein.de/uploads/images/gallery/2023-03/scaled-1680-/fwwRNQY0zkOMdTPw-img-5614.jpg)

falls das jemand sieht könnte bitte jemand das bild drehen und dann diesen Text löschen