{"id":27637014,"url":"https://github.com/hajjsalad/embedded-ai-for-predictive-maintenance","last_synced_at":"2025-04-23T21:15:50.603Z","repository":{"id":288693757,"uuid":"966348632","full_name":"HajjSalad/Embedded-AI-For-Predictive-Maintenance","owner":"HajjSalad","description":"Industrial-grade data logger using STM32 and Zephyr RTOS for real-time sensor data collection and on-device anomaly detection with TensorFlow Lite for Microcontrollers.","archived":false,"fork":false,"pushed_at":"2025-04-19T02:20:07.000Z","size":197,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T21:15:46.609Z","etag":null,"topics":["c","dfu-util","embedded","factory-method-pattern","predictive-maintenance","stm32","tensorflow-lite","zephyr"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HajjSalad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-14T19:34:46.000Z","updated_at":"2025-04-19T02:20:10.000Z","dependencies_parsed_at":"2025-04-20T13:17:28.738Z","dependency_job_id":null,"html_url":"https://github.com/HajjSalad/Embedded-AI-For-Predictive-Maintenance","commit_stats":null,"previous_names":["hajjsalad/embedded-ai-for-predictive-maintenance"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HajjSalad%2FEmbedded-AI-For-Predictive-Maintenance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HajjSalad%2FEmbedded-AI-For-Predictive-Maintenance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HajjSalad%2FEmbedded-AI-For-Predictive-Maintenance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HajjSalad%2FEmbedded-AI-For-Predictive-Maintenance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HajjSalad","download_url":"https://codeload.github.com/HajjSalad/Embedded-AI-For-Predictive-Maintenance/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250514777,"owners_count":21443219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","dfu-util","embedded","factory-method-pattern","predictive-maintenance","stm32","tensorflow-lite","zephyr"],"created_at":"2025-04-23T21:15:49.965Z","updated_at":"2025-04-23T21:15:50.597Z","avatar_url":"https://github.com/HajjSalad.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Embedded AI Data Logger for Predictive Maintenance\n\n---\n### 📌 Project Overview\n\n---\n### 🔧 Key Features\n✅ **Modular \u0026 Scalable Design**  \n\u0026nbsp;\u0026nbsp;\u0026nbsp;🔹 **Factory Design Pattern** in C++ for dynamic creation of Machines.  \n\u0026nbsp;\u0026nbsp;\u0026nbsp;🔹 **Plug-and-play expandability**: Add more Machines for larger deployments.  \n\n✅ **Multi-Sensor Monitoring**   \n\u0026nbsp;\u0026nbsp;\u0026nbsp;🔥**Air Compressor**: Temperature, Pressure, Vibration     \n\u0026nbsp;\u0026nbsp;\u0026nbsp;💧**Steam Boiler**: Temperature, Pressure\n\u0026nbsp;\u0026nbsp;\u0026nbsp;♨️**Electric Motor**: Tempearture    \n\u0026nbsp;\u0026nbsp;\u0026nbsp;*( )*   \n\n✅ **On-Device Detection**   \n \n\n\n---\n### 🏗 System Architecture\n```\n[Sensors] → \n```\n### 🛠️ Tools and Software\n𐂷 **Sensor Node**  \n\u0026nbsp;\u0026nbsp;\u0026nbsp;⎔ **VS Code** - Code editor for STM32 firmware development       \n\u0026nbsp;\u0026nbsp;\u0026nbsp;⎔ dfu-utils -        \n\u0026nbsp;\u0026nbsp;\u0026nbsp;⎔ CMake -   \n\n---\n### 📂 Project Code Structure\n```\n📁 Data-Logger-Predictive-Maintenance/\n│── 📁 src/\n│   ├── 📄 main.c                             (Entry point of the program)\n│   ├── 📄 sensor.cpp / .h                    ()\n│   ├── 📄 sensor_wrapper.cpp / .h            ()\n│   ├── 📄 tflite_wrapper.cpp / .h            ()\n│   ├── 📄 autoencoder_model.cc               ()\n│── 📁 CMakeLists.txt/\n│── 📁 prj.conf/\n│── 📁 sample.yaml/\n│── 📁 tflite-micro/\n│   ├── 📄 tensorflow/                        ()\n│   │   ├── 📄 lite                           () \n│── 📁 data/\n│   ├── 📄 simulated_data.py                 (Python script to simulate sensor data)\n│   ├── 📄 simulated_data.zip                (Compressed simulated sensor data)\n│   ├── 📄 autoencoder.tflite                \n│   ├── 📄 simulated_data                    \n│   │   ├── 📄 machine_1                     (Machine type 1: Air Compressor)\n│   │   │   ├── 📄 machine_1_temp.csv        (Temp sensor values)\n│   │   │   ├── 📄 machine_1_pressure.csv    (Pressure sensor values)\n│   │   │   ├── 📄 machine_1_vibration.csv   (Vibration sensor values)\n│   │   ├── 📄 machine_2                     (Machine type 2: Steam Boiler)\n│   │   │   ├── 📄 machine_2_temp.csv        (Temp sensor values)\n│   │   │   ├── 📄 machine_2_pressure.csv    (Pressure sensor values)\n│   │   ├── 📄 machine_3                     (Machine type 3: Electric Motor)\n│   │   │   ├── 📄 machine_3_temp.csv        (Temp sensor values)\n│── 📄 README.md  (Documentation)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhajjsalad%2Fembedded-ai-for-predictive-maintenance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhajjsalad%2Fembedded-ai-for-predictive-maintenance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhajjsalad%2Fembedded-ai-for-predictive-maintenance/lists"}