ZIGBEE (Tarang F4) interfacing with microcontroller ...

ZIGBEE (Tarang F4) interfacing with microcontroller

                         When there is a need of long range two way communications in hobby electronics most of the people prefer "ZIGbee" modules. there are several zigbee modules available in the market...with several ranges and qualities..

Tarang F4 is also a similar module.....
So let's see how to use these modules for normal full duplex serial communication with UART:
  1.  This module can be easily interfaced with  any 8 bit microcontroller with all standard baud-rates between 1200 to 115200.   
  2. Each module consists of a 16 bit address. So user must provide a source address and destination address while configuring the module. which means only the destination module with matched address can only receive the data.
  3. User can select the RF channels among 16 channels with addresses from 0x00 to 0x0F. The modules must be in same channel to establish the communication between them. 
 lets check the pin configuration of this module


Tarang module works on 3.3v  power supply. so sufficient voltage regulator must be used.
WORKING PROCESS:

By default the tarang F4 module: works at baud-rate of : 9600
                      source address : 0x1000   (hexadecimal)     
destination address : 0x1000            
RF channel : 0x00     
it means :
"by default any tarang F4 module can communicate with any other module".
 So tarang modules can be directly interfaced with microcontroller with baudrate of 9600. The connection circuit will be as follows.

 


NOTE: if your microcontroller is working at 3.3V then you can directly interface it to the microcontroller. if your microcontroller is working at 5V connect a resistor of 100ohms between TXD pin of MCU and Din pin of Tarang F4.