Chat with us now!
Home Features Industries Contact Ready-To-Use Hardware WhatsApp Us Get a Quote
💾 Grow Room Firmware & CRM

Industrial Firmware
& Cloud CRM

The full software stack powering Contol-X grow room controllers. Bring your own hardware — our battle-tested firmware, HMI logic, and cloud CRM platform handle everything from Modbus registers to WhatsApp OTP login.

💾 Modbus RTU Register Map
🔄 Ramp Engine
📋 8-Stage Recipe System
☁️ Cloud CRM
📱 WhatsApp OTP Auth
🔒 Role-Based Access
📡 OTA Updates
🔬

Firmware & Control Algorithms Designed with Expert Scientific Guidance

Every control loop, stage setpoint, ramp algorithm, CO₂ threshold, humidity curve, and temperature regime in this firmware was designed in direct consultation with over 50 PhD-holding scientists and researchers specializing in mushroom mycelium biology, substrate physiology, environmental cultivation science, and commercial fungiculture. The logic is not guesswork — it reflects decades of peer-reviewed laboratory and field research, translated into real-time embedded automation code.

50+ PhD Scientists
Product Video

See the System Running Live

Watch the full automation stack in action — firmware, HMI, cloud CRM, sensor data, relay control, and stage management running in a real grow room facility.

// CONTOL-X GROW ROOM FIRMWARE — REGISTER SNAPSHOT
// ─── LIVE REGISTER SNAPSHOT ───────────────────────────────────────────── REG[0000] CO2_PPM = 794 // Measured CO₂ concentration REG[0001] HUMIDITY_PCT = 741 // Relative humidity ×10 (74.1%) REG[0002] TEMP_T1 = 242 // Room air temp ×10 (24.2°C) REG[0003] TEMP_T2 = 258 // Substrate core temp ×10 REG[0004] TEMP_T3 = 186 // Ambient corridor temp ×10 REG[0005] TEMP_T4 = 314 // Panel enclosure temp ×10 REG[0006] TEMP_T5 = 000 // Spare probe (not connected) REG[0007] RELAY_D0 = 0 // Heating relay — OFF REG[0008] RELAY_D1 = 1 // CO₂ injection — ON REG[0009] RELAY_D2 = 0 // Cooling — OFF REG[0010] RELAY_D3 = 1 // Humidifier — ON REG[0011] DOOR_STATE = 0 // Door closed // ─── SETPOINTS & CONTROL PARAMS ───────────────────────────────────────── REG[0100] SP_CO2 = 20000 // CO₂ setpoint (ppm) REG[0101] SP_HUMIDITY = 850 // RH setpoint ×10 (85.0%) REG[0102] SP_TEMPERATURE = 240 // Temp setpoint ×10 (24.0°C) REG[0103] GROW_STAGE = 1 // 0=Manual 1=Spawn 2=Casing 3=Fruit 4=Harvest REG[0104] STAGE_ELAPSED_D = 3 // Days elapsed in current stage REG[0105] AUTO_ADVANCE = 1 // Auto stage progression enabled REG[0106] RAMP_ACTIVE = 1 // Gradual ramp engine running REG[0107] EMERGENCY_STOP = 0 // Emergency stop cleared REG[0108] TEMP_SENSOR_SEL = 0 // 0=T1 Room 1=T2 Bag 2=Average // ─── RAMP ENGINE PARAMETERS ───────────────────────────────────────────── REG[0200] RAMP_CO2_RATE = 500 // ppm per hour transition rate REG[0201] RAMP_RH_RATE = 20 // % per hour transition rate REG[0202] RAMP_TEMP_RATE = 5 // °C per hour transition rate REG[0203] RAMP_CO2_EFF = 18500 // Current effective CO₂ (ramping) REG[0204] RAMP_RH_EFF = 831 // Current effective RH ×10 REG[0205] RAMP_TEMP_EFF = 236 // Current effective Temp ×10
Firmware Architecture

Five Layers. One Control System.

The firmware is structured in discrete functional layers — each independently tunable, each communicating through a defined register interface.

