Firmtech FB155BC User manual

FB155BC(HID) User Guide Version 1.0
Revision History
Page 2 / 23
Revision History
Revision
Date
Change Descriptions
1.0
04-11-2013
- Write a draft

FB155BC(HID) User Guide Version 1.0
(C) Copyright FIRMTECH Co., Ltd. 2005
Page 3 / 23
(C) Copyright FIRMTECH Co., Ltd. 2005
All rights reserved
The products and operation descriptions contained herein shall be protected by
copyright law.
Any part or whole of products or operation description shall not be copied, reproduced,
translated, nor transformed into readable form by electronic device or machines, without
prior consent in writing by FIRMTECH Co., Ltd.
There might be some misprinting or technical faults in the products and operation
description which are subject to change without prior notice.

FB155BC(HID) User Guide Version 1.0
List of Content
Page 4 / 23
List of Content
1 What is Bluetooth? ............................................................................................................................................................5
1.1 Features of Bluetooth..........................................................................................................................................5
1.2 Operation of Bluetooth......................................................................................................................................5
2 Product Overview...............................................................................................................................................................6
3 Product Components........................................................................................................................................................7
3.1 FB155BC (HID).........................................................................................................................................................7
3.2 Smart HID Interface Kit (Option)..................................................................................................................7
4 Product Appearance .........................................................................................................................................................9
4.1 FB155BC (HID) Dimension................................................................................................................................9
4.2 FB155BC (HID) PIN Assign ...............................................................................................................................9
5 Interface (Pin Connection).......................................................................................................................................... 11
5.1 Port Connection .................................................................................................................................................. 11
5.1 Port Description .................................................................................................................................................. 12
6 Smart HID Interface Board (Jig Board) ............................................................................................................... 14
7 Performance of Products ............................................................................................................................................ 15
8 Current Consumption.................................................................................................................................................... 16
9 Preliminary Product Components .......................................................................................................................... 17
10 How to Use - FB155BC(HID)................................................................................................................................... 18
11 Approval Information................................................................................................................................................. 23
11.1 MIC .......................................................................................................................................................................... 23
11.2 FCC compliance Information...................................................................................................................... 23
11.3 CE.............................................................................................................................................................................. 23
11.4 TELEC ...................................................................................................................................................................... 23
11.5 SIG............................................................................................................................................................................ 23

FB155BC(HID) User Guide Version 1.0
1 What is Bluetooth?
Page 5 / 23
1 What is Bluetooth?
1.1 Features of Bluetooth
Objectives of Bluetooth : To Realize Wireless Communication for Short Distance with Low Power
Consumption, High Reliability, and Low Cost.
Frequency in Use: To Use ISM(Industrial, Scientific, Medical) Band which does not require any
permission to use.
-2.400 –2.4835 GHz, 79 channels
-2.465 –2.4835 GHz, 23 channels (in France)
Transmission Rate : 1Mbps ~ 3Mbps
Transmission Output : 1mW (10m, Class2), 100mW (100m Class1)
Network Configuration : Configured with Master and Slave relation. A Bluetooth unit shall allow
simultaneous connections up to 7 devices (in case of ACL).
Reliability : To Guarantee stable wireless communication even under severe noisy environment
through adopting the technique of FHSS (Frequency Hopping Spread Spectrum).
1.2 Operation of Bluetooth
<Feature 1-1 Bluetooth Operation>
Bluetooth operates based on the connection between “Master”and “Slave”.
Masters are simply supposed to do “Inquiry”and “Page”. Slaves are supposed to do “Inquiry Scan”
and “Page Scan”.
If a Master finds a Slave and so “inquiry”is successful, a Slave responds to the Master with its
information.
Interconnection between the Master and the Slave is achieved only if the information from the Slave is
corresponded with the Master, and the Slave sends data to the Master.

FB155BC(HID) User Guide Version 1.0
2 Product Overview
Page 6 / 23
2 Product Overview
Major Features of FB155BC (HID)
1. Bluetooth Specification 2.1 Support
2. Easily applicable to the Product with 8Pins Header type
3. Support AT Command, and capable to control FB155BC(HID) by using AT Command.
4. Easy to connect to use with Bluetooth PDA, Bluetooth USB Dongle, etc.
5. Provides the most compact size among Class 2 EDR.
6. Stable Data Transmission / Receipt
※We request the new users of FB155BC(HID) to read the information on this description carefully
before they start to use the products.

FB155BC(HID) User Guide Version 1.0
3 Product Components
Page 7 / 23
3 Product Components
3.1 FB155BC (HID)
MODEL
PICTURE
Q’TY (EA)
FB155BC (HID)
(On-board chip antenna)
1
<Table 3-1 Basic Components of FB155BC(HID)>
3.2 Smart HID Interface Kit (Option)
MODEL
PICTURE
Q’TY (EA)
Smart HID Interface Board
( Model : FBDx5xHID )
1
RS232 Cable
1
USB Cable
1
AVR Loader
1
CD
1

FB155BC(HID) User Guide Version 1.0
3 Product Components
Page 8 / 23
<Table 3-2 Components of Smart Interface Kit >
※If you find any of above components is defective, or not included in the package, please contact the seller
you purchased.

FB155BC(HID) User Guide Version 1.0
4 Product Appearance
Page 9 / 23
4 Product Appearance
4.1 FB155BC (HID) Dimension
<Figure 4-1 FB155BC-HID Dimension>
4.2 FB155BC (HID) PIN Assign
<Figure 4-2 FB155BC-HID PIN Assign>

FB155BC(HID) User Guide Version 1.0
4 Product Appearance
Page 10 / 23
No.
Name of Signal
Features
I / O
Level
1
GND
Ground
2
VCC
3.3V DC
Input
3
STATUS
STATUS LED
Output
TTL
4
MULTI FUNCTION
Multi Function Control
Input
TTL
(Full-up)
5
NC
None Connect
6
HID STATUS
HID Status
Output
TTL
7
TXD
Transfer Data (Data out)
Output
TTL
8
RXD
Received Data (Data in)
Input
TTL
<Table 4-1 Pin Description>

FB155BC(HID) User Guide Version 1.0
5 Interface (Pin Connection)
Page 11 / 23
5 Interface (Pin Connection)
5.1 Port Connection
<Figure 5-1 Pin Connection>
<Figure 5-2 I/O Pin Connection Diagram>

