Solar-Powered Cold Room IoT Monitoring System Development

Adequate Infosoft has developed a solar-powered cold room monitoring solution for cold-chain operations and utilized PCB design, firmware, telemetry and a monitoring dashboard based on PHP and MySQL to control the environment and monitor temperature-sensitive agricultural and pharmaceutical products.

1. About Client

Client: Zappy Logistics

In collaboration with Adequate Infosoft, Zappy Logistics created a fully integrated monitoring system that runs on solar energy and employs a series of technologies such as cold room technical solutions, specialized PCB designs, ESP32/Arduino sensor technology, embedded firmware, and a PHP-MySQL-based monitoring system.

The purpose of the system is to facilitate monitoring and visibility in places where there is no electricity from the grid and intended to be used in cold storage facilities for pharmaceuticals and foodstuff.

2. Executive Summary

AdequateSolarCold is a complete stack and open hardware solution that caters to off-the-grid cold chain installations.

As opposed to a dedicated temperature log device, this solution includes cold room engineering components, a multiple sensor telemetry edge controller, custom hardware, a PHP/MySQL monitoring service, and field testing kits all in one package.

This solution aims at providing agricultural and pharmaceutical cold storage for locations lacking grid electricity through solar energy and dense environmental sensors along with GSM telemetry.

This case study examines the technical architecture at every layer from the ArchiCAD cold-room model and the KiCAD PCB to the Arduino Mega firmware and the browser-based operations dashboard and situates the platform within the broader engineering challenge of maintaining cold-chain integrity without grid dependence.

3. Cold-Room Engineering and System Architecture

3.1 Editable Architectural Assets

The Cold Room Design module includes building assets designed in ArchiCAD 25 (.pln file format), together with CAD drawings, system schematics, and integration information.

This model allows one to record all insulation assumptions, electrical loads, and refrigeration modifications in a project change log. This way, professionals are able to assess building, electrical, and refrigeration components before installation.

This is a deliberate choice: the cold room is treated as an engineered system, not a generic insulated box, and the repository ships both editable sources and broadly viewable exports.

3.2 Power Architecture

A 24 V solar battery makes up the power core of the platform and also serves as the primary power source. The Buck Converter steps voltage down from 24 V to 5 V for powering Arduino Mega, sensors, GSM module, and signal conditioning systems, whereas the Boost Converter steps up 5 V to 12 V for powering the relay module.

The system is based on the common framework, and the user manual provides sufficient details on power distribution summary to prevent possible grounding mistakes.

The two-step conversion system highlights the peculiarity of solar cold rooms, which operate: the battery bus voltage is charged under different conditions and the electronics need a steady voltage to run unaffected by fluctuations in PV inputs.

Solar-powered cold room IoT system architecture

4. Edge Telemetry Hardware: Sensors, Controller, and Communications

4.1 Sensor Array Topology

It is a highly unusual sensing layer to use with an Arduino-type controller. There is a provision of fifteen DHT22 digital sensors, fifteen GY-90614 infrared sensors, relay module, current sensor, and voltage sensor.

These 30 sensors have been placed strategically in the cold chamber to measure the spatial temperature gradient instead of taking the temperature reading of one spot. This is very necessary in the case of cold chain validation where there can be warm spots close to door or evaporator coil.

The DHT22 sensors are connected to individual digital pins on the Arduino Mega (D4–D13, D33, D31, D29, D27, D25), while all MLX90614 units share the I²C bus on pins D20 (SDA) and D21 (SCL).

The MLX90614 is capable of detecting temperatures of objects remotely. The object range that can be detected by the device ranges from −70 °C to +380 °C, while its standard accuracy at room temperature is ±0.5 °C.

As the default I²C address of the MLX90614 is 0x5A, yet it allows programming of the device's address, the software assumes "deployment-specific I²C addresses" for the array of sensors with a maximum of fifteen IR sensors.

4.2 Controller and Communications

The edge controller selected is the Arduino Mega 2560 owing to its vast array of GPIOs and various hardware serial communication options, making it effective in driving fifteen DHT22 data pins at the same time as the GSM modem.

The GSM/GPRS connectivity has been provided by a SIM800C module connected to Serial3 (pins D14/TX3 and D15/RX3) supporting "compatible GSM/GPRS modem" software, which requires the setup of mobile APN configuration before uploading firmware. The power measurement capability is done through the ACS712 current sensing (A15) and voltage sensing modules (A14).

Cold room IoT telemetry data flow workflow

5. PCB Design and Hardware Documentation

5.1 KiCAD Design Flow

The PCB design module is created using KiCAD 9.0.3 and includes the following modules of hardware design process: schematic (.kicad_sch), PCB (.kicad_pcb), Gerber fabrication files, NC drill files, BOM, pick and place, assembly PDF file, and STEP 3D model for integration with the enclosure. The file structure of the project isolates the fabrication files into their own separate folders (Gerber/, NC Drill/, PCBA/, ExportSTEP/).