Contol-X firmware architecture — 6 layers: sensor acquisition, ramp engine, control loop, stage engine, cloud sync, HMI interface
01
📡
Sensor Acquisition Layer
Continuously reads all 7 sensors on configurable intervals. Handles NTC probe thermistor linearization, CO₂ NDIR conversion, and RH capacitive sensing. All values stored in holding registers at 10x precision for integer Modbus compatibility.
02
🔄
Ramp Engine
When a stage transition occurs or a setpoint is changed, the ramp engine intercepts and gradually transitions the effective setpoint at a user-configured rate (ppm/hr, %/hr, °C/hr). The control loop follows the effective value, not the target — eliminating shock transitions for sensitive mycelium.
03
⚙️
Control Loop
Bang-bang controllers with independent configurable hysteresis for each relay. Temperature control reads from the user-selected probe (room, bag core, average, or any individual sensor). CO₂ and RH follow their respective stage setpoints — or ramped effective values.
04
🌱
Stage Engine
Manages 5 standard stages (Manual, Spawning, Casing, Fruiting, Harvest) plus up to 8 named custom recipe stages. Tracks elapsed days, evaluates auto-advance conditions, and applies the next stage setpoints through the ramp engine when stage transitions occur.
05
☁️
Cloud Sync & Command Layer
Pushes live register data to the cloud CRM on a configurable interval. Polls for pending commands from the web panel (setpoints, stage changes, emergency, ramp parameters, recipe uploads). Commands are validated, applied to registers, and acknowledged with HTTP status codes.
06
📺
HMI Interface Layer
Drives the panel HMI display with parsed screen templates. Processes button events from the operator interface. All HMI inputs translate to register writes — no separate code path. Supports panel lock/unlock, field calibration, supervisor messaging, and OTA trigger.
Firmware Capabilities

What the Firmware Does

A complete list of every controllable behavior built into the grow room firmware — from sensor calibration to recipe management to OTA updates.

Modbus RTU Register InterfaceFull 450+ register map covering every sensor, setpoint, control flag, stage variable, and recipe slot — readable and writable by any Modbus master
Gradual Ramp TransitionsCO₂, RH, and temperature setpoints ramp gradually between stages at user-defined rates — no abrupt environmental shocks to the mycelium
5-Probe Temperature ArchitectureFive individually calibrated NTC probes with roles: room air (control), bag core (metabolic monitoring), ambient (reference), panel (equipment protection), spare (custom use)
Selectable Control ProbeChoose which temperature probe drives heating and cooling relay logic: room air, bag core, average of all active probes, or any individual probe by register write
Stage Auto-AdvanceConfigurable elapsed-day trigger per stage. When the stage duration expires, the firmware automatically transitions to the next stage and begins ramping all setpoints
8-Slot Custom Recipe SystemUpload up to 8 fully named custom cultivation stages, each with independent CO₂, RH, temperature, and duration settings. Load any recipe from cloud or HMI
Field Sensor CalibrationNTC probe calibration via known-reference temperature input. CO₂ and RH offset calibration. All calibration values stored in non-volatile memory and persist across power cycles
Emergency StopImmediate all-relay cutoff via register write, HMI button, or physical panel button. Emergency state persists in non-volatile memory — intentional clear required before restart
Panel Lock & Supervisor UnlockNumeric PIN protection for HMI setpoint changes. Supervisor unlock code is network-tied — changes with each device session for security
Over-The-Air Firmware UpdateOTA update triggerable from HMI panel or cloud command. Controller downloads and applies new firmware without physical access — zero downtime production updates
Simulation ModeToggle sensor simulation mode for testing and commissioning — the firmware runs the full control loop with synthetic sensor values, validating stage logic without physical installation
Supervisor MessagingHMI operator can compose and send a text message directly to the grow room owner via WhatsApp from the panel — without phone access
Stage Day CorrectionManually adjust the elapsed day counter for any stage — compensate for power outages, planned holds, or schedule adjustments without restarting the grow cycle
Non-Volatile State PersistenceAll setpoints, stage, calibration values, recipe slots, and control flags are saved to flash memory. Full state restoration after power failure — no manual re-entry required
Network & Cloud Health MonitoringLAN connectivity, internet reachability, and cloud push success status are stored in registers and displayed on HMI — operators can see if the system is reporting correctly
Register Map

