A real-time monitoring system combining embedded hardware, analog signal processing, and a web dashboard.
This project is an IoT-based environmental monitoring system designed to collect and display real-time data such as temperature, humidity, light intensity, and gas levels. The system combines embedded hardware with a Flask-based web interface to provide both local and remote monitoring capabilities.
Initially, the system relied only on a web dashboard. However, I extended it by integrating a 128x64 OLED display (I²C), allowing real-time data visualization directly from the device ā making the system more independent and practical.
One of the most important parts of this project was learning how to work with analog signals using the MCP3008 ADC (Analog-to-Digital Converter).
The Raspberry Pi does not have built-in analog input pins, which means it cannot directly read values from sensors like LDRs. To solve this, I used the MCP3008 chip to convert analog voltage signals into digital data that the Raspberry Pi can understand.
The MCP3008 communicates using the SPI protocol (Serial Peripheral Interface), which is a fast communication method used in embedded systems.
š Learn more about MCP3008: MCP3008 Datasheet
To better understand how the system behaves in real life, I used an oscilloscope to observe the analog signals coming from the sensors.
This allowed me to:
This step was very important because it connected theoretical knowledge with real hardware behavior.
These challenges forced me to debug deeply and think like a systems engineer rather than just writing code.
good