
TiWi-uB1 Module
EM BOARD USER GUIDE
The information in this document is subject to change without notice.
330-0134-R1.0
Copyright © 2013 LS Research, LLC
Page
18
of
26
5.2.3 TiWi-uB1 EM Board Firmware
The TiWi-uB1 EM Board firmware can be downloaded from the TiWi-uB1 Wiki in binary or
source code form.
EM Board (BLE peripheral) Firmware Features
At startup the TiWi-uB1 module will start advertising and continue to advertise for
≈30
seconds. During advertising the red LED will be on.
Advertising can be turned on or off by pressing the USER (S1) button.
Once connected to a Central Device, the red LED will turn off. The connection interval is set
to 250ms.
Once connected, the USER button can be held for
≥ 8 seconds (hold until the red LED turns
on) to disconnect from the Central Device. After disconnecting the module will start
advertising right away.
Once connected, the user button can be held for
≥ 4 seconds (until the green LED turns on)
but not longer than 8 seconds to enable the TPS62730 regulator during battery voltage
readings. By default the battery voltage readings are done the TPS62730 in bypass mode
so the actual battery voltage can be read.
Four demo services are available in the firmware. Battery level, GPIO, range test, and
temperature.
5.2.4 iOS Application
The sample LSR iOS application can be used on any Apple device running iOS 5
or later. It is intended to demonstrate the capabilities of the TiWi-uB1 and
provides a starting point for users intending to write their own iOS applications.
The LSR iOS demonstration application performs the following functions:
Establishes a connection to any LSR TiWi-uB1 EM Board (Figure 10).
Displays RSSI (Received Signal Strength) of the iOS device and the LSR
TiWi-uB1 EM Board (Figure 11).
Allows the user to remotely control the LSR TiWi-uB1 EM Board LEDs
remotely (Figure 11).
Graphically shows the status of the LSR TiWi-uB1 EM Board on board user
switch (Figure 11).
Displays the temperature from the temperature sensor on board the LSR
TiWi-uB1 EM Board (Figure 11).
Displays the Battery or supply voltage of the LSR TiWi-uB1 EM Board (Figure
11).
Displays the RF statistics of the LSR TiWi-uB1 EM Board (Figure 12).