Modbus RTU Holding Registers

Key register addresses. Every sensor reading, setpoint, and control flag is accessible via standard Modbus RTU. Compatible with any industrial Modbus master, SCADA system, or custom integration.

AddressNameDescriptionAccessScale
0000CO2_PPMLive CO₂ concentration in ppmRead×1
0001HUMIDITY_PCTRelative humidity ×10 (741 = 74.1%)Read×10
0002–0006TEMP_T1…T5Temperature probe T1–T5 ×10 (242 = 24.2°C)Read×10
0007–0010RELAY_D0…D3Relay output states (0=OFF, 1=ON)Read
0011DOOR_STATEDoor sensor (0=closed, 1=open)Read
0100SP_CO2CO₂ setpoint target (ppm)R/W×1
0101SP_HUMIDITYRH setpoint ×10R/W×10
0102SP_TEMPERATURETemperature setpoint ×10R/W×10
0103GROW_STAGEActive stage (0=Manual … 4=Harvest)R/W
0104STAGE_ELAPSED_DDays elapsed in current stageR/W
0105AUTO_ADVANCEEnable automatic stage progression (0/1)R/W
0106RAMP_ACTIVERamp engine running flag (read-only status)Read
0107EMERGENCY_STOPEmergency state (0=clear, 1=active)R/W
0108TEMP_SENSOR_SELControl probe selection (0=T1, 1=T2, 2=avg)R/W
0200–0202RAMP_RATE_CO2/RH/TEMPRamp transition rates (ppm/hr, %/hr, °C/hr)R/W×1
0203–0205RAMP_EFF_CO2/RH/TEMPCurrent effective (ramping) setpoint valuesRead×10
0300–0363STAGE_DEFAULTS[4]Default CO₂/RH/Temp/Duration for 4 standard stagesR/W
0400–0463RECIPE_SLOTS[8]8 custom stage recipe slots with names and setpointsR/W
Full register documentation is provided with firmware deployment. Includes all 450+ addresses, data types, scaling factors, write constraints, and example Modbus RTU frame sequences.
Cloud CRM Platform

Manage Every Grow Room. From One Dashboard.

The Contol-X CRM is the operations backbone — remote control, user management, audit trails, and recipe distribution across all your grow rooms from a single web interface.

Contol-X Cloud CRM — WhatsApp OTP login, role-based access, remote setpoints, recipe management, emergency stop, audit log
📱

WhatsApp OTP Authentication

No passwords to remember. Login is a WhatsApp one-time code sent to your registered number. Secure, fast, and works from any device.

👥

Role-Based Access Control

Super Admin controls everything. Admin can change setpoints and recipes. Team Member has read-only access. Assign roles per user per location.

🌐

Multi-Location Management

Manage controllers across multiple facilities from one account. Each location is a separate namespace with its own user roster and settings.

📡

Remote Setpoint Control

Change CO₂, RH, and temperature targets for any room remotely. Commands queue and deliver on next controller poll — confirmation returned via HTTP status.

🌱

Stage & Grow Management

Switch grow stages, enable or disable auto-advance, manually correct elapsed stage days, and push stage changes across all rooms simultaneously.

📋

Recipe Library & Distribution

Build and store custom grow recipes in the cloud. Push any recipe to any controller instantly — scientific protocols deployed across your entire farm in seconds.

Emergency Stop (Remote)

Trigger or clear emergency stop for any room from the web panel. All relay outputs cut immediately on the next controller poll cycle — average response under 10 seconds.

🔄

Ramp Parameter Management

Enable or disable gradual ramp mode, set transition rates for all three parameters, and monitor ramp progress from the cloud dashboard.

📊

Live Data Snapshot

Real-time JSON snapshot of all sensor readings, relay states, stage information, and system health — available via the web panel or REST API endpoint.

📜

Command Audit Log

Every command sent — who, what, when, and the controller's HTTP response code. Full accountability trail for compliance and multi-operator environments.

🧪

Simulation Mode Toggle