5.2 Open Hardware Licensing

The design for the hardware is licensed through CERN-OHL-S v2.0, a reciprocal open hardware license with strong requirements that mandate that any derivative work must remain open under the same license. The software and firmware are covered by the MIT License, while the documentation is licensed using the CC BY 4.0, three licenses in total.

6. Firmware Engineering and Commissioning Discipline

The firmware (src/solar_cold_controller.ino) has four primary duties, which include sensor array data gathering from DHT22 and MLX90614 sensors, taking electrical measurements, relays control based on configuration, and sending data to the monitoring service.

Prior to the programming process, five constants for deployment should be set: DEVICE_ID, TELEMETRY_ENDPOINT, MOBILE_APN, sensor mapping, and I²C addresses. The sample endpoint utilizes the .invalid domain on purpose to avoid accidental data sending during testing on the bench.

The archive includes a procedure for commissioning in six steps, where firmware testing is regarded as the next phase: compiling for the specific versions of the board and libraries, testing for reactions of the device in case of sensor failures or data out of range, testing relay outputs without load, testing the hardware for its inabilities to accept faulty or unauthorized telemetry, testing all sensors and documenting the current version of firmware and results of testing process.

This commissioning process includes a solution to a wide-spread problem faced by users of Arduino-based telemetry systems, whereby success in compilation and data presentation is regarded as the final stage prior to deployment.

7. Monitoring Backend: PHP/MySQL Telemetry Service

7.1 Service Architecture

The monitor layer is a PHP 8.1+ application with support from MySQL 8+ or MariaDB 10.6+, running with the document root as public/. The configuration is entirely based on the environment, where the database host, port, name, user, password, ingestion token, and time zone are provided using environment variables.

The README explicitly warns that credentials previously embedded in upstream examples should be considered compromised and rotated, reflecting a security-hardening posture appropriate for a platform derived from earlier open-source components.

Cold room IoT mobile app dashboard and sensor monitoring UI

7.2 Endpoints and Ingestion Security

The service offers four endpoints: GET / for the landing page, GET /dashboard.php for the last telemetry dashboard, GET /fetch_data.php?limit=100 for the JSON feed of the history, and POST /insertrecordGET.php for ingesting data. When the SOLARCOLD_INGEST_TOKEN is set, the devices must provide the same value through an X-Ingest-Token header.

Telemetry data should consist of: Id of device (D_id), temperature and humidity of DHT22 sensor (d_h, d_t), temperature reported by MLX90614 sensor (m_Ot) and reference temperature (m_rt), voltage (v), current (c), array data of sensors must be a list of finite floating-point numbers in the amount of maximum ten.

The production checklist states that HTTPS protocol must be used; error display must be disabled; network access to the database must be limited; throughput of the ingestion token must be unique, and data should be rate-limited.

Cold room IoT mobile app analytics alerts and settings

8. Field Validation and Safety Testing

The module for system testing uses the validation process where the equipment that is being used includes a Fluke 179 multimeter and a Testo 605i hygrometer and has 48 hours stress test and a safety test for leakage current and emergency shutdown.

Artifacts of calibration, test plan, and test results provide an audit trail for field affecting changes. User manual provides all necessary information for replicability and field repair without firmware reverse engineering.

9. Engineering Assessment and Outlook

Adequate Solar Cold is a platform, rather than a product: what makes Adequate Solar Cold stand out is the combination of physical design of the cold room along with edge sensing and telemetry backend, all available under permissive licenses.

With 30 sensors, we have a level of spatial density that basic loggers cannot offer, and the GSM connection does away with the necessity of setting up any local network infrastructure.

DHT22 sensor is an inexpensive device, but it lacks traceable calibration necessary for the pharmaceutical cold chain a properly designed version would require calibrated sensors and measurement uncertainty budget.

The Arduino Mega's single-threaded loop and limited RAM constrain on-device buffering during GSM outages, making the backend's tolerance for delayed uploads a critical design assumption. The SIM800C is a 2G module, and 2G network sunsets in many markets will force a future migration to LTE-M or NB-IoT.

The best part about the platform that could be used in any future endeavor is its testing process, which requires the evaluation of sensor failure, relay isolation, malformed telemetry detection, and calibration to a reference value before accepting the device as a reliable one.

This process, coupled with the editable cold room design and the licensed hardware providers, allows for the creation of a platform that has the potential to grow from an off grid trial to a fully calibrated cold chain instrument.

Project Repository: github.com/IoT-App-Development-Company/AdequateSolarCold

What Our Clients Say About Us

Client satisfaction is our ultimate goal. Here are some kind words of our precious clients they have used to express their satisfaction with our service.

Leadership That Leads Worldwide

With a physical presence in over 15 countries and a global footprint spanning 25+ countries, we are ready to serve you anywhere. Location, language, or culture is never a barrier, because our global team can work with you in your language. Our strong international team ensures seamless collaboration across borders We have a strong tech team, highly recognized in their domains, with extensive technical expertise.