Home

Tarang - Product Manual

image

Contents

1. 14 4 3 Mechanical Dra wingS 15 5 Interface and Operation 2 22 nn ene n enn n enn AAN AAN nnenenenns 16 5 1 Serial Interface 16 5 2 I O IntefacesS 17 6 Module Configuration 22 2 22252 22525252252505220250500502 5200 nA ANA NAA NANAH 19 6 1 Command Mode 19 6 2 Module Programming 21 7 Tarang Networks 22 252 225252522525052202500220220022 LA mene LA LAN LA LANANN AAN AN ANN NNAN 22 8 TarangNet 5 5555555555252525252525252525252525252525250505050505050505050505050555055555555 5 55555 22 8 1 Network Types 22 252 2252525225250222022002202 ALA LAN NLA LAN LA LANLA LAN LA LAN NN AAN NAN NNAN 22 8 1 1 Unicast Network 23 Tarang
2. 42 9 3 3 Host to Tarang Module 43 NW address based Regular Data Transfer 43 NW address based Ping Request 43 MAC address based Ping Request 44 User ID based Ping Request 44 MAC address based Regular Data Transfer 44 User ID based Regular Data Transfer 45 Remote parameter settings 45 Network address based DIO status transfer 46 MAC address based DIO status transfer 46 User ID based DIO status transfer 46 Network address based ATD DIO query 47 MAC address based ATD DIO queryi 47 User ID based A
3. 9 3 Tarang F20 5 55555525252525252525252525252525252525252520250505050505050505050505050n0n5n5n5nAnA5555 10 3 1 Specification 10 3 2 Electrical CharactensticS 11 3 2 1 DC Characteristics ss aa 11 3 2 2 ADC Characten sticsS 11 3 2 3 Modem CharactensticS 11 3 3 Mechanical Dra wingS 12 4 Tarang F4 000000000000000000000000000000020sere2es00 00r0r0r0r0r0r0s0s0s0s0s0 9 13 4 1 Specification 13 4 2 Electrical Characten sticsS 14 4 2 1 DC Characteristic S 14 4 2 2 ADC Characteristics 14 4 2 3 Modem Cha racten sticS
4. miowvotage atogtainoas o sl la Output Low nad Output High Ma Voltage All Digital O utp uts 3 1 Na 4 2 2 ADC Characteristics aa i ma _ i Reference Supply IREF Curent Disabled orSleep 01 0 02 Mode i Analog t ose En vo v Analog input must be between Veer and Vrem for valid conversion The Resolution is the Ideal Step Size 1LSB VReFH Vreri 1024 4 2 3 Modem Characteristics a a 7 Cae Power Down Tarang user manual Page 14of 52 si Melange Systems Private Limited Wireless controls in action 4 3 Mechanical Drawings Melange Systems 29 6 Tarang F 4 All dimensions are in mm Top View Side View Tarang user manual Page 150f52 Melange Systems Private Limited 2 Wireless controls in action 5 Interface and Operation The Tarang modules interface to a host device through a logic level asynchronous serial port Through its serial port the module can communicate with any logic and voltage compatible UART or through a level transator to any serial device For example RS 232 or USB interface board 5 1 Serial Interface Tarang can be interfaced with a micro controllerora PC using serial port with the help of Serial Port Melange Systems Tarang F A id Z re Standard appropnate level conversion Fig 5 1 Example of Serial Interface Note CTS and RIS are optional Refer pin configuration for pin details Tarang suppor
5. parallel 4 As far as possible obstacles should be avoided in the communication path between the modules Metallic objects and concrete walls produce a lot of attenuation and these must be avoided to the extent possible 5 When using wire antennas the wire may be bent only if necessary But in that case the wire can be bent away from the module but never over the module itself as shown below Wire antenna n Modue rs Acceptable Unacceptable Tarang user manual Page 5lof52 Wireless controls in action si Melange Systems Private Limited 11 Hardware Versions Version no Supports Additional Hardware Changes All the listed functionalities in User Manual V 2 2 None 0 2 All the listed functionalities in user manual V2 2 I O Pins 21 22 included for future development 12 Firmware Versions Version no Supports Additional AT commands added EK 1 Serial interface and basic functionality 1 1 1 Handshaking signals 2 Seep modes 3 Digitall O interface 1 storing permanent serial number 2 Duplex communication 1 Enhancement to seep modes None 1 Bulk file transfer with enabling handshake and a acknowledgement 3 Mesh functionalities with enhancement in fla sh none parameter handling 1 1 1 1 1 1 0 5 1 Changed from 8to 10bit ADC ATIDA sampling time for 2 DIO ADC can be enabled simultaneously ATD DIO m 7 13 Contact Melange Systems Mela nge Systems Pvt Lt
6. Enter into Command Mode ATNCH Enter Current value lt C R gt Read Channel ATNCHF Enters OK lt CR gt Modify Channel ATGWR lt Enter gt OK lt CR gt Write to memory ATGEX lt Enter gt OK lt CR gt Exit Command Mode Tarang user manual Page 210f52 Wireless controls in action si Melange Systems Private Limited 7 Tarang Networks Tarang supports two types of networking protocols 1 TarangNet Simple configuration and operation gt Point to point Point to multipoint networking 2 TarangMesh gt Supports proprietary mesh networking protocol The user needs to specify the choice of the protocol before procuring the modules The default protocol provided with the module is TarangNet 8 TarangNet TarangNet uses the simpler form of networking between Tarang modules and it supports point to point and point to multipo int networks by simple configuration Every RF data packet sent on air contains a Source Address and Destination Address field in its header To send a packet to a specific module usng 16 bit addressing set the destination address parameter to the desired address All the modules can be configured with their own unique 16 bit addresses Nodescan be grouped to communicate among themselves with the PAN ID parameter Tarang module provides 16 different channels for RF communication and each direct sequence channel has 64K unique network addresses 8 1 Network Types TARANG supports the following types of n
7. Gaw 14 VREF Input Reference Voltage for Analog Input Feature under development 1 3 Tarang Variants MODULE Transmit Power Power Supply Antenna Options Typical Tarang F30 30 dBm 1 W MMCX Connector Tarang F20 18 dBm 60 MW 3 3V MMCX Connector Chip Antenna Wire Antenna Tarang F4 0 dBm 1 mW 3 3V MMCX Connector Chip Antenna Wire Antenna Tarang user manual Page 60f 52 si Melange Systems Private Limited Wireless controls in action 2 Tarang F30 2 1 Specification Note Tara ng F30 has inte mally uses 3 3V for module operation limiting the extemal voltage on I O to 3 3V Power Supply Voltage Vcc Transmit Current ldle Rec eive Current Power down Current Operating Freguency ISM 2 4 GHz Range elevation Supported Network Point to point Point to multipoint amp Peer to peer Topologies Numberof Channels 16 Direct Sequence Channels Addressing Options PAN ID Channel and Addresses Tarang user manual Page 7of 52 Wireless controls in action si Melange Systems Private Limited 2 2 Electrical Characteristics 2 2 1 DC Characteristics maan Output Low sf aoe 5 Output High gng Voltage All Digital O utp uts 2 2 2 ADC Characteristics mana 2 Curent isa bled or Seep aa e ea oo wa Analog Input Voltage we e e Analog input must be between Vrerl and VrerH for valid conversion The Resolution is the Ideal Step Size 1LSB VReFH Vreri 1024 2 2 3 Modem Cha
8. and the payload should not exceed the Length the exceeded payload will be lost UserID based Regular Data Transfer 0x2B 0x0040 0x03 OxCDAF1276 0x31 0x32 0x33 This type sends the payload data 123 to the specified destination OxC DAF1276 The Destination should be the User ID and the payload should not exceed the Length the exceeded payload will be lost Remote parameter settings This type remotely changes some particular parameter values The parameters that can be changed remotely are Channel Ping Ena ble Disable ACK mode Ena ble Disable ATD DIO select ATD DIO configuration bits ATD DIO sample rate The payload field is 12 byte long and ispackaged as follows Address Paramet Channel Ping ACK ATD DIO ATD DIO ATD DIO er Fields E D mode select Configuration Sample rate E D We can change these parameters either through NW address or MAC address In order to set these remote parameters using NW address send that NW address in the Destination field followed by 32 bit data of zero s in Address field in the payload In order to set these remote parameters using MAC address send OxFFFFFFFF in the Destination field followed by the MAC address in Address field in the Payload Tarang user manual Page 45 of 52 Wireless controls in action si Melange Systems Private Limited The parameter field indicates which para meter isto be changed in the remote s
9. si Melange Systems Private Limited 9 2 5 Version amp Serial Number Commands AT Description Parameterand Range Default Command VHW Hardware Version Readsthe hardware version number Read Only VFW Firmware Version Reads the Firmware version number Read Only Tarang user manual Page 410of 52 Ca Melange Systems Private Limited Wireless controls in action 9 3 Applic ation Programming Interface Mode API Mode Tarang Mesh modules provide foran API mode of operation wherein interfaced hosts or micro controllers follow a communication protocol with a Tarang Mesh node asa result of which mesh communication is more controlled and more flexible A particularly useful configuration would be API mode operation at the root node and a non API mode operation at the nodes where devices like sensors meters are interfaced The API mode is enabled through the ATcommand ATG AP 9 3 1 API MODE SPECIHCATIONS Host to Tarang Module Prototype Start Hag Packet Type Data Length Destination Payload Tarang Module to Host Prototype Start Hag PacketType Data Length Source Payload 9 3 2 List of API packet types Packet Type Functionality Ox0001 Network address ba sed regular data transfer 0x0002 Network address based Ping Request Registration details 0x0004 Ping Response Registration details 0x0008 MAC address based Ping Request Registration details
10. then allocates intemal network addresses as required Once nodes are associated with root nodes send registration message to root as given below 32bit Network 32bit MAC 32bit Ro uter 32bit Ro uter MAC 32bit User address address networkaddress address address The Mesh network usesa root originated network address for all intemal communication For end user convenience TarangMesh network also supports two additional addressing schemes 1 The use of factory set 32 bit serial numbers refered ashardware address 2 User configured 32 bit addresses referred as user IDs Tarang user manual Page 34of 52 Wireless controls in action si Melange Systems Private Limited While these kinds of addresses are convenient to use the network address based communication is more efficient in terms of routing resources used Users are encouraged to use the network address to hardware user ID translation functions provided by TarangMesh for efficient mesh networking Additionally a TarangMesh node can be configured asa mobile device These do not route packets and are characterized by setting its address to FFFFFFFE These mobile devices do not register with any routerand can transmit receive data asand when they need to Among others these could be useful in asset tracking and location identification solutions Data transmitted from the mobile device is received by all routers in the vicinity and sent to the root The r
11. this mode 1 Active Mode When it receives an RF Packet or serial data present in Tra nsmit Buffer 2 Sleep Mode When sleep mode condition is met 3 Command Mode When command sequence is received 8 2 2 Active Mode Data Transmission Tarang modules receive the data from host through the serial port Next step before transmitting the data on airis pac ketization This part includes adding a communication header etc The output power of the TARANG module can be configured through Output Power ATPOP parameter depending upon the range of application The out put power parameter ranges from 0 to 0xOF TARANG Output Power r 40 30 S r 2 5 5 10 F4 Output Power aa aa 5 F20 Output Power Charr yt 1 0 5 F30 Output Power a z p A 10 8 a 2 ja Nd N 20 z T T T T T ii T T i T T T j T T T 30 01 2 3 4 5 6 7 8 9 A B CD FE F Power Level Settings Hex Serial Data is buffered in the Transmit buffer until one of the following causes the data to be packetized and tra nsmitted Tarang user manual Page 26 0f 52 Wireless controls in action si Melange Systems Private Limited 1 No serial characters are received for the amount of time determined by the TO Timeout parameter The TO parameter currently is a read only parameter whose value is based on the configured baud rate of the serial port 2 The maximum n
12. user manual Page 20f 52 Wireless controls in action si Melange Systems Private Limited 8 1 2 Broadcast Network 23 8 1 3 Peer to Peeror Point to point Network 24 8 2 Modes of Operation T T 25 8 2 1 Idle Mode 26 8 2 2 Active Mode 26 8 2 3 Sleep Mode 28 8 3 Table of CommandS 29 8 3 1 General ComMmandsS 29 8 3 2 Networking Commands 29 8 3 3 Serial Interfacing Command5s 30 8 3 4 Power Control 31 8 3 5 Input output ControlS 32
13. 0x0010 UserID based Ping Reguest Registration details 0x0020 MAC addressbased regular data transfer 0x0040 UserID based regulardata transfer Tarang user manual Page 42 of 52 Ca Melange Systems Private Limited Wireless controls in action Ox0080 Remote Parameter settings using Network MAC addresses Ox0100 Network address based DIO status tra nsfer 0x0110 MAC address based DIO status transfer 0x0120 UserID based DIO status transfer 0x0140 Network address based ATD DIO query 0x0180 MAC addressbased ATD DIO query 0x0200 UserID based ATD DIO guery 0x0400 Exit from API mode 9 3 3 Host to Tarang Module NW address based Regular Data Transfer 0x2B 0x0001 0x03 0x00000003 0x31 0x32 0x33 This type sends the payload data 123 to the specified destination Ox00000003 The Destination should be the NW address and the payload should not exceed the Length the exceeded payload will be lost NW address based Ping Request 0x2B 0x0002 0x00 0x00000003 This type pings the module to send its registration details to it based on its NW address Don t send any payload in this type as it s of no use The Destination should be the NW address 0x00000003 of the module whose registration details is required Tarang user manual Page 43 0f 52 Wireless controls in action si Melange Systems Private Limited Res
14. 24 8 B 2 7 18 4 26 4 C 1 0 18 6 28 4 D 0 3 19 0 28 8 E 40 4 19 0 28 8 F 40 5 19 0 29 2 Tarang user manual Page 390f52 si Melange Systems Private Limited Wireless controls in action 9 2 5 Input output Controls AT Ay Description Parameterand Range Default 0 Display output in I O ports only I O on Serial Enable or disable I O data 1 Display output in Serial 0 2 on serial port output port only 2 Display output in both serial and I O ports 0x00 No inputs configured 0x 01 Ado asinput Ox 02 Adlasinput Ox 04 Ad2 asinput 0x08 Ad3 asinput Analog Configuration Bits Configures O 0x00 0x3F Ox 10 Ad4 asinput port pins as analog inputs Ox 20 Ad5 asinput Note Forconfiguring multiple pinsas analog inp uts user should enable the respective bits e 0x00 No inputs configured 01 DioO as input 02 Diol asinput 04 Dio2 asinput 08 Dio3 asinput 10 Dio4 as input DCB Digital Input Configuration Bits Configures 0x00 OxFF 20 Dio5 as input I O port pins as digital inputs 40 Dio6 asinput 80 Dio7 asinput Note Forconfiguring multiple pins as digital inputs user should enable the respective bits 0x0001 Sends the status only when 0x0001 queried refer API mode Rate of Transmission OxFFFF 0x0002 Sendsthe status for every 40ms Note This parameteris multiples of 20 ms Tarang user manual Page 40 0f 52 Wireless controls in action
15. 8 3 6 Version amp Serial Number Commands 33 9 TarangMesh H enn ene nnn nn en en annem ene nnenenannenenannen 34 9 1 Theory of Operation 0 34 9 2 Table of ATCommand5 36 9 2 1 General CoMmandsS 36 9 2 2 Networking Commands 36 9 2 3 Serial Interfacing CommandS 38 9 2 4 Power Control Commands 39 9 2 5 Input output ControlS 40 9 2 5 Version amp Serial NumberCommands 41 9 3 Application Programming Interface Mode API Mode 42 9 3 1 API MO DE SPECIFIC ATIO NS 42 Host to Tarang Module Prototype 42 Tarang Module to Host Prototype 42 9 3 2 List of API packet type sSi
16. Communication Mode Set Read the 1 Acknowledged mode mode of operation pm Number of retries Set Read the number of a fa pac ket retries ES Tarang user manual Page 29 of 52 Wireless controls in action si Melange Systems Private Limited 8 3 3 Serial Interfacing Commands AT nee 0 1200 1 2400 2 4800 Interface data rate Read Set the serial 3 9600 interface data rate forcommunications 3 na between the RF module serial port and 100 hos 5 38400 6 57600 7 115200 a 0 1 0 No flow control Hand Shaking Enable or disable hardware 1 CS RS flow control Packetization Time Out Read the Read only pac ketization time out Packet Size Set Read RF packet size 0 0x5A Tarang user manual Page 300f 52 fa 8 3 4 Power Control AT Command Description Sleep Mode Read Set Seep Mode Sleep Time Seep time reference for different deep modes Time Before Sleep Set Read the time before deep RSSI Read the RSI Rec eive Signal Strength Indicator of last packet received RF Output Power Set Read the RF Output Power Tarang user manual Melange Systems Private Limited Wireless controls in action Parameterand Range 0 2 1 OxFFFF x32ms 1 OxFFFF x10ms Read only 0 0xOF 0 None 1 Pin Assert 2 Cyclic Default Page 310of 52 si Melange Systems Private Limited Wireless controls in action 8 3 5 Input output Controls AT Tap Description Parametera
17. ID which isa unique network ID Tarang user manual Page 27 0f 52 Wireless controls in action si Melange Systems Private Limited Ac knowledged Type For every packet which is transmitted out Tarang expects an acknowledgement from the other side If acknowledgement is not received with in a specific time module will retra nsmit the packet This mode is ideal for the applications where high reliability is needed Number of retries is configurable 8 2 3 Sleep Mode Sleep Mode enables the RF module to enter the state of low power consumption when not in use In orderto enter Seep Mode one of the following conditions must be met e Sleep Pin Asserted e The module is idle for the amount of time defined by the ATPST and ATPBS parameters Sleep Mode Sleep On Wakeup On Pin Controlled Sleep Pin assertion Seep Pin De assertion Transition to Jeep Sleep Period ST Cyclic Seep dena by asep elapses ATPSTSeep time time parameters ATPBS Time Before Seep Pin Controlled Sleep The voltage level change on Sleep Pin activates or de activates pin controlled sleep When sleep pin is asserted module completes the pending activities and enters to idle mode and then to sleep mode The voltage level is OV and 3 3V i e once pin isapplied with logic low it goesto sleep mode and wakesup when logic high isapplied Cyclic Seep The Cyclic Seep Modes allow modules to periodically check for RF data When the Sleep Mode SM parameter i
18. IO query 0x2B 0x0200 0x00 OxC DAF1276 Not used This type gueries the ATD DIO status of the specified destination OxC DAF1276 The Destination should be the User ID This type will be applicable only if the Destination s ATD or DIO isenabled and the sample rate must be 0x0001 Response format 0x2D 0x0100 Payload size 0x00000003 payload The contentsof the payload MAC User DIO ATDO ATD1 ATD2 ATD3 ATD4 ATD5 address address status status status status status status status Only parameter fields corresponding to ATD s enabled will be displayed Exit command Ox2B 0x0400 Ox00 0x00000000 Not used This type helpsus to come out of the API mode Note DIO status transfer NW MAC UsenD will change all the DIO pins User must be aware of using this type asit changes the status of all the DIO pins Tarang user manual Page 48 of 52 Wireless controls in action si Melange Systems Private Limited 9 3 4 Tarang Module to Host NW address based Regular Data Tiansfer 0x2D 0x0001 0x03 0x00000003 0x31 0x32 0x33 This type specifiesit sa NW address based regular data and the Source address specifies the NW addressof the source Ping Response 0x2D 0x0004 0x14 0x00000003 Registration message This type specifies it s a ping response pa
19. NNANNN 52 12 Firmware Versions aaa 52 13 Contact Melange Systems HA 52 Tarang user manual Page 40f52 Wireless controls in action si Melange Systems Private Limited 1 Tarang Tarang modules are designed with low to medium transmit power and for high relia bility wireless networks The modules require minimal power and provide reliable delivery of data between devices The interfaces provided with the module help to directly fit into many industrial applications The modules operate within the ISM 2 4 2 4835 G Hz frequency band with IEEE 802 15 4 baseband 1 1 Features e Range Outdoor line of sight up to 50kms with directional antenna e Transmit Power up to 1 watt 30 dBm nominal e Receiver Sensitivity up to 107 dBm e ATCommand Modes for configuring Module Parameters e Direct sequence spread spectrum technology e Analog to digital conversion and digital I O line support TarangNet Features e Acknowledgement mode communication with retries e Each direct sequence channel has 64K unique network addresses e Source destination addressing e Unicastand broadcast communication e Pointto point point to multi point and peer to peer topologies are possible TarangMesh Features e Mesh Networking Tarang user manual Page 50f 52 si Melange Systems Private Limited Wireless controls in action 1 2 Pin Configuration Ca ma CO Ca law Sa oma samaaw ma S Go
20. TD DIO query 48 Exit comma nd 48 9 3 4 Tarang Module to Host 49 NW address based Regular Data Transfer 49 Ping RESPONSES 49 MAC address based Regular Data Transfer 49 User ID based Regular Data Transfer 49 Network address based DIO statuS 50 MAC address based DIO status 50 Tarang user manual Page 30f 52 Wireless controls in action si Melange Systems Private Limited User ID based DIO status 50 10 Placement Guidelines 000 0 0000 000000000000000 0000000000 51 LL Hardware Versions ALL ALAN LALN ALAN ALAN ALAN NN
21. Wireless controls in action EI Melange Systems Private Limited Tarang M Product Manual Melange Systems Private Limited 4 1 7th Cross Kumara Park West Bangalore 560 020 Ph 080 23462175 23561023 info melangesystems com Date 30h MAR 2010 Document Verson 2 2 Wireless controls in action si Melange Systems Private Limited Table of Contents L Tatang AA 5 1 1 Features 5 1 2 Pin Configura tion 6 1 3 Tarang Van ants 4 7 4 7 7 4 7 7 4 7 7 4 6 2 Tarang F30 NANANA NANANA 7 2 1 Specification 00000000000 AA AA AA 7 2 2 Electrical CharactensticS 8 2 2 1 DC Cha ractenstic S 8 2 2 2 ADC Characteristics 8 2 2 3 Modem CharactensticS 8 2 3 Mechanical Dra W NgS
22. address MAC address Tarang user manual Page 37 of 52 Melange Systems Private Limited 2 Wireless controls in action 9 2 3 Serial Interfacing Commands Command 0 1200 1 2400 2 4800 Interface data rate Read Set the serial 3 9600 A interface data rate forcommunic ations ai between the RF module serial port and SERAN host 5 38400 6 57600 7 115200 ES 0 No flow control Hand Shaking Enable ordisable hardware 10 11 1 CTS RTS flow control Packetization Time Out Read the Read only pac ketization time out Packet Size Set Read RF packet sze 0 0x54 Tarang user manual Page 38 of 52 si Melange Systems Private Limited Wireless controls in action 9 2 4 Power Control Commands AT Command Description Parameterand Range Default 0 None 0 1 1 Cyclic Sleep Mode Read Set Seep Mode Sleep Time Seep time reference for different deep modes Time Before Sleep Set Read the time before deep 1 OxFFFF x10ms Read only OxOD RSSI Read the RSI Rec eive Signal Strength Indicator of last packet received RF Output Power Set Read the RF Output Power Tarang F4 in dbm Tarang F20 in dbm Tarang F30 in dbm ATPOP 0 19 7 8 2 4 0 1 19 1 B 8 2 7 2 18 4 44 5 1 3 3 17 9 45 0 0 2 4 11 9 11 2 12 4 5 11 2 11 8 13 9 6 10 6 12 4 415 1 7 10 0 13 0 16 4 8 4 1 17 6 21 2 9 3 6 18 1 23 2 A 3 1 18 2
23. aneous maximum current is 20mA per pin and overall pin limit is 60mA hence set up as shown in fig 5 2 is applicable for maximum of 2 I Os Use appropriate current limiting resistors oraltemate driving circuits when interfacing based on the application The I O interface includes wide range of applications The figure 5 2 isan example of I O interface in an application to control the low power LED wirelessly in which IDO first I O line is used The switch is interfaced to first I O line IDO of Tarang module whose I O pins are configured as Digital inputs with command ATIDO2 and a LED isinterfaced to first I O line IDO of another module whose I O pinsare configured asoutput The change state of switch in input Tarang user manual Page 17of52 Wireless controls in action si Melange Systems Private Limited side is reflected on the LED in this application To ease the I O and Serial interface of Tarang module Tara ng Interface Board isavailable Configuring the module and installation is as follows 1 Take two Tarang modules which are configured with same Serial settings i e baud rate channel pan ID data bits etc Note For configuring the baud rate of module use command ATSBDx refer 8 2 3 Serial interface commands to desired value and before writing it to memory change the baud rate configuration to NEW Baud rate in Hyper terminal and then send ATGWR command to write itto memory 2 In addition one of th
24. atus data the Source address specifies the NW address of the source and the payload contains the DIO status User ID based DIO status 0x2D 0x0120 0x01 0x00000003 0x00 OxFF In case if the DIO status display ATADD is selected for both serial and port pins 1 or 2 this type specifies its a User ID based DIO status data the Source address specifies the NW addressof the source and the payload contains the DIO status Tarang user manual Page 500f52 Wireless controls in action si Melange Systems Private Limited 10 Placement Guidelines For obtaining the best possible range the following guidelines must be adhered to while using Tarang modules 1 It is important to ensure that the antennas chip or wire on the modules see open space around them Hence the modules must be mounted in such a way that there are no blocking obstacles immediately next to the antennas The modules must never be put inside a metallic enclosure unless an extemal antenna is being connected to the module The modules must not be placed too close to a wall table or metallic surfaces 2 The modules must be placed ashigh aspossble from the ground 3 Polarization of the antennas must be the same at both sides of the link For modules with chip antennas the mounting should be such that the axes of the modules are parallel to each other For wire antenna modules the modules must be mounted such that the wires are
25. cket and the Source address specifies the NW address of the source The contents of the Registration message are as follows Network Address MAC Address Router s Network Address Router sMAC Address User ID Each parameter in the Registration message is of 32 bits MAC address based Regular Data Transfer 0x2D 0x0020 0x03 0x00000003 0x31 0x32 0x33 This type specifies its a MAC address based regular data and the Source address specifies the NW address of the source UserID based Regular Data Transfer 0x2D 0x0040 0x03 0x00000003 0x31 0x32 0x33 This type specifies it s a User ID based regular data and the Source address specifies the NW address of the source Tarang user manual Page 49 of 52 Ca Melange Systems Private Limited Wireless controls in action Network address based DIO status 0x2D Ox0100 0x01 0x00000003 0x00 OxFF In case if the DIO status display ATADD is selected for both serial and port pins 1 or 2 this type specifies it s a Network address based DIO status data the Source address specifies the NW address of the source and the payload contains the DIO status MAC address based DIO status 0x2D 0x0110 0x01 0x00000003 0x00 OxFF In case if the DIO status display ATADD is selected for both serial and port pins 1 or 2 this type specifies it s a MAC address based DIO st
26. d 4 1 7th Cross Kumara Park West Ba ngalore 560 020 India Ph 491 80 23462175 23561023 Email info mela ngesystems co m Web http www mela ngesystems com Copyright Melange Systems Pvt Ltd 2008 Tarang user manual Page 52 of 52
27. e modules should be configured with I O pinsasinput and another with I O pinsas output 3 Forsetting I O pinsasinput and output the following steps should be followed e Enterthe command mode with e Enable the desired I O pin as input with command ATIDxx In this example first I O line IDO is used For configuring it to Digital I O input send command as ATIDO2 Response from module should be OK e Write these parametersto memory with ATGWR command e Exit command mode with ATG EX command Note Once I O pins are configured to input their default status will be logic high 3 3V e Follow the same steps for configuring another module I O pins to output e By default I O pins act as output pins So send ATIOSx command to display the statusin desired field refer 8 2 5 input output commands Tarang user manual Page 18 0f52 Wireless controls in action si Melange Systems Private Limited e After receiving the response as OK from module write it to memory and exit command mode 4 Once after configuring the modules make setup asin fig 5 2 Example I O interfaces in an application with R1 as 10 K and R2 as 330 Ohms 5 Switch on the entire setup and press the switch and see that the LED at another module is controlled wirelessly 6 Module Configuration Simple terminal application like Microsoft Windows Hyper Terminal can be used for configuring orreading the Tarang modules 6 1 Co
28. ead the RF module 32 bit destination address Tarang user manual Parameterand Range Parameterand Range 0 OXFFFFFFFF Default Disa ble Enable ATD Enable DIO Default 0x00000000 Not Registered 0x00000001 Root OxFFFFFFFE Vagabond Note Other valuesindicates the module is registered in the network 0x00000000 0x00000001 Gee O 36 of 52 si Melange Systems Private Limited Wireless controls in action 32 bit Router Address Set Read the RF O OxFFEFFFFE 0x00000000 module 32 bit router address PAN ID Set Read the PAN Personal Area Network ID 0 0XFFFFFFFF 0Xx11111111 _ 0 Network address based Transmission Type Represents the mode of 1 MAC address based communication 2 UsdID based 32 bit UserID ay Read the RF module O OXFFFFFFEF 0x00000000 32 bit User ID Network reset This resets the entire network 0 Normal mode NMD Communication Mode Set Read the 1 Acknowledged mode mode of operation 3 9 NRT Number of retries Set Read the number of 3 packet retries NEP Ping Enable Enablesor Disablesthe ping 0 Disables ping 1 feature 0 1 1 Enables ping Ping Attempts Represents the number of E ping failuresthe module can withsta nd hi a a 0x01 OxOF NTR Timed Registration Transmits the Note multiples of 5s i e Registration detailsto the Root 0x01 for every 5s sendsthe registration details 32 bit Hardware address MAC address Read the RF module Factory set 32 bit Hardware
29. etworks e Unicast Network e Broadcast Network e Peerto peer Network or Point to point Network These topicsare discussed here in detail Tarang user manual Page 22 of 52 si Melange Systems Private Limited Wireless controls in action 8 1 1 Unicast Network In Unicast Network the communication happens only between the two modules with respective source and destination addresses In such network the destination address of the TARANG 1 is source address to TARANG 2 and vice versa For any effective communication the source addressand destination address should be configured properly Exa mple PARAMETER TARANG 1 TARANG 2 Source address MY Ox1000 0x2000 Destination address DA 0x2000 0x1000 Fig 6 1 1 Unicast Network 8 1 2 Broadcast Network In Broadcast Network only one module will broadcast the data to all other modules and then each individual module will resoond to that There is no communication between the individual modules except Broadcasting Module Consider the fig 6 1 2 only master module will broadcast to all the dave modules and then each slave module will respond to master module only There isno communication between slave modules The source address of the master will be destination address to all the saves and destination address of the master is set to broadcast address OxFFFF Example PARAMETER Source address MY 0x0004 0x0001 0x0002 0x0003 Destination address DA OXFFFF 0x0004 0x0004 0
30. ide Example 0x01 Channel 0x00 OxOF 0x02 Ping Enable Disable 0x00 0x01 0x04 ACK mode Enable Disable 0x00 0x01 0x08 All ATD DIO parameters 0x00 0x02 0x00 0x3F OxFF 0x0001 OxFFFF Network address based DIO status transfer 0x2B 0x0100 0x01 0x00000003 0x00 OxFF This type sends the DIO satus to the specified destination 0x00000003 The Destination should be the NW address This type is used either to send HIGH or LOW to the Destination s DIO port pins MAC address based DIO status transfer 0x2B 0x0110 0x01 Ox12FE9A77 0x00 OxFF This type sends the DIO status to the specified destination Ox12FE9A77 The Destination should be the MAC address This type is used either to send HIGH or LOW to the Destination s DIO port pins UserID based DIO status transfer 0x2B 0x0120 0x01 OxC DAF1276 0x00 OxFF Tarang user manual Page 46 0f 52 Wireless controls in action si Melange Systems Private Limited This type sends the DIO status to the specified destination OxC DAF1276 The Destination should be the User ID This type is used either to send HIGH or LOW to the Destination s DIO port pins Network address based ATD DIO query 0x2B 0x0140 0x00 0x00000003 Not used This type queries the ATD DIO status of the specified destination 0x00000003 The Destinati
31. mmand Mode Command mode is used for reading or modifying the parameterofa module Once the command mode is initiated incoming characters through serial port are considered as commands Entering ATCommand Mode Enter 3 character command mode sequence within one second ATCommand Syntax Aan Ke kaan AsalGemmand Cartage Retum NAMIN Mi ATNC HF lt C R gt Figure 7 4 1 ATCommand Syntax Tarang user manual Page 190f52 Wireless controls in action si Melange Systems Private Limited The given example would change the RF module Channel to Ox0F 15 To store the value to memory subseguently send the Write command Else set values will be lost once module is re booted When a command is sent to the module the module will execute the command Upon successful execution of a command the module retums an OK message If execution of a command resultsin an error the module retumsan ERROR message Exit ATCommand Mode 1 Send ATGEX Exit Command Mode Command Tarang user manual Page 200f52 Wireless controls in action si Melange Systems Private Limited 6 2 Module Programming Step1 Open windows Hyper Terminal Step2 Connect the Tarang module to the Serial USB Port Step3 Choose the appropriate Port and serial parameters in terminal software Step 4 Configure the module using terminal and ATcommands Example using terminal Send ATCommand System Response H OK lt R gt
32. nd Range 0 Display output in I O ports only I O on Serial Enable or disable I O dat na on Senal Enable or disable ata 0 2 Serial port only on serial port output i 2 Display output in both serial and I O ports 0 None 0 2 1 Analog input DO Function Read Set the function of DO 0 2 KAG g J 2 Digital input 0 None ID1 0 2 1 Analog input D1 Function Read Set the function of D1 0 2 aa d 5 2 Digital input 0 None ID2 0 2 1 Analog input D2 Function Read Set the function of D2 0 2 pa 5 f P 2 Digital input 0 None ID3 1 Analog input D3 Function Read Set the function of D3 0 2 ie g 3 2 Digital input 0 None 1 Analog input D4 Function Read Set the function of D4 0 21 ere 2 Digital input 0 None ID5 1 Analog input D5 Function Read Set the function of D5 0 2 mga g E 2 Digital input 0 None 0 2 1 NOTDEFINED D6 Function Read Set the function of D6 eer 2 Digital input 0 None 0 2 1 NOTDEFINED 2 Digital input Sampling ti D7 Function Read Set the function of D7 Tarang user manual Default 0x0900 Page 32 of 52 Wireless controls in action si Melange Systems Private Limited 8 3 6 Version amp Serial Number Commands AT Description Parameterand Range Default Command VHW Hardware Version Readsthe hardware version number Read Only Firmware Version Reads the Fimware version number Read Only Serial Number Reads the Serial n
33. on should be the NW address This type will be applicable only if the Destination s ATD or DIO is enabled and the sample rate must be 0x000L1 in root display of DIO status in serial port must be enabled ATADD1 Response format Ox2D Ox0100 Payload size 0x00000003 payload The contentsof the payload MAC User DIO ATDO ATD1 ATD2 ATD3 ATD4 ATD5 address address status status status status status status status Only parameter fields coresponding to ATD s enabled will be displayed MAC address based ATD DIO query 0x2B 0x0180 0x00 Ox12FE9A77 Not used This type queries the ATD DIO status of the specified destination Ox12FE9A77 The Destination should be the MAC address This type will be applicable only if the Destination s ATD or DIO is enabled and the sample rate must be 0x0001 In root display of DIO status in serial port must be enabled ATADD1 Response format 0x2D 0x0100 Payload 0x00000003 payload size Tarang user manual Page 47 of 52 Wireless controls in action si Melange Systems Private Limited The contents of the payload MAC User DIO ATDO ATD1 ATD2 ATD3 ATD4 ATD5 address address status status status status status status status Only parameter fields corresponding to ATD s enabled will be displayed UserID based ATD D
34. oot resolvesduplicate data and sendsit for processing Refer to the ATcommand list fora full understanding of many TarangMesh features Mesh protocol works best in an environment where the packet sizes are small In a multi hop network large packets would have the effect of second hop interfering with the data on the first hop If a large packet is to be transmitted overa multi hop network it is recommended that end application packetize the data and transmit with some time gap between the packets Maximum Mesh packet size is 84 bytes Tarang user manual Page 35 of 52 Wireless controls in action Ca 9 2 Table of ATCommands Melange Systems Private Limited Tarang module expects numerical values in Hexadecimal All AT commands used by Tarang modules are sorted by category Tarang modules can be configured back to factory settings with a single command ATGRD 9 2 1 General Commands AT Restore Defaults Module is Configured to Factory settings Write Storesthe set parametersto memory Exit Exit from command mode Enable API Enables or Disables API mode Enable ATD DIO Enables or Disables ATD DIO functionality 9 2 2 Networking Commands AT Command Description Channel Set Read the channel number used fortransmitting and receiving between PF modules 0x00000000 0x00000001 and OxFFFFFFFE 32 bit Source Address Set Read the RF module 32 bit source address 32 bit Destination Address Set R
35. ponse format Ox2D Ox0004 0x14 0x00000003 Registration message MAC address based Ping Reguest 0x2B 0x0008 0x00 0x12FE9A77 This type pings the module to send its registration details to it based on its MAC address Don t send any payload in this type asit sof no use The destination should be the MAC address Ox12FE9A77 of the module whose registration details is required If network address of destination module is 0x00000003 response format is as shown below Response format 0x2D 0x0004 0x14 0x00000003 Registration message UserID based Ping Reguest 0x2B 0x0010 0x00 OxC DAF1276 This type pings the module to send its registration details to it based on its User ID Don t send any payload in this type as it s of no use The Destination should be the User ID OxC DAF1276 of the module whose registration details is required If network address of destination module is 0x00000003 response formats is as shown below Response format 0x2D 0x0004 0x14 0x00000003 Registration message MAC address based Regular Data Transfer 0x2B 0x0020 0x03 Ox12FE9A77 0x31 0x32 0x33 Tarang user manual Page 44of 52 Wireless controls in action si Melange Systems Private Limited This type sends the payload data 123 to the specified destination Ox12FE9A77 The Destination should be the MAC address
36. racterisics Sorot wes al soo ma imc rece cunene vec sp ma Power Down Tarang user manual Page 80f52 Wireless controls in action si Melange Systems Private Limited 2 3 Mechanical Drawings All dimensions are in mm Top View Side View Tarang user manual Page 9of 52 si Melange Systems Private Limited Wireless controls in action 3 Tarang F20 3 1 Specification Power Supply Voltage Vcc Transmit Current ldle Rec eive Current Power down Current Operating Frequency ISM 2 4 GHz Range elevation Operating Temperature 40to 85 degree C Antenna Options MMCX Connector Chip Antenna Wire Antenna Supported Network Point to point Point to multipoint amp Peer to peer Topologies Numberof Channels 16 Direct Sequence Channels Addressing Options PAN ID Channel and Addresses Serial Interface Data Rate 1200 2400 4800 9600 19200 38400 57600 115200 baud Tarang user manual Page 10of 52 Wireless controls in action si Melange Systems Private Limited 3 2 Hectrical Characteristics 3 2 1 DC Charac teristics Input Low Voltage All Digital Inputs o Input High Voltage All Digital Inputs 1 3 3 V Pa i La ee Output Low ian Output High Voltage All Digital Outputs 3 6 V 3 2 2 ADC Characteristics maea ao Reference Supply Ta Current isabled or Seep pbeserseep om om ra Analog Input ose wa val Analog input must be between Vrer_ and V
37. rerH for valid conversion The Resolution is the Ideal Step Size 1LSB VReFH VReFL 1024 3 2 3 Modem Characteristics m rmen vco no 1 ma RecelweCurent veessv 5 os ma Power Down Tarang user manual Page llof52 si Melange Systems Private Limited Wireless controls in action 3 3 Mechanical Drawings 14 4 Melange Systems Tarang F 20 30 5 21 8 1 3 All dimensions are in mm 2 Top View Side View Tarang user manual Page 12 of 52 si Melange Systems Private Limited Wireless controls in action 4 Tarang F4 4 1 Specification Power Supply Voltage Vcc Transmit Current ldle Rec eive Current Power down Current Operating Frequency ISM 2 4 GHz Outdoor RF Line of sight Up to 1 km with appropriate high gain antennasand Range elevation Transmit Power Output 0 dBm Typical RF Data Rate 250 Kbps Receiver Sensitivity 92 dBm Operating Temperature 40to 85 degree C Antenna Options MMCX Connector Chip Antenna Wire Antenna Supported Network Point to point Point to multipoint amp Peer to peer Topologies Numberof Channels 16 Direct Sequence Channels Addressing Options PAN ID Channel and Addresses Serial Interface Data Rate 1200 2400 4800 9600 19200 38400 57600 115200 baud Tarang user manual Page 13 0f 52 Wireless controls in action si Melange Systems Private Limited 4 2 Electrical Characteristics 4 2 1 DC Charac teristics a
38. s set to 2 the module is configured to cyclic sleep then wakes once a cycle to check for data The module remains active for time set by Time Before Sleep parameter If no data is queued for the remote the coordinator will not transmit and the remote will retum to sleep for another cycle If queued data istransmitted back to the remote it will stay awake to allow for back and forth communication until the Sleep Time timer expires Also note that CTS will go low each time the remote wakes allowing for communication Tarang user manual Page 28 of 52 Wireless controls in action si Melange Systems Private Limited 8 3 Table of Commands Tarang module expects numerical values in hexadecimal All AT commands used by Tarang modules are sorted by category Tarang modules can be configured back to factory settings with a single command ATGRD 8 3 1 General Commands AT pagi Restore Defaults Module is Configured to Factory settings O an Write Storesthe set parametersto et ee Nia 8 3 2 Networking Commands AT RA Description Parameterand Range Default Channel Set Read the channel number used fortransmitting and receiving between RF modules 16 bit Source Address Set Read the RF 0 0XFFFF 0x1000 module 16 bit source address 16 bit Destination Address Set Read the RF 0 0XFFFF Ox1000 module 16 bit destination address PAN ID Set Read the PAN Personal Area 0 0XFFFF OxFFFF Network ID 0 Normal mode
39. ts serial data with e Flow Control Hardware None e Panty None e Baud Rates 1200 2400 4800 9600 19200 38400 57600 115200 e Data Bits 8 To establish a successful serial communication with the module serial para meters need to be configured properly in the module and host side Both the module and PC settingscan be Tarang user manual Page 160f52 Wireless controls in action si Melange Systems Private Limited viewed and set using AT command set through popular terminal applications like HyperTermina I 5 2 I O Interfaces The Tarang RF modules support ADC Analog to digital conversion and digital I O interfaces If the parameter IDX refer 8 2 5 Input Output Controls is set to 1 or 2 the I O Pins are configured to Analog Input or Digital Input The status of I O pins in first module is ca med to other module By default I O pins are configured as outputs If IOS refer 8 2 5 Input Output Controls is set to one then the status of I O pins is displayed in serial port only Normally eight pins are assigned for digital I O interface of which one pin is used forC TS and RTS Hand shaking signals if hardware handshake is enabled leaving six pins for Analog to Digital and Digital I O Note Analog to Digital pins are always sx although if CTS and RTS are not enabled 3 3V e 0 line H C A Fan ii Switch L Ro jain 3 3V Fig 5 2 Example of I O interface in an application Note Instant
40. umber of NSL Read Only module Tarang user manual Page 33 0f 52 Wireless controls in action si Melange Systems Private Limited 9 TarangMesh TarangMesh network provides for a flexible mesh network which scales very well for a large number of mesh nodes Key components Root router and mobile node The center of the Tarang Mesh network is the root node All of Mesh related configuration needs to be input at the root node in all other nodes there is no network configuration required The same firmware runs on all the nodes Any Tarang module can be configured asa root ro uter mobile device Note that all the nodesin the mesh network can be data generators or data sinks Digital Os and Analog Inputs can be enabled in all mesh nodes and can be communic ated to a configured destination either on timed ba sis or query ba sis Leaf to leaf communication root originated broadcasts and user set addressing support are among the innovative features supported on TarangMesh Non router nodes mobile nodes can sleep 9 1 Theory of Operation TarangMesh has three kinds of nodes These are the root mobile and router node s Root is the center of the network allocating the intemal routes establishing the complete network propagating the network parameters The network builds up without any manual intervention or configuration The root node is configured as such by setting a parameter called ATNMY as 0x00000001 The root node
41. umber of characters that will fit in an RF packet is received The serial data is stored in the Transmit Buffer The data is packetized and sent at any TO timeout or when maximum packet sze is received The packet size can be configured by user to desired value from Oto 90 with ATSPK command Refer to Serial Interfacing Commands ISI If the Transmit Buffer becomes full hardware or software flow control must be implemented in order to prevent overflow loss of data between the host and module Hand shaking signals can be enabled using ATSHS command by default hand shake signals are disabled When hand shaking signals are used I O pins like ID6 and ID7 are dedicated to RTS and CTS Data Reception Once a data packet is retrieved from air Tarang module extracts the contents and pushes out to serial port according to the serial parameters configured The signal strength of the received packet can be seen through RSSI Receive Signal Strength Indicator parameter through ATPRS command read only Communication Types Tarang module communicatesin multiple types 1 Normal Type 2 Acknowledged Type Normal Type Tarang actsasa transparent communicator It packetizes and transmits data present in the transmit buffer when the transmission conditions are met Broadcast and Unicast networks can be implemented based on individual module addresses OxFFFF is the broadcast address within a network the network itself has PAN
42. x0004 Tarang user manual Page 23 0f 52 Wireless controls in action si Melange Systems Private Limited Fig 6 1 2 Broadcast Network 8 1 3 Peerto Peeror Point to point Network In peer to peer network the modules in a network can communicate with any module without any restrictions like master and save Each module will share the role of both master and save and communicate with each other By default Tarang modules work with this mode of network The addressing ischosen based on the application needs Example PARAMETER TARANG 1 TARANG 2 TARANG 3 Source address MY OxFFFF OxFFFF OXFFFF Destination address DA OxFFFF OxFFFF OxFFFF Tarang user manual Page 24o0f 52 Wireless controls in action si Melange Systems Private Limited Fig 2 2 03 Peer to Peer Network 8 2 Modes of Operation Tarang can be interfaced with a micro controllerora PC using serial port with the help of appropnate level conversion Tarang module operates in four different modes C d d ommand mode E gt Idle mode CG Sleep mode Pin controlled Sleep Cyclic sleep Active mode Acknowledged Normal type Type Figure 7 0 Operation Modes Tarang user manual Page 25 of 52 Wireless controls in action si Melange Systems Private Limited 8 2 1 ldle Mode When Tarang is in Idle Mode no operations are camed out The module shifts to other modesunder following circumsta nc es However the module continues to receive the RF data in

Download Pdf Manuals

image

Related Search

Related Contents

Operating Manual  - AvaLAN Wireless  『 レビス ® インスリン‐マウス T 』取扱説明書  Warehouse of Tiffany RL4296 Instructions / Assembly  CARDELL® 9500 HD Veterinary Monitor User`s Guide  Sans titre 1 - Pointe Ardennes Parapente  Sanyo PDG-DWL100S1 data projector  MODE D`EMPLOI - Club Inutile  Anwendinfo UTAX LP3018 / TA LP4018    

Copyright © All rights reserved.
Failed to retrieve file