Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
WWW.FARSENS.COM
BLE-Relay
Datasheet
Bluetooth Low Energy controlled RelayCheck for samples: BLE-Relay
FEATURES
• Bluetooth Low Energy (BLE) interface
– 2400-2480MHz operation
– Bluetooth 4.1 single-mode
– Typical read range: 10m
• Industrial working temperature range: -40 Cto +85 C
• Switching max current: 8A
• Switching max AC voltage: 380 V
• Switching max DC voltage: 125 V
• Friendly User Interface
– Button/LED manual interface
– Reset function
– Demo Android application
∗ Switch relay on / off and changeconnection parameters
∗ Supports Android 4.3 onwards
– Demo Windows application
∗ Switch relay on / off and changeconnection parameters
∗ Supports Windows 8 onwards
• Long battery life time
– CR-2032 button cell lithium battery
– Battery monitoring with alerts in theAndroid and Windows applications andBLE-Relay board
DESCRIPTIONBLE-Relay is a Bluetooth Low Enery controlled relaythat allows opening or closing electrical circuits andreading the state of the switch remotely using a BLEequipped phone, tablet or computer.
The user can remotelly control electrical circuitand configure the BLE-Relay connection parameters.Furthermore, the device notifies the battery statusboth in the board, using the advertising LED, and inthe receiver’s application.
This tag can be controlled with devices supportingBluetooth 4.0 or higher, and the API of the devicemust support the Bluetooth low energy API. Windows,IOS and Android (at least 4.3) devices can be usedto communicate with this tag at distances over tenmeters.
Copyright c©, Farsens 1
BLE-Relay
Datasheet - DS-BLE-Relay-V01 - August 2016 WWW.FARSENS.COM
BLOCK DIAGRAM
The BLE-Relay tag consists of an Bluetooth Low Energy module with an integrated microcontroller and a relaycontrol circuitry an Omron G6CU-2114P bistatic relay.
Rel
ay
con
tro
lBLE
VDD
GND
GPIOS
BISTATIC RELAY G6CU-2114P-US
REL_1
REL_2
VDD
GND
VDD
Figure 1: Manual user interface of BLE-Relay
When the BLE module receives the order to change the relay state, it executes the order using GPIO pins, whichare connected to the relay control circuitry. Depending on the GPIO signals, the relay control manages the stateof the bistatic relay to open or close the electrical circuit.
Additionally, the battery level is monitored using a divisor bridge and the obtained data is sent through BLE tonotice the user the state of the battery, and in case of low battery, an indicator is switched on on the board to alertthe user.
BASIC USER INTERFACE
BLE-Relay includes a Bluetooth Low Energy module, a tactile push button, an advertising RGB LED and aterminal block to connect the Device Under Test. The tactile push button allows switching the device on, whilethe advertising LED shows the system status following a color codification detailed in the next section.
The BLE-Relay consist of two Bluetooth services: Relay, which includes the characteristics related to the resistancemeasuring, and General Characteristics, which includes the characteristics related with the connection parameters.Using these services and characteristics, the user can get the optimal configuration for the specific application.These services and the characteristics are detailed along this section.
2 Copyright c©, Farsens
WWW.FARSENS.COM
BLE-Relay
Datasheet - DS-BLE-Relay-V01 - August 2016
LED
PUSHBUT.
Circuit- +
BLE G6CU-2114PRelay
Figure 2: Manual user interface of BLE-Relay
CHECK STATUS
The advertising RGB LED provides information about the status of the BLE LED board. The LED will showmessages with the following color codification:
COLOR SIGNAL DESCRIPTION
Red Blink Low battery
Green Blink BLE advertising mode
Copyright c©, Farsens 3
BLE-Relay
Datasheet - DS-BLE-Relay-V01 - August 2016 WWW.FARSENS.COM
ABSOLUTE MAXIMUM RATINGS
SYMBOL PARAMETER MIN MAX UNIT
VDD Supply voltage -0.5 5.0 V
Tstorage Storage temperature -40 125 C
ESD RATINGS
SYMBOL PARAMETER MIN MAX UNIT
ESDHBM Static discharge HBM 4000 V
ESDMM Static discharge MM 200 V
RECOMMENDED OPERATING CONDITIONS
SYMBOL PARAMETER MIN TYP MAX UNIT
RF
PRF RF output power -18 3 dBm
POWER SUPPLY
VDD Supply voltage 2.7 3.3 3.6 V
TEMPERATURE
Toperation Operation temperature -40 85 C
ELECTRICAL CHARACTERISTICS
SYMBOL PARAMETER MIN TYP MAX UNIT
RF
RFSENS
RF sensitivity -87 dBm
Theoretical range in open air 25 m
Actual range in typical environment 10 m
POWER SUPPLY
IDD Supply current
Idle 1.83 µA
Advertising @ 50ms 1.30 mA
Advertising @ 5s 20 µA
Connected µA
Switch 61 67 72 mA
Advertising current consumption was measured with advertising periods of 50 ms and 5 s without LED notification.
To estimate the battery life of the device, it is assumed that the device is disconnected and for each switch thedevice is switched on for 15 seconds where the relay state change takes 10 ms.
4 Copyright c©, Farsens
WWW.FARSENS.COM
BLE-Relay
Datasheet - DS-BLE-Relay-V01 - August 2016
SYMBOL PARAMETER Consumption Battery Life
Battery Life
BATLIFE Expected battery life
1 switch / 10 min 28.1 µAh 326 days
1 switch / 30 min 22.7 µAh 403 days
1 switch / hour 21.35 µAh 429 days
≤1 switch / day 20 µAh 458 days
CHARACTERISTICS
SYMBOL PARAMETER MIN TYP MAX UNIT
BISTATIC RELAY
CTtype Contact type Single
CTmaterial Contact material Ag-Alloy (Cd free)
RON Contact resistance 30 mΩ
VACmax Switching voltage (AC) 380 V
VDCmax Switching voltage (DC) 125 V
Imax Switching current 8 A
Delectrical Electrical durability 100.000 ops
Dmechanical Mechanical durability 50.000.000 ops
Copyright c©, Farsens 5
BLE-Relay
Datasheet - DS-BLE-Relay-V01 - August 2016 WWW.FARSENS.COM
SERVICE DESCRIPTION
The BLE-Relay is configured with two Bluetooth Low Energy services, one for Relay specific configuration anda second one for General Characteristics, wich are the same for all Farsen’s BLE tags. The services and eachone’s characteristics are described in this section.
Relay (s) 0000C0C0-0000-1000-8000-00805F9B34FB
OnOff (c) 0000C0C1-0000-1000-8000-00805F9B34FB
Characteristic User Description 00002901-0000-1000-8000-00805F9B34FB
GenCharact. (s) 0000C1C0-0000-1000-8000-00805F9B34FB
BatteryLevel (c) 0000C1C1-0000-1000-8000-00805F9B34FB
Client Characteristic Configuration 00002902-0000-1000-8000-00805F9B34FB
Characteristic User Description 00002901-0000-1000-8000-00805F9B34FB
TX Power (c) 0000C1C2-0000-1000-8000-00805F9B34FB
Characteristic User Description 00002901-0000-1000-8000-00805F9B34FB
Advertising Mode (c) 0000C1C3-0000-1000-8000-00805F9B34FB
Characteristic User Description 00002901-0000-1000-8000-00805F9B34FB
Advertising Parameters (c) 0000C1C4-0000-1000-8000-00805F9B34FB
Characteristic User Description 00002901-0000-1000-8000-00805F9B34FB
Reboot (c) 0000C1C5-0000-1000-8000-00805F9B34FB
Characteristic User Description 00002901-0000-1000-8000-00805F9B34FB
Save Configuration (c) 0000C1C6-0000-1000-8000-00805F9B34FB
Characteristic User Description 00002901-0000-1000-8000-00805F9B34FB
Advertising LED (c) 0000C1C7-0000-1000-8000-00805F9B34FB
Characteristic User Description 00002901-0000-1000-8000-00805F9B34FB
Battery LED (c) 0000C1C8-0000-1000-8000-00805F9B34FB
Characteristic User Description 00002901-0000-1000-8000-00805F9B34FB
(s) = service, (c) = characteristic.
RELAY SERVICE
OnOff is a read and write type characteristic used to switch on or off the relay and read its status. It is a one bytevariable, where 0x00 value indicates an open circuit or it is sent to open the relay, while a 0x01 indicates a closecircuit or it is sent to close it.
6 Copyright c©, Farsens
WWW.FARSENS.COM
BLE-Relay
Datasheet - DS-BLE-Relay-V01 - August 2016
Byte 0
OnOff
rawdata
content
GENERAL CHARACTERISTICS
The second Bluetooth service of the BLE-Relay is the GeneralCharacteristic, which sets the connection parametersand some extra features to the device such as the battery level indicator, the possibility to save configuration orreboot the device.
The main connection parameters are the TX Power level, advertising period and advertising timeout, describedin the next figure:
Time
TX
Po
we
r
Adv.
Period
Adv. Timeout
TX Power level sets the communication power level between the BLE-Relay and the receiver. This parametersupports the following values: -18 dBm, -12 dBm, -6 dBm, -3 dBm, -2 dBm, -1 dBm, 0 dBm and 3 dBm. It is aread and write type characteristic wich is transmitted as an int16 type variable as shown in the following figure:
Byte 1
TXH TXL
Byte 0rawdata
content
This device has two advertising modes, the one where the device is always switched on and visible and a second
Copyright c©, Farsens 7
BLE-Relay
Datasheet - DS-BLE-Relay-V01 - August 2016 WWW.FARSENS.COM
one where the device is switched off, and it is waked up to the advertising mode using a physical button placedon the BLE-Relay .
• Button mode: The device is switched of if there is no active connection with any device. To set it intoadvertisement mode the button placed on the board must be pressed, and then, the device enters theadvertising mode sending advertising messages with a period and timeout set in the Advertising Parameterscharacteristic. Once the advertising time elapsed, the system is switched off until the button is pressedagain. When the BLE-Relay is disconnected from a receiver, the device enters the advertising mode againwith the parameters specified in the Advertising Parameters characteristic.
• Visible mode: The device is never switched off, it can be connected to a device or in the advertising modewaiting for a connection. Working in this mode, the advertisement follows the period set in the AdvertisingParamters characteristic but there is no timeout, because it is continuously sending messages.
The selection of the advertising mode is carried out with the Advertising Mode read and write characteristic.When a 0x00 is written in this handle, the advertisement mode is set to button mode while setting this handle to0x01 visible mode is selected.
Byte 0
AdvMode
rawdata
content
Advertising Parameters is a read and write characteristic to set the advertising period and timetout. It is a 4byte variable, which is divided into to int16 variables: advertisement period and advertisement timeout.
Byte 3
TimeoutH TimeoutL PeriodH PeriodL
Byte 2 Byte 1 Byte 0rawdata
content
BatteryLevel characteristic is a read and notify type characteristic that provides the battery voltage in a float typevariable. As explained for Rvalue characteristic, notify working mode is enabled setting the Client CharacteristicConfiguration to 0x01. To disable the notifications the 0x00 value must be written in the Client CharacteristicConfiguration.
8 Copyright c©, Farsens
WWW.FARSENS.COM
BLE-Relay
Datasheet - DS-BLE-Relay-V01 - August 2016
Byte 3
BattXH BattH BattL BattXL
Byte 2 Byte 1 Byte 0rawdata
content
Reboot is a write only characteristic which offers the posibility to remotely reboot the device by setting the handleto 0x01. This action will reset the device with the parameters saved on the memory.
Byte 0
Reboot
rawdata
content
Save Configuration is a write only characteristic to save all the configuration data into the non volatile memory ofthe device. Thus, configuration is not lost when the device is switched off or battery is replaced. Memory writtingprocess is enabled by setting this handle to 0x01.
Byte 0
Save
rawdata
content
Advertisement LED is a read and write characteristic that offers the posibility to enable or disable LED notificationswhen the device is in advertisement mode. To enable the notifications, 0x01 value must be written in this handle,while writting 0x00, notifications are disabled.
Byte 0
AdvLED
rawdata
content
Copyright c©, Farsens 9
BLE-Relay
Datasheet - DS-BLE-Relay-V01 - August 2016 WWW.FARSENS.COM
Finally, Battery LED is a read and write characteristic to switch on or off low battery LED notifications. As in caseof Advertising LED characteristic, 0x01 value must be written to enable notifications and 0x00 to disable them.When notifications are enabled and battery level is low, the LED blinks in red every 10 seconds to notify the lowbattery status.
Byte 0
BattLED
rawdata
content
10 Copyright c©, Farsens
WWW.FARSENS.COM
BLE-Relay
Datasheet - DS-BLE-Relay-V01 - August 2016
DEMO SOFTWAREIn order to receive data from the BLE-Relay device, a custom software is required. This software is availablefor Android and Windows, which can be downloaded from Google Play and Windows Store respectively. Theapplication is called Bluetooth Relay and it can be downloaded from the following links or QR code:
Copyright c©, Farsens 11
BLE-Relay
Datasheet - DS-BLE-Relay-V01 - August 2016 WWW.FARSENS.COM
REFERENCESThe next table shows the available references of the BLE-Relay.
Ref. Name Description
39002 BLE-Relay Bluetooth Low Energy with Omron G6CU-2114P bistatic relay, PCBformat
For custom references, please contact us at [email protected].
12 Copyright c©, Farsens
WWW.FARSENS.COM
BLE-Relay
Datasheet - DS-BLE-Relay-V01 - August 2016
PACKAGING
PACKAGE DESCRIPTION
Maximum height: 18 mm.
Notes: 1. All linear dimensions are in millimeters.2. This drawing is subject to change without notice.
Copyright c©, Farsens 13