Switch any controller between live sensor mode and simulation mode remotely — ideal for commissioning, training, and testing without disrupting production.

🔒

Encrypted & Provisioned

Each controller is provisioned with unique device credentials at deployment. All cloud communication is encrypted. No shared API keys across devices.

Connected Platforms

One System. Every Interface.

The Contol-X platform ships with a native Android & iOS app, a full browser-based Web Manager, and the Observatory — a scientific analytics suite for serious growers.

📱

Android & iOS App

Native mobile app — full control panel on your phone. Push alerts, live sensors, stage management — all over mobile data or local Wi-Fi.

  • Live sensor dashboard with push alerts
  • Remote setpoint control on the go
  • Grow stage switching from your phone
  • Multi-room view — all facilities in one app
  • WhatsApp OTP login — no passwords
  • Works over mobile data or local Wi-Fi
  • Emergency stop from anywhere
🖥️

Web Manager

Full-featured browser control surface — recipe library, user management, harvest records, multi-room dashboard — everything in one tab.

  • Role-based user management dashboard
  • Recipe library: build, save, push to any room
  • Multi-room unified control surface
  • Harvest cycle tracker and comparison
  • Setpoint scheduling and stage automation
  • Command audit log with timestamps
  • Share dashboard links with management
🔬

Observatory

Scientific-grade environmental analytics — time-series charts, statistical overlays, ramp timelines, and cross-cycle comparisons for grow science.

  • CO₂, RH, Temperature overlay charts
  • Setpoint vs actual vs ramp effective line
  • Statistical min / max / average per parameter
  • Stage transition markers on all charts
  • All 5 NTC probes on one comparison chart
  • Harvest cycle vs cycle comparison
  • CSV export for external analysis
Data Observatory

Historical Intelligence, Real-Time Visibility

Every data point from every sensor is stored, indexed, and visualized in the Contol-X Data Observatory — a configurable analytics platform built for grow room operations.

Contol-X Data Observatory — Ramp Timeline with RH and Temperature Tracking
// LIVE CAPTURE — RH & TEMPERATURE RAMP TIMELINE. SETPOINT VS EFFECTIVE VS SENSOR VALUE.
📊 CO₂ Trend + RampThree-line chart: actual ppm, target setpoint, and effective (ramping) CO₂ — see the ramp engine at work over time
📊 Humidity Trend + RampRH sensor vs effective setpoint vs target — validate that ramp transitions match your cultivation protocol exactly
📊 Temperature TrendAll temperature probes charted together — detect metabolic heat spikes in bag core vs room air in real time
⚡ Relay Activity TimelineWhen every relay switched, for how long, and how many times per hour — relay health and energy analytics
🚪 Door Event LogEvery door open/close event with timestamps and duration — detect unauthorized access and protocol violations
📋 Stage Progression LogFull stage history for every grow cycle — when stages advanced, what triggered them, and elapsed duration
🔧 System Info PanelLive stage name, days elapsed, auto-advance state, ramp status, CO₂ flag, and RH control flag at a glance
🗂️ Configurable ViewsBuild any panel, any chart type, any time window. Share links with management, investors, or compliance auditors
Stage Defaults

Pre-Loaded Cultivation Profiles

The firmware ships with four standard mushroom cultivation stages pre-configured. All setpoints are fully editable from the HMI or cloud — and completely overridable by custom recipes.

⚙️
Manual
CO₂: custom
RH: custom
Temp: custom
🌱
Spawning Run
CO₂: 20,000 ppm
RH: 85%
Temp: 24°C · 14 days
🌿
Casing & Pinning
CO₂: 1,200 ppm
RH: 90%
Temp: 18°C · 7 days
🍄
Fruiting Flush
CO₂: 1,000 ppm
RH: 88%
Temp: 16°C · 5 days
🏆
Harvest & Rest
CO₂: 2,000 ppm
RH: 80%
Temp: 15°C · 4 days
📋
Custom Recipes
Up to 8 stages
Any name · Any setpoint
Auto-advance logic

Deploy the Firmware on Your Hardware?

Already have industrial hardware? We can deploy the Contol-X firmware and CRM platform on compatible controllers. Contact us for integration specifications and licensing.