MicroPython-based Environment Monitoring with MATLAB-based Anomaly Detection — Seeking Feedback #18704
Replies: 1 comment 3 replies
-
|
questions:
From my experience in aby fault detecion/Robust control using micropython where microcontroller act as just Data Acquisition system and PC computing/detecting just:
In real live and practical solution You want to for example read ADC from more than 1 analog input, so then Your data frame sould have some identifier etc. Also often You want to send commands to Your DAQ (for seting parematers or just perform simulation in the loop). I Guest You will not use Matlab for RTW solution - You will just perform data acquisition , save data to file and then perform all computing for fault detection. In My solutions by the default i used to write solution for typical "simulation in the loop " i.e DAQ made form ESP32/RP2040 , where ussualy i got 2 Analog input, 2 analog output 2 DI and 2 DO as a base. What I reccoment:
Answer for : How others approach anomaly detection in similar setups. Note:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone 👋,
I wanted to share a learning project where I combined MicroPython-based IoT data acquisition with MATLAB-based anomaly detection and analysis.
🔧 Project flow:
• MicroPython is used on the microcontroller side to read environmental sensor data
• Sensor data is streamed/logged via serial
• MATLAB is used for visualization and anomaly detection on the PC side
The aim was to explore a hybrid IoT workflow where lightweight edge devices collect data,
and more powerful tools like MATLAB handle data analytics and anomaly detection.
I documented the project focusing on:
• Clean MicroPython sensor handling
• Data consistency and formatting
• MATLAB scripts for detecting abnormal sensor behavior
I’d really appreciate feedback on:
• Best practices for streaming sensor data from MicroPython
• Whether edge-side filtering is preferred over PC-side processing
• How others approach anomaly detection in similar setups
Repo (shared for learning & discussion):
👉 https://github.com/kritishmohapatra/IoT_Environment_Monitoring_With_Anomaly_Detection
Thanks to the community 🙌
Beta Was this translation helpful? Give feedback.
All reactions