Arduino OPTA plc
DIN Celsius
Wiring Diagram
Note: If you are new to Edge Impulse, please refer to our CLI Data Forwarder documentation for detailed instructions.
Toggle to expand - Data Forwarder Sketch
Impulse Studio
Generate Features
Training Model
Model Validation
Download Library
Toggle to expand - Inference Code Example
Your_Edge_Impulse_Inference_Library.h
with the actual header file name from your downloaded library.ANOMALY_THRESHOLD
to an appropriate value based on your model’s performance.Arduino Cloud
Blues Wireless
Global_vars
section to create shared variables that will store the results from the Edge Impulse inference. Define a shared variable for the anomaly score or classification output of the model.
Example:
Shared variable for storing inference result (e.g., float anomaly_score
).
anomaly_score
shared variable. The logic can then trigger actions based on the value, such as activating relays, generating alarms, or shutting down equipment in response to detected anomalies.
Example Ladder Logic:
Create a rung that monitors the anomaly_score
. If the score exceeds a certain threshold, the logic can trigger an alarm (e.g., turn on an LED or activate a relay).
Ladder Logic - Anomaly integration
Shared Variables
Ladder Logic Editor
Ladder Logic - Sketch Integration