XigBee in Broadcast Configuration

 

Hello technosiasts,

In the previous blog on XigBee we have discussed about configuring the modules in order to enhance stringent communication between two modules. However, in order that two or more modules to communicate simultaneously substantiates the need for its re-configuration onto broadcast. Broadcast configuration facilitates an added advantage of communication between many modules.

Hardware Prerequisite:

  1. XigBee  with base board. It is readily available from our online Store. (You can use ZigBee baseboard itself ,if you have one.)
  2. Serial to TTL or CP2102.(You can purchase it from our Store as well).

Software Prerequisite:

  • PuTTy-an open source terminal emulating software ,serial console.(You can download it from here)

Pin Connections:

  1. Connect XigBee Vcc with that of 3.3V of CP2102.

  2. Connect XigBee GND with CP2102 GND.

  3. Cross-connect TX pin of XigBee with RX pin of CP2102 and vice-versa.

wireconnect

Follow these steps carefully for reconfiguration into broadcast,

Step 1:Connect  XigBee with CP2102. Now, insert CP2102 onto USB port of PC. Open Putty. Select its Serial  button. Specify the port number( it can be identified using device manager in windows OS). Specify supporting baud rate. Press Open button. (You can open two serial terminals simultaneously if two modules are connected).

 

 

Step 2: To change address for broadcasting, enter into config mode( once the address has been set previously to restrict communication between two modules). Use the steps from previous blog for XigBee to enter into config mode.

Step 3: Make write address and read address same for all the modules. For example, if you are broadcasting for 3 modules ensure to make reading and writing address of all modules same.

Type AT+WADD=<type write address> eg:AT+WADD=12345 to change the write address.

Type AT+RADD=<type read address> eg: AT+RADD=12345 to change the read address same as write address.

Type AT+REBOOT to restart the module in order to apply the changes.

XIGLATEST

 

Step 4: Now, you can broadcast your data via all the modules which have been set in this format. Here, I have set three modules which are now broadcasting data.

Note:Although,broadcast configuration is replicated here. You can follow the same commands to convert your modules in accordance with the needs to your required specific addresses.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s