XBee Expert (S2) module is an XBee ZB ZigBee Mesh Protocol primarily based wi-fi transceiver designed by Digi Worldwide with an impressive differ of 1.6 kilometres (one mile) line of sight (for 50mW, U.FL connection) and 90 metres indoors. This machine works on 3.3V DC @ 295mA in transmission mode and has a most information price of 250kbps. The information from the processor to XBee module is transmitted by means of a serial port.

Raspberry Pi Mannequin 2 is a second-generation Raspberry Pi that was launched in February 2015. It’s a Linux primarily based laptop computer and has a strong Broadcom BCM2836 ARMv7 900MHz quad-core processor and 1GB SDRAM. It has an entire of 40 pins, together with 17 pins GPIO together with HDMI, micro SD card slot, Ethernet, USB 2.zero and three.5 audio (out) ports.

Software program program program

fig 1Fig. 1: XBee Explorer shield
Fig. 1: XBee Explorer defend

There are fairly just a few working purposes designed for Raspberry Pi Mannequin 2, nonetheless most normally used are Raspbian (Linux primarily based) and Microsoft Dwelling dwelling home windows 10 IOT Core. In case you are a beginner to Raspberry Pi Mannequin 2, try the link  for information on Raspberry Pi. On this textual content, the compiler used is Python and OS required on Raspberry Pi is Raspbian.

The objective is to ship a personality on XBee module and procure it on one totally different XBee module. To ship/purchase information on XBee, the modules must be configured, and to try this the software program program program required is XCTU. XCTU is a free software program program program designed by Digi Worldwide that permits a consumer to configure XBee modules. XCTU is perhaps downloaded from the link

Circuit and dealing

The weather required are Raspberry Pi Mannequin 2, two XBee modules with Explorer shields and a few female-to-female jumper wires.

fig 2Fig. 2: XCTU software screenshot
Fig. 2: XCTU software program program program screenshot
fig 3fig 3:Configuring the COM port
fig 3:Configuring the COM port

To configure XBee module, be a part of XBee Explorer defend to a laptop computer by means of USB.

fig 4Fig 4. Bottom view of a typical XBEE module
Fig 4. Backside view of a typical XBEE module

Then run the XCTU software program program program and click on on on on ‘Add Devices’ icon. The output screenshot of XCTU is confirmed in Fig. 2. Chances are you’ll get an ‘Add radio device’ window. Affirm the COM port of the Explorer and set the baud price to 9600, information bits to eight, parity to none and click on on on on ‘Finish’ as confirmed in Fig. 3. Now click on on on on ‘XBee Module’ on the left of the Radio Configuration present show display (refer Fig. 5) to configure it. There are three kinds of    units   in a communication group: coordinator, finish machine and Now first, configure XBee as coordinator.

fig 5 Fig. 5: Radio Configuration window
Fig. 5: Radio Configuration window
fig 6Fig. 6: Configuration details of coordinator
Fig. 6: Configuration particulars of coordinator

To do this, click on on on on ‘Update Firmware,’ set it to ‘XBee coordinator AT,’ click on on on on the newest firmware available on the market after which click on on on on ‘Finish.’ Every XBee has two very important keys, SH and SL, which assist in transmission and reception of knowledge. SL is exclusive to every XBee whereas SH is comparable. The underside view of a typical XBee module is confirmed in fig 5 together with its SL quantity as 406F70BEand SH as 0013A200.The coordinator sends the information, so the XBee linked to Raspberry Pi is ready as coordinator.

Finish machine receives the information. Correct proper right here we’ll use Console Mode of X-CTU to view obtained information, subsequently, XBee linked to the laptop computer with XCTU must be set as finish machine. Router (type of repeater)is an elective mode; on this, XBee merely receives after which transmits the an an identical information, and so this mode is used to increase the differ of transmitter.To configure XB2 as finish machine, repeat the steps accomplished for configuring XB1, substitute the firmware and commerce its DH and DL values with the SH and SL values of coordinator XB1, respectively. Now XB1 can transmit information and XB2 can purchase it. You most likely can see the main points of coordinator (XB1) and finish machine (XB2) modules in Fig. 6 and Fig. 7, respectively.

You most likely can see the main points of coordinator (XB1) and finish machine (XB2) modules in Fig. 6 and Fig. 7, respectively.

Leave a Reply

Your email address will not be published. Required fields are marked *