multi_sensor_device
This is an old revision of the document!
Table of Contents
Feel free to comment and change…
Idea
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).
Issues
- Not everything can be supported by one firmware
- Firmware has to be changed to be more modular so support for different sensors can be commented in/out easily. → One could then make a small number of such “multi purpose firmwares”.
- How to transmit status? → One packet (defined new) or one per sensor (more modular).
Possible Sensors
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 | Poll ~5m | 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.) |
multi_sensor_device.1381678850.txt.gz · Last modified: 2013/10/13 17:40 by GoHoHa