1. Dataset Preparation
The parameters I want to capture are:
2. Software for Dataset Preparation
The software used in the Arduino BLE sense and Arduino portenta for the data collection is available from this GitHub page.
https://github.com/sw4p/Refrigerator_Predictive_Maintenance
The Dataset_Collector.ino is for the Arduino BLE sense, and the Data_Recorder.ino is for the Arduino Portenta H7 with a Vision Shield.
The Arduino BLE sense records temperature, humidity and illumination reading every 200ms. The illumination data is used to detect when the fridge door is open. If illumination is greater than 0, then the fridge door is open.
3. Data Visualization
The recorded data is in CSV (Comma Separated Value) format, and it looks like this.
Normal operation of the fridge
Normal operation of the fridge
Normal operation of the fridge
Zoomed-in view of the normal operation
Simulated abnormal operation of the fridge
Zoomed-in view of the abnormal operation
4. Data Classes
As mentioned previously, due to the unavailability of a faulty refrigerator, I have simulated the abnormal operation using just one technique. That gives me only two classes of data - normal operation and abnormal operation. Let’s make most of what I have got.
Data explorer
Impulse creation
Model testing
Set Confidence Thresholds
Show Classification
Classification Result
Wrong Classification
Prepare a firmware
Flash scripts and firmwares