Zigbee Application Guide

From Flowcode Help
Jump to navigationJump to search

Introduction

These examples demonstrate the use of the Flowcode Zigbee component.

In particular they make use of up to three sets of the EB051 E-blocks Zigbee boards, connected to EB006 E-blocks PICmicro multiprogrammers fitted with a 16F1937 microprocessor.

However, the examples are easily changed in Flowcode to support other microprocessors and platforms.

The Matrix TSL EB421SI6 Easy Zigbee bundle has all the items required for these sample applications and is an ideal introduction to Zigbee technology.


Setting up the project hardware

Connect the E-Blocks as indicated in the table below.

The Zigbee, LCD and Switch E-Blocks all need to be powered via wire connections to the +V on their respective EB006 upstream processor board.


Hardware Setup
Node 1 Node 2 Node 3
EB006 PICmicro multiprogrammer EB006 PICmicro multiprogrammer EB006 PICmicro multiprogrammer
Port B EB005 E-blocks LCD board Port B EB004 E-blocks LED board
Port C EB051C E-blocks Zigbee board Port C EB051R E-blocks Zigbee board Port C EB051R E-blocks Zigbee board
Port D EB007 E-blocks push-to-make switch board


Example 1: Simple two node connection example

FC6 Icon.png Simple Two Node Connection Example (Node 1) FC6 Icon.png Simple Two Node Connection Example (Node 2)

Example 1 is a simple 2 node system. The Coordinator node 1 starts up the network and then checks to see if node 2 is available. Once node 2 has been detected any incoming data from node 2 is displayed on the LCD display. The data on node 2 is specified by pressing a switch on the switch E-Block connected to Port D.