Clock & Timer Circuit DiagramsLCD-LED DisplayRemote Circuit Diagrams

ZigBee Switching for Remote Control Schematic Circuit Diagram

The ZigBee standard defines data formats known as ‘profiles’. These ensure that products produced by different manufacturers are interoperable. One of the first data formats to be developed out was the Home Controls–Lighting (HC-L) profile. This is designed for sending simple on/off messages, and its main purpose is designed to remove the need
to run cables to wall-mounted light switches in buildings. However, that’s not to say that you can’t use it for switching anything else, for example, to add Zig- Bee remote control to your projects. The Pixie Switcher from Flexipanel ( is a commercially available HC-L switching module with integral antenna and up to 8 switching control lines known as endpoints (EPs). When configured as an input, the endpoint voltage is monitored. If it changes state, a message is generated as required. ‘On’, ‘off’ and ‘toggle’ messages are supported by all devices using the HC-L profile.

ZigBee Switching for Remote Control Schematic Circuit Diagram 1

ZigBee Switching for Remote Control Schematic Circuit Diagram 2

When configured as an output, the endpoint’s digital output corresponds to the last message received from a switching input. Input endpoints to output endpoints correlation is managed by one-time setup procedures called ‘joining and binding’. When first powered up, a device will look for a ZigBee network to join. Security permitting, any router node can then allow the new node to become its neighbour in the network. Once the new node has become a mem-ber of the network, its inputs and outputs must be ‘bound’ to corresponding outputs and inputs on other nodes in the network. This is achieved by pressing the ‘bind’ button on both devices at the same time. One input can control multiple outputs and vice versa. For example, it would be quite feasible for a bedside or hallway switch to turn off all the lights in the house. A typical application circuit is shown in the schematics, where one Pixie Switcher unit has been configured to have two inputs and the other to have two outputs.

This configuration must be done prior to placing the modules in the circuit shown, using the RxD and TxD serial interface pins (not shown). Figure 1 shows the transmitter. The ModeA and ModeB pins are grounded, so the transmitter will operate in sleep mode and only wake up when a button is pressed. The modules can run at anything between 2.1 V and 3.3 V, so it can be connected directly to two AA batteries.

The Bind input and Status LED are only used during joining and binding. When the pushbuttons connected to EP1 and EP2 are pressed, messages are transmitted to the receiver. Figure 2 is the receiver. By setting ModeB high, it is configured as a router. This means it can allow battery powered sleeping devices (such as the transmitter) to join it as a neighbour. Routers, however, must be always-on and so are not really suited to battery powering. ModeA is also wired High, indicating that this router is in fact a coordinator. The difference between the two is that when a coordinator powers up, it starts a new network instead of looking for an existing one to join. Every Zig- Bee network has one coordinator. If further routers nodes were added to this network, they would have to have the ModeA pin low. EP1 and EP2 on the receiver are connected to relays via MOSFET driver transistors. The relay contacts can then be connected to any project circuit.


Related Articles

Leave a Reply

Your email address will not be published.

Back to top button