A live digital twin of the Arduino Uno system. Close a fault switch on any phase line and watch the relays scan, the Uno measure A0, the IoT dashboard update and the AI layer react.
Voltage divider: V(A0) = 5 V × Rcable / (1 kΩ + Rcable). No fault reads 5 V; a nearer fault reads lower.
Ageing is sped up: 1 second here stands for about 1 day of insulation wear. The fixed thresholds only react once the cable is fully shorted; the AI watches the slow voltage drift before that.