You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TankAlarm-112025-Client-BluesOpta/README.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,12 +83,24 @@ The client creates a default configuration on first boot. You can update configu
83
83
-**High Alarm**: Threshold in inches for high level alert
84
84
-**Low Alarm**: Threshold in inches for low level alert
85
85
-**Analog Pin**: Arduino Opta analog input (A0-A7, I1-I8)
86
-
-**Sensor Type**: "voltage" (0-10V) or "current" (4-20mA)
86
+
-**Sensor Type**: "voltage" (0-10V), "current" (4-20mA), or "digital" (float switch)
87
87
-**Min Value**: Minimum sensor value (e.g., 0.0V or 4.0mA)
88
88
-**Max Value**: Maximum sensor value (e.g., 10.0V or 20.0mA)
89
89
-**Min Inches**: Tank level in inches at minimum sensor value
90
90
-**Max Inches**: Tank level in inches at maximum sensor value
91
91
92
+
### Float Switch Configuration (Digital Sensors)
93
+
Float switches can be configured as either normally-open (NO) or normally-closed (NC):
94
+
95
+
-**Digital Switch Mode**: "NO" (normally-open) or "NC" (normally-closed)
96
+
-**NO (Normally-Open)**: Switch is open by default, closes when fluid reaches the switch position
97
+
-**NC (Normally-Closed)**: Switch is closed by default, opens when fluid reaches the switch position
98
+
-**Digital Trigger**: When to trigger the alarm
99
+
- "activated": Alarm when switch is activated (fluid present for NO, fluid absent for NC)
100
+
- "not_activated": Alarm when switch is not activated
101
+
102
+
**Wiring Note**: For both NO and NC float switches, connect the switch between the digital input pin and GND. The Arduino uses an internal pull-up resistor, and the software interprets the signal based on your configured switch mode. The wiring is the same for both modes - only the software interpretation changes.
0 commit comments