Skip to content

Instantly share code, notes, and snippets.

View electromechpro's full-sized avatar

electromechpro

View GitHub Profile
@electromechpro
electromechpro / EdgeDrainV4_0.ino
Created October 27, 2025 20:55
EdgeDrainV4_0.ino
/*
Edge Drain version 4.0 (ver 3.8 functionality with AI designed Enhanced Web UI)
ScioSense UFM-01 ultrasonic flow sensor
*/
//Watchdog Timer
#include <WDT.h>
const long wdtInterval = 5592; //CC 5592ms is max for Uno R4
unsigned long wdtMillis = 0;
const int pirPin = A1;