There are some references to v1, but the new version 2 files are attached.
The Room Board is a small board with sensors for in-house monitoring of some basic parameters:
- temperature - either an SHT11 sensor or a DS18B20 1-wire sensor
- humidity - via that same SHT11 sensor
- motion - one of two different types of passive infrared detector (PIR)
- light - via an LDR
Different configurations are supported – from including the relatively expensive SHT11 to omitting the motion sensor. Depending on configuration, 1 to 3 resistors have to be added.
The Room Board is placed over opposite ports on a JeeNode (1+4 or 2+3), like a mini-daughterboard.
The ELV PIR sensor was replaced by a no-brand one with the following specifications:
See this post on the daily weblog for more details.
There are no switches or jumpers to configure on the Room Board PCB after construction, you must choose which components to add when building.
- Either PIR or EPIR can be used, but not both, and either SHT11 or DS18B20.
- If a Zilog EPIR is used, the LDR must be connected to LDR2, else to LDR1.
- If the EPIR sensor is used, then R1 and R2 must also be added (both 100 kΩ).
- If the DS18B20 1-wire sensor is used, then R3 must be added (4.7 kΩ).
See this forum post for details about how to match up the sketch and room board orientation.
See the PIR Module subassembly section for its configuration.
There are several PIR module variants with differences in power requirements and signal output configuration.
The following refers to all variants.
At power up, the PIR module can spend around 2 minutes adjusting to the background infrared (IR) radiation, with multiple false 'EVENT DETECTED' outputs.
The "warm up" behaviour is from the initialisation of the combined analogue/digital motion detection circuit. The IR detector itself is fast, but with a tiny output signal mixed with random noise. The amplified sensor output is integrated with a long time constant to estimate the current background IR radiation, then this level is adjusted to fall roughly centred between an upper and lower limit. Event triggering then occurs on a rapid input change that goes outside that 'dead band'. Very slow changes (e.g. as the room temperature changes) are ignored and gradually re-adjust the position of the 'dead band'.
The design depends on the multi-faceted Fresnel lens - lots of small observation zones are interleaved, so IR radiated from a body in motion passes from 'odd' zones to 'even' zones and back in succession, generating an 'up' then a 'down' event at the threshold detector. Those get 'OR'd together and drive a re-triggerable monostable. The on-board variable resistor adjusts the 'EVENT DETECTED' (Tx) time period over a wide range from ~1second to minutes.
The two-position jumper directly controls Pin1 on the BISS0001 chip (H and L are marked on the silkscreen), centre pin goes to P1, H is Vcc, L is GND.
The function is to enable (H) or disable (L) re-triggering of the output signal, meaning if there is further motion detected during the EVENT DETECTED state time (length Tx), then extend the EVENT DETECTED state for at least another Tx.
The driver is only interested in events and applies its own time constant on how fast/often to report multiple events. Best settings for the driver are to minimise Tx (pot fully CCW) and enable re-triggering (Jumper H).
Positioning the sight line of the lens is important - e.g. pointing to an area that receives strong sunlight can generate a triggers from passing clouds.
Note: these detectors are NOT suitable for PRIMARY intrusion alerting. There are well known (to the dishonest community) tricks that can defeat most PIR designs when positioned OUTSIDE.
If the DS18B20 sensor is used, it needs mounting differently from the labeling on the board!
Dimensions: 21.1 x 21.6 mm
CadSoft EAGLE design files: see below.
This plug can be operated at 5V as well as 3.3V - but only without EPIR present.
This board uses the conventions of a JeePlug and can be used with the ports on a JeeNode. It can also be used with other boards and MCU's, if you hook it up properly and adapt the interface code for it.
How to Get It¶
h. Related Weblog Posts
- 2009-10-10 - Room sensor board
- 2010-02-02 - Room Board assembly
- 2010-11-28 - Meet the new Room Board v2
There's an excellent post on the forum about how to use the PIR with the Room Board (note that the output state descriptions there refer to one particular variant of the module only).