FB155BC(HID) User Guide Version 1.0
5 Interface (Pin Connection)
Page 12 / 23
5.1 Port Description
- STATUS (No. 3)
Shows the Bluetooth Connection status of FB155BC(HID)
Connection Status
Signal Status
Description
When not Connected
HIGH (3V)
Shows the unconnected status in the standby mode
for AT Command
When Connected
LOW (0V)
Shows the connected status with the other
Bluetooth device. This status allows the HID Report
to be sent to the other device.
When Connecting
LOW –HIGH Repeat
Repeats LOW and HIGH at regular intervals and
shows the connecting status to the other Bluetooth
device.
<Table 5-1 status of the STATUS>
- HID STATUS (No. 6)
Show the status of the HID.
When the HID profile is connected, it repeats LOW - HIGH at regular intervals. If data is not input into the
UART, the HID enters the Sniff mode (low power), and the repetition of LOW - HIGH becomes slower.
When data is input into the UART, the repetition of LOW - HIGH becomes faster.
- MULTI FUNCTION (No. 4)
In MULTI FUNCTION, several functions are defined. Each operation is as shown in the following table.
No
Connection Status
Signal Status
Description
①
When not Connected
Last Connect Request
or
Inquiry an Page Scan
If any paired device exists, it tries to connect to
the last connected device.
If there is no paired device, it starts scanning.
②
When connected
Disconnect Request
Releases the connection from the current device.
③
When not Connected
Hard Reset
If a LOW (0V) signal is maintained for longer than
2.5 seconds, all the settings are initialized.
④
When connected
HID Unplug
And
Hard Reset
If a LOW (0V) signal is maintained for longer than
2.5 seconds, it unplugs the currently connected GT
and initializes all the setting values.
<Table 5-2 MULTI FUCTION`s function>
The operating timing of each function is as shown in <Figure 5-3> and <Figure 5-4>.

FB155BC(HID) User Guide Version 1.0
5 Interface (Pin Connection)
Page 13 / 23
<Figure 5-3 MULTI FUNCTION Event Last Connect Request Timing >
<Figure 5-4 MULTI FUNCTION Event Hard Reset Timing>
Note :
If the Multi Function signal gets full-up, it may function erroneously.

FB155BC(HID) User Guide Version 1.0
6 Smart HID Interface Board (Jig Board)
Page 14 / 23
6 Smart HID Interface Board (Jig Board)
<Figure 6-1 Smart HID Interface Board (Jig Board)>

FB155BC(HID) User Guide Version 1.0
7 Performance of Products
Page 15 / 23
7 Performance of Products
No.
Part
Specification
1
Bluetooth Spec.
Bluetooth Specification 2.1 Support
2
Communication distance
10 M
3
Frequency Range
2.4 GHz ISM Band
4
Sensitivity
-83dBm (Typical)
5
Transmit Power
4dBm(Typical)
6
Size
18 x 20 mm
7
Support Bluetooth Profile
HID Device
8
Input Power
3.3V
9
Current Consumption
48 mA (Max)
10
Operating Temperature
-10℃ ~ 50℃
11
Communication Speed
115,200 bps
12
Antenna
Chip Antenna
13
Interface
UART (TTL Level)
<Table 7-1 FB155BC(HID) Performance>

FB155BC(HID) User Guide Version 1.0
8 Current Consumption
Page 16 / 23
8 Current Consumption
Status
Current Consumption (mA)
MIN
MAX
AVG
Standby
0
3
1
Inquiry scan & Page scan (Slave)
0
48
22
Page scan (Slave)
0
12
1
Connected
18
24
21
Data Transmission
24
30
28
Data Reception
21
33
26
Data Transmission / Reception
27
33
29
Power Save
0
6
1
<Table 8-1 Current Consumption>
TEST CONDITIONS
Baud rate : 115200 bps, Input Voltage : DC 5V
The power consumption will change depending on transmission speed and volume of data.

FB155BC(HID) User Guide Version 1.0
9 Preliminary Product Components
Page 17 / 23
9 Preliminary Product Components
The preliminary value of product is set as on the <Table 9-1>.
Please be sure of basic set value and so on before using the product.
Type
Set Value
Device Name
FB155 HID
Pin Code (Pass key)
0000
Uart (baud rate-data bit-parity bit-stop bit)
115200-8-N-1
ROLE
SLAVE
Connection Mode
MODE4 (AT command)
Debug Char
0x02
<Table 9-1 Preliminary Configuration Setting Value for FB155BC(HID)>

FB155BC(HID) User Guide Version 1.0
10 How to Use - FB155BC(HID)
Page 18 / 23
10 How to Use - FB155BC(HID)
It is a device that operates as a keyboard or mouse by transmitting an HID Keyboard Report or HID Mouse
Report via UART when FB155BC(HID) is connected with the other Bluetooth device. To generate an HID
Report, external MCU or HID Report to UART program is required. Firmtech offers a test board and Smart
HID Interface Kit providing sample source as options.
The connection control method is the same as other devices of Firmtech. When connection is made with
other Bluetooth device, it can transmit keyboard and mouse status by transmitting the below HID Report
value.
- UART HID Report ID 1 Format (Keyboard)
Byte
Value
Description
0 (first byte in packet)
0x0c
Length of packet in bytes (12)
1
0x00
Type of packet: Forward HID Report
2
0xa1
HID input Report Header
3
0x01
Keyboard Report ID 1
4
0x00 to 0xff
Modifier Keys
5
0x00
Reserved
6
0x00 to 0xff
Keycode 1
7
0x00 to 0xff
Keycode 2
8
0x00 to 0xff
Keycode 3
9
0x00 to 0xff
Keycode 4
10
0x00 to 0xff
Keycode 5
11
0x00 to 0xff
Keycode 6
<Table 10-1 UART HID Report ID 1 Format>
- Modifier Keys
Bit
Bit 0
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
Bit 7
Description
LEFT
CTRL
LEFT
SHIFT
LEFT
ALT
LEFT
GUI
RIGHT
CTRL
RIGHT
SHIFT
RIGHT
ALT
RIGHT
GUI
<Table 10-2 Modifier Keys>
In the Keyboard Report Format, the frame size is 12 Bytes as shown in <Figure10-1>. You can check whether
function keys are pressed according to the value of the Modifier Keys, which is fourth Byte in the Keyboard
Format. Each function is defined in <Figure10-2>.

FB155BC(HID) User Guide Version 1.0
10 How to Use - FB155BC(HID)
Page 19 / 23
- Pointer Report Format (Mouse)
Byte
Value
Description
0 (first byte in packet)
0x08
Length of packet in bytes (8)
1
0x00
Type of packet: Forward HID Report
2
0xa1
HID input Report Header
3
0x02
Keyboard Report ID 2
4
0x00 to 0xff
Up to 5 buttons, one bit each
5
0x00 to 0xff
Delta X
Number between -127 and +127 representing the
change in mouse movement on the x-axis
6
0x00 to 0xff
Delta Y
Number between -127 and +127 representing the
change in mouse movement on the y-axis
7
0x00 to 0xff
Wheel movement
Number between -127 and +127 representing the
amount of wheel movement
<Table 10-3 Pointer Report Format>
- Mouse Button
Bit
Bit 0
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
Bit 7
Description
Left
Button
Right
Button
Middle
Button
Always
0
Reserved
Reserved
Reserved
Reserved
<Table 10-4 Mouse Button>
In the Mouse Report Format, the frame size is 8 Bytes as shown in <Figure10-3>. You can check whether
mouse buttons are pressed by checking the value of the Button, which is fourth Byte in the Mouse Format.
Each function is defined in <Figure10-4>.
- ASCII to Keycode Table (Keyboard)
ASCII Char
ASCII value
Keycode
ASCII Char
ASCII value
Keycode
Ctrl-H BS
(Back Space)
0x08
0x2A
Ctrl-I HT
(Tab)
0x09
0x2B
Ctrl-M CR
(Carriage Return)
0x0D
0x28
Ctrl-[ ESC
(Esc)
0x1B
0x29
Space
0x20
0x2C
‘
0x27
0x34
,
0x2C
0x36
-
0x2D
0x2D

FB155BC(HID) User Guide Version 1.0
10 How to Use - FB155BC(HID)
Page 20 / 23
.
0x2E
0x37
/
0x2F
0x38
0
0x30
0x27
1
0x31
0x1E
2
0x32
0x1F
3
0x33
0x20
4
0x34
0x21
5
0x35
0x22
6
0x36
0x23
7
0x37
0x24
8
0x38
0x25
9
0x39
0x26
;
0x3B
0x33
=
0x3D
0x2E
[
0x5B
0x2F
\
0x5C
0x31
]
0x5D
0x30
`
0x60
0x35
a
0x61
0x04
b
0x62
0x05
c
0x63
0x06
d
0x64
0x07
e
0x65
0x08
f
0x66
0x09
g
0x67
0x0A
h
0x68
0x0B
i
0x69
0x0C
j
0x6A
0x0D
k
0x6B
0x0E
l
0x6C
0x0F
m
0x6D
0x10
n
0x6E
0x11
o
0x6F
0x12
p
0x70
0x13
q
0x71
0x14
r
0x72
0x15
s
0x73
0x16
t
0x74
0x17
u
0x75
0x18
v
0x76
0x19
w
0x77
0x1A
x
0x78
0x1B
y
0x79
0x1C
z
0x7A
0x1D
!
( Shift+1 )
0x21
0x1E
“
( Shift+‘)
0x22
0x34
#
( Shift+3 )
0x23
0x20
$
( Shift+4 )
0x24
0x21
%
( Shift+5 )
0x25
0x22
&
( Shift+7 )
0x26
0x24
(
( Shift+9 )
0x28
0x26
)
( Shift+0 )
0x29
0x27
Other manuals for FB155BC
2
Table of contents
Other Firmtech Control Unit manuals