Overview
***also see data sheet attached at the bottom of the page.
The Zone Gateway (ZG) is one of the main components of the Hausmate system and it collects raw digital and analogue inputs from sensors and switches and sends the output data to the Host. The ZG allows easy connection of cables to sensors and output devices, as well as protection to the ZG processor IC (Integrated Circuit) input/output (I/O) pins.
In a typical installation there will usually be one or two Zone Gateways per floor, each of them with an unique configuration which reflects the inputs it monitors and the outputs that it controls.
Each ZG has ten RJ45 sockets, each socket being configured by the Host, which holds details of the connections of every pin in every socket and sends appropriate configuration to the ZG.
The ZG is connected to the building standard LAN (Local Area Network) using the UDP protocol (User Datagram Protocol).
It is powered via the Ethernet connection from the PoE (Power over Ethernet) Network switch, so they do not require another power source. It is normally plugged into the first PoE port on the switch and other units (e.g. CCTV camera, Wireless Access Points etc.) are plugged in after.
Hardware
The hardware used is currently a Freetronics Ethermega Arduino clone (add more info about Arduino ?)
Sizes required:
-
allow a minimum of 225 x 125 x 35 mm (W x H x D) for the unit and cable trunking extra.
-
ten cables with RJ45 along bottom long edge
-
one cable along right - hand short edge
ZG LEDs significance:
-
Red - OFF - no power
- Blue - it flashes every time a message is sent/received to/from the Host
- Amber - currently not used
- are set to identify each ZG in an installation
Pin | Twisted pair | PoE | D-Link DGS PoE | DMX | encoder / RGB LED | 3 i/p SB(Sensor Board) |
CAT5 Wire color | Rocker switches |
1 | 1 | V+ | V+ | data+ | chA (dig i/p int) | Ambient light (anl i/p1) | white/orange | 1st (left) switch |
2 | 1 | V+ | V+ | data- | chB (dig i/p) | Temperature (anl i/p2) | orange | 2nd switch |
3 | 2 | V- | V- | 0V | 0V | white/green | 0V (common for all switches) | |
4 | 3 | V+ | V+ | button dig i/p) | PIR (dig i/p1) | blue | 3rd switch | |
5 | 3 | V+ | V+ | V+ (5v0) | V+ (5v0) | white/blue | 5V (not used) | |
6 | 2 | V- | V- | PWM1 (anl o/p) Green | door (dig i/p2) | green | 4th switch | |
7 | 4 | V- | V- |
PWM2 (anl o/p) Red |
humidity (anl i/p3) | white/brown | 5th switch | |
8 | 4 | V- | V- |
PWM3 (anl o/p) Blue |
Spare (dig i/p3) | brown | 6th switch |
- Sockets 1-4: connect to the I/O pins which can handle switches, encoders, the RGB LED indicators of the Haze, or any digital I/O compatible with the Ethermega.
- Socket 5: is a group of I/O pins which cand handle switches, encoders or any digital I/O compatible with Ethermega, but cannot drive the RGB LEDs as it does not have any analogue output ability.
- Sockets 6-10: are connected to the I/O pins which can handle analogue inputs (x3) and are used to connect to the Sensor Board.
Zone Gateway I/O socket wiring table
RJ45 wiring |
SK 1-4 |
For switches/ encoders/RGB-LED/ general I/O |
SK 5 |
For switches/ encoders/ general I/O |
SK
6-10
|
For punchdown SU/ 3 anl input SU/ general I/O |
standard wire color | pin | description | pin | description | pin | description |
white/orange | 1 |
dig I/O 1, (enc chA) |
1 | dig I/O 1, (enc chA) | 1 |
anl I/O 1, dig I/O 4, (light) |
orange | 2 |
dig I/O 2, (enc chB) |
2 | dig I/O 2, (enc chB) | 2 | anl I/P 2, dig I/O 5, (temperature) |
white/green | 3 |
0 volts, GND |
3 | 0 volts, GND | 3 | 0 volts, GND |
blue | 4 | dig I/O 3, (enc button) | 4 | dig I/O 3, (enc button) | 4 | dig I/O 1, (PIR) |
white/blue | 5 | +5 volts | 5 |
+5 volts |
5 |
+5 volts |
green | 6 | dig I/O 4, PWM1, (LED grn) | 6 | dig I/O 4, PWM1, (LED grn) | 6 | dig I/O 2 |
white/brown | 7 |
dig I/O 5, PWM2, (LED red) |
7 | dig I/O 5, PWM2, (LED red) | 7 | anl I/P 3, dig I/O 6, (humidity) |
brown | 8 | dig I/O 6, PWM3, (LED blu) | 8 | dig I/O 6, PWM3, (LED blu) | 8 | dig I/O 3 |