Skip to content

vquang2003/PM25-Sensor-Simulation-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PM2.5 Dust Sensor Simulation & Data Processing

This repository contains the C source code developed for a Programming Techniques course project at Hanoi University of Science and Technology.

Project Overview

The project simulates PM2.5 sensor data (Task 1), processes the data to identify outliers and calculate Air Quality Index (Task 2), and converts data into a byte-stream format for transmission (Task 3).

Implementation Details

  • Language: C
  • Compiler: GCC
  • Architecture:
    • Task 1: Implements command-line argument parsing and data generation.
    • Task 2: I implemented this section using a modular approach with four separate files to ensure better isolation of logic for data validation, outlier detection, and AQI calculation. (Note: While the academic requirement was for a single file, I chose this structure for better code maintainability).
    • Task 3: Handles data conversion and checksum calculation.

Contributors

  • Tran Viet Quang: Primary developer of Task 1 and Task 2 logic.
  • Ha Kieu Hai: Collaborator.

About

Academic project for sensor data simulation and processing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages