Feel free to comment and change…
The idea is to have a device / firmware that can be configured somehow to support different (simple) sensors like switches, reed contacts, movement sensor etc. This would allow to have one device places somewhere and attach several sensors by cable. Example: Device placed between window that detects motion and window state (open/closed).
List of sensors (with possibility to support with few code lines) that may be supported:
Sensor / Actor | Type | I/O pins | Reaction type | Code complexity |
---|---|---|---|---|
S | Reed contact (window state) | 1 | Immediate | Easy I/O |
S | PIR | 1 Int! | Immediate | Easy I/O |
S | Temp sensor SHT1x | 2 | Poll ~5-10m | complex (protocol) |
S & A | Thermostat HR20/25 | 2 | Poll ~5-10m, Request | complex (hardware dep.) |
S | DS18x20 onewire thermal sensor | 1 | Poll | complex (protocol) |