Model: IW06 User Guide Version 2.0.6.
User Guide for the IW06 Version 2.0.6.1 Firmware version 2.0.X Printed in Korea Copyright Copyright 2008~2015, Sena Technologies, Inc. All rights reserved. Sena Technologies reserves the right to make changes and improvements to its product without providing notice. Trademark Parani™ is a trademark of Sena Technologies, Inc. Windows® is a registered trademark of Microsoft Corporation. Ethernet® is a registered trademark of XEROX Corporation.
Revision History Revision V1.0.0 V2.0.0 V2.0.2 V2.0.3 V2.0.4 V2.0.4.1 Date 2009-09-29 2009-11-19 2010-05-04 2010-09-03 2011-01-31 2011-12-26 Name Yh Moon Yh Moon Yh Moon Yh Moon Jh Park HR Zo V2.0.5 2012-01-18 Jh Park V2.0.6 V2.0.6.
Contents 1. Introduction 7 1.1. Overview .................................................................................................................................... 7 1.2. Package Check List ................................................................................................................... 7 1.2.1. Single/Bulk Unit Package................................................................................................. 7 1.2.2. Starter Kit ..........................................
A.2.1. IW06 .............................................................................................................................. 37 Appendix B: AT Commands 40 B.1. Terminology .............................................................................................................................. 40 B.1.1. AT Command ................................................................................................................. 40 B.1.2. AT Response .......................................
C.10. S15: Enable Disconnect by DTR (default 0) .......................................................................... 53 C.11. S22: Faster Connection (default 3) ........................................................................................ 53 C.12. S23: Intercharacter Timeout Setting (default 0) ..................................................................... 53 C.13. S24: Maximum Number of Inquiry Result (default 15) .......................................................... 53 C.14.
1. Introduction 1.1. Overview IW06 is a module device for wireless serial communication using Bluetooth technology that is international a standard for short range wireless communications. IW06 can communicate with other Bluetooth devices that support the Serial Port Profile. The working distance of IW06 with default antenna is 100m. The IW06 delivers better quality of communication than a standard RS232 cables. IW06 has a compact design and can be placed conveniently into devices or equipment.
1.3. Product Specification IW06 Serial Interface Serial UART speed up to 921.6kbps CTS/RTS flow control, DTR/DSR for loop-back & full transfer 2.54mm Pin Header 2X6 (12pin) Bluetooth Interface Bluetooth v2.
2. Getting Started This chapter describes how to set up the IW06 for the first time. - 2.1 Panel Layout explains the panel layout. - 2.2 Connecting the Hardware describes how to connect the IW06, the power, and the serial device to the Jig Board. Following items are pre-required to get started. - One Jig Board (included in the Starter Kit package). - One DC power adapter or one USB power cable (included in the Starter Kit package).
2.2.1. Connecting IW06 to Development Board Connect the IW06 to the Development Board as shown below. Figure 2-2 Connecting IW06 to Development Board 2.2.2. Connecting Power to Development Board Connect the power plug to the power connector of the Development Board for the IW06 using the DC power adapter or USB power cable that is included in the package.
2.2.3. Connecting a Device to Development Board Connect the serial data cable between the Development Board and the serial device. If necessary, supply power to the serial device attached to the Development Board.
3. Configuration 3.1. Operation Modes In addition to the serial port configurations, the IW06 requires also includes some settings for Bluetooth. For getting the most out of IW06, user should understand the following Bluetooth connection schemes. A Bluetooth device can play a role as a master or slave. Master tries to connect itself to other Bluetooth devices, and slave is waiting to be connected from other Bluetooth devices. A Bluetooth connection is always made by a pair of master and slave devices.
3.2. Serial Ports The applicable settings for serial ports are as follows. Table 3-2 The IW06 Serial Port Settings Serial Port Settings Values Baud rate 1200, 2400, 4800, 9600, 14400, 19200, 38400, 57600, 115200, 230400, 460800, 921600 Data bite 8 Parity No parity, Even parity, Odd parity Stop bit 1, 2 Hardware Flow Control Use, No Use The values in box are the factory default settings. 3.3. Data Bit IW06 supports only 8 data bit.
Example of remote configuration mode. CONNECT 000195000001 +++ Please Enter Password AT+PASS=0000 Remote Configuration Enabled AT+BTINFO? 000195000001,SD1000v2.0.3-095515,MODE0,CONNECT,0,0,HWFC 3.6. Software and Utility This configuration software and utility for firmware update is included with the product, which also can be downloaded from http://www.senaindustrial.
Figure 3-2 Main Window Figure 3-3 Information Window 15
Serial port settings can be changed by and of ParaniWIN in the menu bar at upper left corner of the window without re-running the ParaniWIN program. Figure 3-4 Menu Bar at Upper Left corner of ParaniWIN When the ParaniWin software is able to access the IW06 properly, the icons in the left side window come will become available for use. In device configuration window, hardware reset can be executed or operation mode and RS232 can be configured as well.
also enter a Pin Code value. If the authentication is enabled, the connection, between the Master and Slave device must share the same Pin Code. In case that IW06 connects to another Bluetooth device, that requires authentication, you must know the other device’s Pin Code. In general, most Bluetooth devices have a pincode of 1234 or 0000. If you check Encryption option, the IW06 will encrypt packets and sent to the device.
Figure 3-7 Signal Strength Test The signal strength test shows LInkQuality and RSSI values. The closer LinkQuality is to 255 and RSSI is to 0, this means the IW06 has a good connection to the connected Bluetooth device. In general, the wireless connectivity is at its best within 10 meters. You can push the STOP button at anytime in order to terminate the signal strength test. The signal strength test will continue until the STOP button is pushed.
Figure 3-8 Connection(in) Window If the Connection Wizard icon is clicked, an easy to use pairing menu will appear: Figure 3-9 Connection Wizard Window In this example we will refer to the two IW06s as ESD1 and ESD2 respectively. To use this menu, please do the following: Step 1. Connect ESD1 and then push the START button. Step 2. Disconnect ESD1, connect ESD2 and then push the Next button after setting up Slave configuration. Step 3.
configuration should be completed. Make sure that each IW06’s connect LED is on. At this point, when both IW06’s are restarted the connection will be established automatically. 3.8. ParaniWizard ParaniWizard is a Wizard program that will allow you to configure a pair of IW06’s for an automatic connection. To make connection with Bluetooth devices other than IW06, use ParaniWIN or AT commands on a terminal program. In this example, we will refer to the two IW06’s as ESD1 and ESD2 respectively.
Click [Next] with after selecting the check box, which makes the unit discoverable, in which ESD1 can be discovered and connected from the other Bluetooth device. Remove ESD1 from the host computer, remember to leave the ESD1 powered on. Now, plug ESD2 into the serial port of the host computer and power on the unit. Figure 3-12 ParaniWizard Step 3 Click [Wizard Setting] button to configure the serial settings of ESD2. These settings must be same as those of the host system, to which ESD2 will be used.
Click [Next] after selecting check box. ESD2 will then do a search nearby, and search for Bluetooth devices for 30 seconds. The program will show the Bluetooth devices with Device Address, Device Name and CoD (Class of Device). Figure 3-14 ParaniWizard Step 5 Select the ESD1 from the list and click [Connect], then the following message box will be displayed.
It may take about 5 seconds to complete the connection. For the automatic connection to take place between ESD1 and ESD2, the proper operation mode of ESD1 and ESD2 have to be set. Figure 3-16 ParaniWizard Step 7 Set the operation mode of ESD2 to Mode1. Figure 3-17 ParaniWizard Step 8 Remove the ESD2 from the host computer and plug ESD1 into the serial port again. Set the operation mode of ESD1 to Mode2.
Figure 3-18 ParaniWizard Step 9 Now the configuration of ESD1 and ESD2 has been completed. Now when the units are turned off and then turned on again, they will make an automatic connection to each other. 3.9. Parani Multi Wizard Parani Multi Wizard is the software tool for multiple connection mode configurations of the Parani-SD and IW06 products.
Parani Multi Wizard supports the Wizard mode and the Manual mode. The Wizard mode provide the user step-by-step instructions for multiple mode configurations. To run the Wizard mode, select “Multiple connection mode setting” and “1:N setting”, press “Start” button and follow the instructions. Figure 3-20 Manual Setting Window In the Manual mode, all settings for the multiple connection mode can be configured in one window.
Figure 3-21 ParaniUpdater Window 3.11. Terminal Program A terminal program is typically an application that will enable a PC to communicate directly with a modem. If you are using Windows 98SE or higher version of Windows, HyperTerminal program is included as part of the operating system. IW06 provides some extended AT commands for configuration of the IW06. This manual will explain the method using HyperTerminal. If you need to install HyperTerminal, click start>setting>control panel>add/remove programs.
To view the AT commands that are being typed, you will need to enable the local echo option. Go to File->Properties->Settings->ASCII setup and select the “Echo typed characters locally” option. For expanded AT commands, please refer to Appendix A. AT commands. Example of AT commands: at OK at+btinfo? 000195000144,ESD100V3_v2.0.
4. Multiple Connection Mode 4.1. Overview IW06 supports multiple connections up to 4 slave units. There are two types of multiple connection modes: Multi-Drop Mode and Node Switching Mode. M S1 S4 S2 S3 Figure 4-1 Multi-Drop Mode In Multi-Drop Mode a master unit can connect to maximum 4 slave units at the same time and they transfer data bi-directionally as in Figure 4-1.
4.2. Configuration All the slaves should be in the status of waiting for connection either in Mode 2 or Mode 3 and the master unit tries to connect to the slave units. The master unit needs to be configured to work in a multiple connection mode using AT+MULTI,x command, which makes master reboots after execution.
4.3. AT Commands 4.3.1. AT+MULTI,n Select a multiple connection mode. Refer to Table 4-1 for descriptions. 4.3.2. AT+MLIST? It shows the current mode, the connection status and the BD addresses of slaves. at+mlist? CURRENT MODE: MULTI DROP TASK1 – 000195000001 TASK2 – 000195000002 TASK3 – DISCONNECT TASK4 - 000195000004 OK 4.3.3.
4.4. Notes When large data exchange occurs in Multi-drop mode without flow-control enabled, the master unit may experience data loss. It may also experience occasional disconnections and/or system rebooting especially when bi-directional communication happens. It is strongly recommended to perform extensive performance test before any real world field applications. The master unit would try to connect all slave units specified by S-register 46, 54, 55 and 56.
5. Approval Information 5.1. FCC Any changes or modifications to the equipment not expressly approved by the party responsible for compliance could void user’s authority to operate the equipment. This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) This device must accept any interference received.
5.2. IC This device complies with Industry Canada license-exempt RSS standard(s). Operation is subject to the following two conditions: (1) this device may not cause interference, and (2) this device must accept any interference, including interference that may cause undesired operation of the device. Le present appareil est conforme aux CNR d'Industrie Canada applicables aux appareils radio exempts de licence.
6. RF Information 6.1. Radio Frequency Range 2.402~2.480GHz 6.2. Number of Frequency Channel 79 channels 6.3. Transmission Method FHSS(Frequency Hopping Spread Spectrum) 6.4. Modulation Method 1Mbps: GFSK(Gaussian Frequency Shift Keying) 2Mbps: π/4 DQPSK(pi/4 rotated Differential Quaternary Phase Shift Keying) 3Mbps: 8DPSK(8 phase Differential Phase Shift Keying) 6.5. Receiving Sensitivity Products Receiving Sensitivity IW06 -90dBm 6.6. Power Supply Products Power Supply IW06 DC3.
Appendix A: Connections A.1. Pin Assignment A.1.1. IW06 Pairing DCD DSR DTR RST GND 7 8 9 10 11 12 1 2 3 4 5 6 CTS VDD GND TXD RXD RTS Figure A-1 Pin Assignment of IW06 Table A-1. Pin Assignment of IW06 Pin # Signal Direction Description Signal Level 1 GND - Power Ground Ground 2 TxD Output UART Data Output TTL 3 RxD Input UART Data Input TTL 4 RTS Output UART Ready to Send TTL 5 CTS Input UART Clear to Send TTL 6 VDD Input DC Input (3.0~3.
A.1.3. Factory Reset Signal Factory reset signal will be used for setting the IW06 to factory defaults. Factory reset signal should be on 0V status for at least 1 second for the reset to occur. A.1.4. Pairing (BT_MODE) Signal (Single Connection Mode Only) IW06 provides a pairing signal input for instant configuration and automatic connection to two IW06s. In this example, we will name the two IW06s as ESD1 and ESD2. In pairing mode. Step 1.
Table A-3 Pairing Process with other Bluetooth device by Pairing Signal ESD1 Status Pairing Signal 1. Reset Mode0 HIGH 2. Drop pairing signal Mode3 LOW Other Bluetooth Deivce Status 3. Inquiry and connect to ESD1 4. Connected Slave HIGH 4. Connected Master *Caution : When you are designing a new hardware, you must maintain the pull up status by hardware for pairing signals. If pairing signals are floating by hardware, unexpected errors may occur. A.2. Connection Diagram A.2.1. IW06 A.2.1.1.
A.2.1.2. When TTL level of MICOM is 3.3V and Hardware Flow Control is not used MICOM MICRO-VDD PARANI-ESD DC 3.3V VDD DCD MICOM-TXD RXD MICOM-RXD TXD CTS RTS DSR DTR MICOM-RST RST MICOM-GND GND A.2.1.3. When TTL level of MICOM is 5V MICOM DC 5V DC 3.
Appendix B: AT Commands B.1. Terminology B.1.1. AT Command AT command set is a in fact standard language for controlling modems. The AT command set was developed by Hayes and is recognized by virtually all personal computer modems. IW06 provides the extended AT command set to control and configure the serial parameters and Bluetooth connection. HT HT TH HT TH HT TH HT TH TH B.1.2. AT Response IW06 replies to AT commands with 4 kinds of message, ‘OK’, ‘ERROR’, ‘CONNECT’ and ‘DISCONNECT’. B.1.3.
Symbols Meaning ASCII Code Carriage return 0x0D Line feed 0x0A Carriage return + Line feed 112233445566 Bluetooth device address N or m One digit decimal number To Timeout in seconds B.2.
B.3. Command Description B.3.1. ATZ Response OK Purpose Software Reset Description This has the same effects as Powercycling the unit. This command disconnects any connected Bluetooth device, and stops ongoing tasks. After rebooting, the status will be decided by the preset operation mode. Some AT commands require the ATZ command be run so that the commands can take effect. B.3.2.
Control. The initial value of Device name is ‘ESD100V3_v2.0.0-445566’. ESD stands for IW06, v2.0.0 for the version of firmware, and 445566 for the last 6 digits of BD address. Mode=MODE0/MODE1/MODE2/MODE3 Status=STANDBY/PENDING/CONNECT Auth=0/1 (Authentication is not activated when 0) Encrypt=0/1 (Encryption is not activated when 0) FlowControl=HWFC/NoFC Example 000B530011FF,SENA,MODE0,PENDING,1,1,HWFC B.3.6.
B.3.10. AT+MLIST? Response CURRENT MODE:SINGLE CONNECTION MODE OK Purpose Display the current multiple connection mode and connected slave’s Bluetooth addresses. Description Display current mode(SINGLE CONNECTION MODE , MULTI-DROP MODE, NODE SWITCHING MODE) and connected slave Bluetooth address. Example AT+MLIST? CURRENT MODE: MULTI-DROP MODE TASK1 – 000195000001 TASK2 – DISCONNECT TASK3 – DISCONNECT TASK4 – 000195000004 B.3.11.
for next 2 characters. If the next 2 characters aren’t both ‘+’, it restart to transmit data including the first ‘+’ as well. If not, it converts the operation status to ‘Standby’. If the data from host includes ‘+++’, it will convert the operation status to ‘Standby’. Notice that IW06 holds data transmission when it encounters ‘+’, until receiving next character. ‘+’ is an escape sequence character by default, which is changeable by AT+SETESC.
Response OK CONNECT 112233445566 or OK ERROR Purpose Wait for inquiry and connection from other Bluetooth devices for a given duration Parameters n=1: Allows Inquiry scan n=2: Allows Page scan n=3: Allows both of Inquiry scan and Page scan to= Time duration in seconds Description For the given to, IW06 is waiting for the inquiry and connection from other Bluetooth devices. If the parameter of to is 0, it will wait forever.
Purpose Connect to a specific Bluetooth device with a given BD address Parameters 112233445566=BD address Description IW06 attempts to connect to the Bluetooth device with the given BD address. To make successful connection, the Bluetooth device must be in Page scan mode. This attempt continues for 5 minutes. If it fails to make connection, response is ‘ERROR’. Example ATD000B530011FF B.3.22.
Response OK Purpose Change pin code Parameters $string= New pin code (Default=”1234”) Description Pin code is a string, which allows up to 16 alpha-numeric characters. Based on this pin code, IW06 generates a link key which is used in actual authentication process Example AT+BTKEY=”apple” B.3.26.
B.3.30. AT+BTNAME=$string Response OK Purpose Change device name Parameters $string= New device name (Default=”ESDV2_v2.0.0-445566”) Description IW06 can have a user friendly name for easy identification. The name allows up to 30 alpha-numeric characters. Example AT+BTNAME=”My-IW06” B.3.31. AT+BTLPM,n Response OK Purpose Set low power mode Parameters n=0: Inactivate (Default) n=1: Activate Description During no data transmission, IW06 can be in low power mode to save the power.
Response value OK Purpose Display a given S-register Parameters nn= Address of S-register Description A specific S-register will be displayed. B.3.36. ATSnn=mm Response OK Purpose Change S-register value Parameters nn= Address of S-register mm= New value of S-register Description Some S-registers are optimized for the overall performance and protected and cannot be changed. When users try to change these S-registers, response is ‘ERROR’. For details of S-register, refer Appendix. B.
AT+BTMODEn ◎ AT+BTNAME=”Name” ◎ AT+BTKEY=”nnnn” ◎ AT+BTINFO? ○ AT+BTLPM,n ◎ AT+BTSD? ○ AT+BTCSD ◎ AT+BTFP,n ◎ AT+UARTCONFIG,b,p,s,h ◎ AT+BTVER? ○ AT+BTRSSI,n ● AT+PASS=”nnnnnnnn” ○ ○ AT+CHPASS=”nnnnnnnn” ○ ○ ◎ Valid only when IW06 is not connected to other Bluetooth device. ● Valid only when IW06 is connected to other Bluetooth device.
Appendix C: S-Register S-registers contain 52 parameters for the IW06. These are stored in flash memory and the values will be saved unless hardware reset is executed. The value of S-register can be accessed and changed with ATS command. Some S-registers not shown below are set to maximize the performance of IW06. Thus it is not recommended to change these S-registers. Change the value of S-register only in Standby status. Turn IW06 off and on. C.1.
S11=1, IW06 allows for the escape sequence character. Whenever it is needed, the Connect status can be changed to Standby. C.7. S12: Clear Data Buffer When Disconnected (default 0) S12=0, IW06 does not clear the data buffer received from host system when disconnected. S12=1, IW06 clears the data buffer when disconnected. C.8. S13: Enable DCD Signal (default 1) S13=0, DCD signal off S13=1, DCD signal on C.9. S14: Enable DTR Transfer (default 1) S14=0, DTR/DSR signal is transferred in a loop-back fashion..
50ms 180 100ms 235 200ms 340 * When 10 bytes data are sent every intercharacter timeout, they are sent separately by 10 bytes at the optimal value. If the intercharater timeout is set below the optimal value, the data will be put together and sent by 20, 30, 40 bytes or more. C.15. S28: Escape Sequence Character (default 43) The decimal number of the ASCII code of escape sequence character can be controlled. The initial value is 43, the ASCII code of ‘+’. C.16.
C.23. S48: Low Power Max Interval (default 5000) This is the max interval value to use low power mode, which is set to 5000 initially. (5000 x 625μsec = 3125msec) C.24. S49: Low Power Min Interval (default 4500) This is the min interval value to use low power mode, which is set to 4500 initially. (4500 x 625μsec = 2812msec) A small interval increases power consumption, a large interval increases latency. C.25.
C.31. S59: Current Slave in Communication (default 0) This value shows the current slave number in communication. The value is automatically stored when the slave is selected for communication. This value can also be set by user so the master unit connects to a specific slave to connect first in case the master unit reboots. The value range is 0~4. 0 means the maser unit never connected to a slave. The master will connect to a slave whatever responses first. C.32.
Appendix D: Trouble Shooting D.1. No Data Transmission D.1.1. Device Settings Check whether the Baud rate of IW06 matches that of its host equipment. Check whether the host equipment of IW06 uses Hardware Flow Control. IW06 is initially set to Use of Hardware Flow Control. If your host equipment does not use Hardware Flow Control, please disable the Hardware flow control option by ParaniWIN or AT command. D.2. Data Loss or Malfunctioning D.2.1.
Appendix E: Warranty E.1. GENERAL WARRANTY POLICY Sena Technologies, Inc. (hereinafter referred to as SENA) warrants that the Product shall conform to and perform in accordance with published technical specifications and the accompanying written materials, and shall be free of defects in materials and workmanship, for the period of time herein indicated, such warranty period commencing upon receipt of the Product.
- Floods, lightning, earthquakes, - Water spills, - Replacement of parts due to normal wear and tear, - Hardware has been altered in any way, - Product that has been exposed to repair attempts by a third party without SENA’s written consent, - Hardware hosting modified SENA Software, or non-SENA Software, unless modifications have been approved by SENA. - Battery component capacity degradation due to usage, aging, and with some chemistry, lack of maintenance. E.4.
Appendix F: How to make a RS232 interface Development Board Confidential 60
Appendix G: IW06 PCB mechanical drawing 61