Skip to content

Commit 0714123

Browse files
Copilotdorkmo
andcommitted
Fix example configuration: correct pulsesPerRev for omnipolar sensor
Co-authored-by: dorkmo <[email protected]>
1 parent 3a1efeb commit 0714123

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

TankAlarm-112025-Client-BluesOpta/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,13 +269,14 @@ Hall effect sensors can be used to measure RPM (rotations per minute) for applic
269269
{
270270
"sensor": "rpm",
271271
"rpmPin": 2,
272-
"pulsesPerRev": 4,
272+
"pulsesPerRev": 8,
273273
"hallEffectType": "omnipolar",
274274
"hallEffectDetection": "time",
275275
"highAlarm": 3000,
276276
"lowAlarm": 500
277277
}
278278
```
279+
Note: With omnipolar sensor and 4 magnets, use pulsesPerRev = 8 (2 pulses per magnet × 4 magnets)
279280

280281
**Wiring:**
281282
- Connect hall effect sensor VCC to 5V or 3.3V (check sensor datasheet)

0 commit comments

Comments
 (0)