Monitoring CO2 Level using IoT Sensors

IoT platform for real-time CO2 monitoring with cloud architecture
Real Brainstack Project — This blog details a production IoT platform we designed and built end-to-end. See our full case studies →

Introduction

IoT sensors for CO2 monitoring are essential tools for tracking and managing carbon dioxide levels in various environments. These sensors provide real-time data, which is crucial for maintaining air quality and ensuring safety in both indoor and outdoor settings.

We had the opportunity to work for one renowned organisation, manufacturing multi-parameter sensing products to capture the most meaningful data and make it accessible across diverse applications. The organisation wanted to create a single platform that could be used not only by their internal resources, but by people who buy their products and organisations implementing supporting firms.

A single platform was built that could not only serve different personas, but could be used for indoor quality monitoring, industrial safety, and environmental monitoring.

Platform Capabilities

Real-time Monitoring

These sensors continuously measured CO2 levels and transmitted data to centralised systems (cloud platforms), allowing for immediate analysis and action. The real-time monitoring capability ensures that any dangerous level of CO2 can be detected and addressed immediately.

Multi-parameter Measurement

Manufactured CO2 sensors also measured other environmental parameters such as temperature, humidity, and barometric pressure, providing a comprehensive view of the environment. This multi-parameter approach ensures a holistic understanding of environmental conditions.

Multi-tenant Ecosystem

A multi-tenant ecosystem was developed, allowing end users and implementation supporting firms to use a single platform for accessing metrics. This architecture ensures data isolation while maximising resource efficiency.

System architecture diagram showing multi-tenant IoT platform on AWS IoT Core

Key Areas Where Brainstack Helped

Brainstack provided end-to-end support in putting the entire ecosystem in place, from device setup to visualization, ensuring a robust and scalable solution.

Device(s) Setup Assistance

Our team provided comprehensive support in setting up and configuring IoT devices, ensuring seamless integration with the platform. This included firmware configuration, network setup, and initial testing.

IoT Configuration for CO2 Sensors

We configured the sensors to optimise data collection frequency, accuracy, and power consumption. The configuration was tailored to specific use cases, whether for indoor monitoring or industrial safety.

Architecture, Design and Development

At Brainstack we are great at ensuring our customers understand exactly what they will achieve as a result of our work even before we close a SOW, and this engagement wasn't any different. We took our time for our customer to help them selecting the cloud services provider that will not help them today, but tomorrow as well with growing needs.

A multi-tenant, highly available and scalable design has been put on the AWS Cloud to AWS IoT Core as it helped devices to connect securely and interact with cloud applications. Devices used MQTT protocol to transmit data securely & AWS IoT Core was configured to route data to persistence, and observations engine for handling emergency situations.

UX Design for Mobile and Web Application

Our design team created intuitive and responsive interfaces for both web and mobile platforms. The design focused on making complex data accessible and actionable for users of all technical levels.

Visualization and Analytics

Visualizations and Analytics was handled using Brainstack's very own product, capable of ingesting data and processing it for quality (de-duplication, estimation, etc.). The platform provides real-time dashboards, historical trend analysis, and predictive analytics capabilities.

A Microservices architecture approach was taken to build a highly scalable, resilient and modular application, all developed using open-source libraries. All server-side components were developed using Java, and user interfaces were developed using React.js. This architecture ensures that the system can scale horizontally and handle increasing loads efficiently.

Data pipeline table showing ingestion, processing, and analytics flow

Key Benefits Delivered

Improved Air Quality Management

Real-time monitoring enabled proactive measures to maintain optimal air quality, ensuring the health and safety of occupants in monitored environments.

Enhanced Safety Compliance

The system helps organisations comply with safety regulations and standards by providing continuous monitoring and automated alerts for dangerous CO2 levels.

Data-Driven Decision Making

Comprehensive analytics and visualisation tools enable stakeholders to make informed decisions based on historical trends and real-time data.

Scalable Multi-Tenant Platform

The architecture supports multiple organisations and users on a single platform, reducing costs while maintaining data security and isolation.

Conclusion

This project demonstrates the power of combining IoT sensors with cloud platforms and modern application architecture. By leveraging event-driven architecture and microservices, we created a robust, scalable solution for environmental monitoring. The platform not only meets current needs but is designed to evolve with future requirements, showcasing Brainstack's commitment to delivering sustainable, future-proof solutions.

Building an IoT or Event-Driven Platform?

We design and build IoT platforms, real-time data pipelines, and event-driven architectures on AWS. From device integration to visualisation — we handle the full stack.

Tag:IoT,Sensors,Real-time,AWS,Microservices