Model: IW05 User Guide Version 2.0.6.
User Guide for the IW05 Version 2.0.6.3 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. Bluetooth® is a registered trademark of Bluetooth SIG (Special Interest Group).
Revision History Revision V2.0.6 V2.0.6.1 V2.0.6.2 V2.0.6.
Contents 1. Introduction 7 1.1. Overview .................................................................................................................................... 7 1.2. Package Check List ................................................................................................................... 7 1.2.1. Unit Package .................................................................................................................... 7 1.2.2. Starter Kit ..................................
B.1.1. AT Command ................................................................................................................. 43 B.1.2. AT Response ................................................................................................................. 43 B.1.3. Operation Mode ............................................................................................................. 43 B.1.4. Operation Status ..................................................................................
C.13. S24: Maximum Number of Inquiry Result (default 15) .......................................................... 56 C.14. S26: Intercharacter Timeout (default 0) ................................................................................. 56 C.15. S28: Escape Sequence Character (default 43) ..................................................................... 57 C.16. S31: Page Timeout (default 20) ............................................................................................. 57 C.17.
1. Introduction 1.1. Overview The IW05 is a Bluetooth OEM SMD/DIP module combining antenna for OEM manufactures who want to implement Bluetooth functionality with their products cost effectively and also in timely manner. IW05 has a built in antenna to lower the overall cost while benefit from the IW05’s field-proven standard SPP firmware provided with no additional cost. The IW05 supports Class2 Bluetooth transmission level for the shorter communication distance typically ranges from 50m up to 300m.
1.3. Product Specification IW05 Bluetooth Specifications Bluetooth v2.0 + EDR Class1 Profile: SPP(Serial Port Profile) Working distance: By default antenna is 200m (0.12 mile), Supports up to 1000m (0.62 mile) Transmit Power (Frame Average Power) BDR : ±11+1 Receive Sensitivity -90dBm (0.1% BER) Frequency range 2402MHz – 2480MHz Serial Interface Serial UART speed up to 921.6kbps CTS/RTS flow control, DTR/DSR for loop-back & full transfer PIN Interface IW05-Sx: 1.
* Note : Bluetooth v2.0 supports improved AFH function. AFH function is to mitigate the interference between WiFi and Bluetooth radios by automatically avoiding the active WiFi channel from Bluetooth link. However, AFH does not provide a complete solution making WiFi and Bluetooth work together in harmony. It is highly recommended for users to test their wireless system enough before deployment since the overall system performance is affected by various environmental factors such as distance between them.
2. Getting Started This chapter describes how to set up the IW05 for the first time. - 2.1 Panel Layout explains the panel layout. - 2.2 Connecting the Hardware describes how to connect the IW05, 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).
- Connect the Development Board for the IW05 to a serial device. 2.2.1. Connecting IW05 to Development Board Connect the IW05 to the Development Board as shown below. Figure 2-2 Connecting IW05 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 IW05 using the DC power adapter or USB power cable that is included in the package.
Figure 2-3 Connecting Power to Development Board 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 IW05 requires also includes some settings for Bluetooth. For getting the most out of IW05, 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 IW05 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 IW05 supports only 8 data bit.
Example of remote configuration mode. CONNECT 000195000001 +++ Please Enter Password AT+PASS=0000 Remote Configuration Enabled AT+BTINFO? 000195000001,BCDx10v2.0.6-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 16
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 IW05 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 IW05 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 IW05 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 IW05 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 any time 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 IW05s as BCD1 and BCD2 respectively. To use this menu, please do the following: Step 1. Connect BCD1 and then push the START button. Step 2. Disconnect BCD1, connect BCD2 and then push the Next button after setting up Slave configuration. Step 3.
configuration should be completed. Make sure that each IW05’s connect LED is on. At this point, when both IW05s 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 IW05s for an automatic connection. To make connection with Bluetooth devices other than IW05, use ParaniWIN or AT commands on a terminal program. In this example, we will refer to the two IW05s as BCD1 and BCD2 respectively.
Click [Next] with after selecting the check box, which makes the unit discoverable, in which BCD1 can be discovered and connected from the other Bluetooth device. Remove BCD1 from the host computer, remember to leave the BCD1 powered on. Now, plug BCD2 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 BCD2. These settings must be same as those of the host system, to which BCD2 will be used.
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 BCD1 from the list and click [Connect], then the following message box will be displayed. Figure 3-15 ParaniWizard Step 6 It may take about 5 seconds to complete the connection.
For the automatic connection to take place between BCD1 and BCD2, the proper operation mode of BCD1 and BCD2 have to be set. Figure 3-16 ParaniWizard Step 7 Set the operation mode of BCD2 to Mode1. Figure 3-17 ParaniWizard Step 8 Remove the BCD2 from the host computer and plug BCD1 into the serial port again. Set the operation mode of BCD1 to Mode2.
Figure 3-18 ParaniWizard Step 9 Now the configuration of BCD1 and BCD2 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, Parani-ESD and IW05 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. IW05 provides some extended AT commands for configuration of the IW05. 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,BCDx10_v2.0.
4. Multiple Connection Mode 4.1. Overview IW05 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 Regulatory Notices 1. FCC FCC Part 15.19 Statements: 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, including interference that may cause undesired operation. FCC Part 15.
End Product Labeling The module is labeled with its own FCC ID and IC Certification Number. If the FCC ID and IC Certification Number are not visible when the module is installed inside another device, then the outside of the device into which the module is installed must also display a label referring to the enclosed module. In that case, the final end product must be labeled in a visible area with the following: “Contains FCC ID: S7A-IW05 “Contains IC: 8154A-IW Hereby, SENA TECHNOLOGIES.
2. IC RSS-GEN, Sec. 7.1.3 – (licence-exempt radio apparatus) This device complies with Industry Canada licence-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 présent 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 IW05-DU -90dBm Parani-BCD210 -84dBm 6.6.
Appendix A: Connections A.1. Pin Assignment A.1.1.
Table A-1.
A.1.2. Bluetooth Connection Detect(UART_DCD) Signal Status of Bluetooth connection will be delivered to Host PC via UART_DCD signal. When Bluetooth connection is made, UART_DCD signal will be set to low. A.1.3. Factory Reset(FACTORY_RESET) Signal Factory reset signal will be used for setting the IW05 to factory defaults. Factory reset signal should be on 0V status for at least 1 second for the reset to occur. A.1.4.
Table A-3 Pairing Process with other Bluetooth device by Pairing Signal BCD1 Status Pairing Signal 1. Reset Mode0 HIGH 2. Drop pairing signal Mode3 LOW Other Bluetooth Device Status 3. Inquiry and connect to BCD1 4. Connected Slave HIGH 4. Connected Master A.1.5. Flow Control(FC_CTRL) On/Off Signal If user wants to set the status of hardware flow control option using AT+UARTCONFIG command, FC_CTRL signal should be connected with UART_CTS signal.
The RESETB pin is an active low signal and is internally filtered using the internal low frequency clock oscillator. A reset will be performed between 1.5 and 4.0ms following RESETB being active. So it is recommended that RESETB be applied for a period greater than 5ms. A.2. Connection Diagram A.2.1. IW-05DU A.2.1.1. When TTL level of MICOM is 3.3V Parani-BCD MICOM MICRO-VDD DC 3.
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. IW05 provides the extended AT command set to control and configure the serial parameters and Bluetooth connection. T TH HT TH TH HT TH TH HT HT B.1.2. AT Response IW05 replies to AT commands with 4 kinds of message, ‘OK’, ‘ERROR’, ‘CONNECT’ and ‘DISCONNECT’. B.1.3.
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 ‘BCDx10_v2.0.6-445566’. BCD stands for IW05, v2.0.6 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 IW05 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, IW05 is waiting for the inquiry and connection from other Bluetooth devices. If parameter is set to 0, it will wait forever.
Purpose Connect to a specific Bluetooth device with a given BD address Parameters 112233445566=BD address Description IW05 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, IW05 generates a link key which is used in actual authentication process Example AT+BTKEY=”apple” B.3.26.
Response OK Purpose Change device name Parameters $string= New device name (Default=”BCDx10_v2.0.6-445566”) Description IW05 can have a user friendly name for easy identification. The name allows up to 30 alpha-numeric characters. Example AT+BTNAME=”My-Parani-BCD ” 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, IW05 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 IW05 is not connected to other Bluetooth device. ● Valid only when IW05 is connected to other Bluetooth device.
Appendix C: S-Register S-registers contain 52 parameters for the IW05. 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 IW05. Thus it is not recommended to change these S-registers. Change the value of S-register only in Standby status. Turn IW05 off and on. C.1.
S11=1, IW05 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, IW05 does not clear the data buffer received from host system when disconnected. S12=1, IW05 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..
Inter Character Time Out * Optimal Value(S23 x S26) 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.
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.
7 8 14 18 BCD210 Parameter 0 1 2 3 4 5 dBm Use chip setting. -12 -8 -4 0 4 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.
Appendix D: Trouble Shooting D.1. No Data Transmission D.1.1. Device Settings Check whether the Baud rate of IW05 matches that of its host equipment. Check whether the host equipment of IW05 uses Hardware Flow Control. IW05 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.