A seven-tier growing module with its own controllers

Each module stacks seven growing tiers. Every tier has its own LED bar, air temperature and humidity sensor, and controller.

Seven-tier growing module, schematic elevation Seven growing tiers stacked in one rack. Each tier has an LED bar above the plants, a temperature and humidity sensor, and its own tier controller. A field bus links the tier controllers to a module controller at the top. 7 tiers 7 6 5 4 3 2 1

Schematic elevation, not to scale.

The module

Seven-tier racks are built to our drawings by a contract manufacturer. Three sets were invoiced in December 2024.

What we design

  • Embedded controllers and the sensor network
  • FarmOS, the farm-management software
  • Rack drawings
  • The in-rack air-distribution duct, designed with CFD

What we buy in

  • LEDs and LED drivers
  • Pumps
  • HVAC units
Design render of the Interfarm seven-tier growing module with plants on every tier
Design render of our seven-tier growing module.

Detail A: one tier

  1. LED bar, dimmed per tier from our dashboard.
  2. Air moving over the canopy. Design target: 0.3–1.0 m/s. Target
  3. Air temperature and humidity sensor (Sensirion SHT4x), one per tier.
  4. Tier controller: STM32F401, running FreeRTOS.
  5. RS-485 Modbus RTU field bus to the module controller.
Detail A: one growing tier One tier between two rack posts. 1: LED bar above the plants. 2: air moving over the plant canopy. 3: air temperature and humidity sensor. 4: tier controller outside the post. 5: field bus to the module controller. 1 2 3 4 5

Schematic only, not to scale.

Climate and airflow

We designed an in-rack air-distribution duct with CFD (computational fluid dynamics). Under TÜBİTAK project 3231634, we compared seven duct and nozzle variants in SimScale, using the k-omega SST model.

CFD velocity map of the in-rack air-distribution duct across seven tiers
CFD study of our in-rack air duct (TÜBİTAK project 3231634, SimScale): velocity magnitude, 0–2.5 m/s.

Target Our design target is an air speed of 0.3–1.0 m/s over every tier's canopy. Published studies link this range to lower tipburn risk [1, 2].

Every tier measures its own air temperature and humidity (Sensirion SHT4x). Each module also measures CO2 (Sensirion SCD4x).

Tier-level air-speed and light maps will be part of our next trial report.

Lighting

Under KOSGEB R&D project 60TZK, officially completed in June 2024, we built dimmable LED grow-light bars from Samsung mid-power LEDs and Mean Well drivers.

The bars are dimmed per tier by 1 kHz pulse-width modulation, in steps from 0 to 1,000. The level is set remotely from our dashboard, and the controller reports back the applied value.

In our 2024 light-mapping tests, white reflective side panels raised the average PPFD under our LED bars by about 75% at the same power. PPFD is photosynthetic photon flux density.

In development Our next-generation LED board has four channels: red, white, blue and far-red, at 48 V. It is designed in-house and is at the pre-prototype engineering stage. Tunable spectrum is therefore still in development.

We will publish LED efficacy only after independent integrating-sphere (LM-79) testing of production-intent boards.

Design render of a frame of dimmable LED grow-light bars
Design render of the dimmable LED grow-light bars developed under KOSGEB R&D project 60TZK.

Control and software

  1. Tier controller × 7

    One on every tier: STM32F401, running FreeRTOS. Reads air temperature and humidity; dims the tier's LED bar.

    RS-485 Modbus RTU field bus

  2. Module controller

    One per module: STM32F407, running FreeRTOS. Measures CO2 and switches four relay outputs.

  3. Gateway

    ESP32-C3, version 3.0 (January 2026).

    MQTT

  4. FarmOS

    Server, database and dashboard for monitoring, history, remote lighting and relay control.

Sensor data travels up this chain to FarmOS. Lighting and relay commands travel back down to the controllers.

How the stack behaves

Each module controller has four remotely switchable relay outputs, for example for HVAC, a humidifier and a pump. Their states survive resets and power cycles.

Firmware cleans sensor data with outlier rejection, a trimmed mean, exponential smoothing and a deadband. Watchdogs, CRC-protected parameter storage and CRC-16 framed links add reliability.

During 2025 prototype operation, the telemetry pipeline (controller, MQTT, server, database) carried sensor data from six tiers.

FarmOS provides a climate dashboard, per-tier monitoring with history charts, remote lighting and relay control, and task management. Its sensor-log reports are organised by facility, area, module and tier.

Control: design and roadmap

During TÜBİTAK project 3220859 (2023) we designed a rule-based (Sugeno) fuzzy-logic controller for climate and nutrient set-points.

FarmOS and our controllers provide remote monitoring and manual control of lighting and relay-switched equipment, while the HVAC equipment runs on its own thermostats.

Roadmap Integrated automatic control is on our roadmap.

Sources

  1. Zhang Y, Kacira M, An L (2016). A CFD study on improving air flow uniformity in indoor plant factory system. Biosystems Engineering 147: 193–205. doi.org/10.1016/j.biosystemseng.2016.04.012
  2. Lee JG and others (2013). Effects of air temperature and air flow rate control on the tipburn occurrence of leaf lettuce in a closed-type plant factory system. Horticulture, Environment, and Biotechnology 54(4): 303–310.