S i 11 4 x - M F B
Si11 4
X
M
ULTI
- F
UNCTION
K
I T
U
SER
’
S
G
UIDE
1. Kit Contents
The Si114x Multi-Function Kit contains the following items:
Si114x Multi-Function Board
Si114x-MFB Quick Start Guide
2 USB Cables
2. Introduction
The Si114x-MFB is intended as an evaluation and development platform for the Si1141, Si1142, and Si1143
infrared proximity and ambient light sensors. The board has two sides which are separate systems that only share
communications and debug connections to the PC. The active side is chosen using the hardware switch S1, shown
in Figure 1. When the switch is in the upward position, the Top-Side is the active side while the Bottom-Side is
active when S1 is in the downward position. As shown on the left side of Figure 1, the main components of the top
side of the Si114x multi-function board (Si114x-MFB) are the Si1143 sensor (U4), the C8051F931 microcontroller
(U1), and the infrared emitters (DS2 through DS4). On this PCB, the infrared emitters used are OSRAM part
number SFH 4056. These emitters have a power rating of 40 mW and a half-angle of 22 degrees. As shown on the
right side of Figure 1, the main components of the bottom side of the Si114x-MFB are the Si1143 sensor (U6), the
C8051F931 microcontroller (U5), and the infrared emitter DS5. This emitter is OSRAM part number SFH 4650 and
has a power rating of 45 mW and a half-angle of 15 degrees. Other emitters with different characteristics may also
be used, depending on the specific application requirements.
The default firmware for the top-side of the board is a thumb-scroll implementation that measures the infrared light
energy detected by the Si1143 while each of three infrared emitters are independently activated. The infrared light
from these emitters will be reflected back to the Si1143 by a thumb that is swiped in proximity to the sensor. The
firmware is able to detect different gestures using the infrared sensor, as described in Table 1 on page 6. The nine
LEDs DS8-DS16 will change state to indicate what gesture was recognized. The Si1143’s ambient light sensor
(ALS) is also monitored by the firmware. The default firmware is intended to be used in conjunction with the Si114x
Performance Analysis Tool to provide user feedback.
The default firmware on the bottom-side of the board is a long-range implementation that measures the infrared
light energy detected by the Si1143 while a single infrared emitter is activated. All three of the Si1143’s LED drivers
are connected to the one emitter to allow multiple drivers to activate the emitter at the same time in order to send
more current through the emitter than one driver can provide. Driving more current through the emitters can help
achieve longer ranges of detection because the infrared LEDs emit more light with more current. The default
firmware only uses one driver at the default pulse width to drive the LED. The five LEDs DS17-DS21 will change
state to indicate how much infrared light feedback is being measured. The Si1143’s ambient light sensor (ALS) is
also monitored by the firmware. The default firmware is intended to be used in conjunction with the Si114x
Performance Analysis Tool to provide user feedback.
Rev. 0.2 7/13
Copyright © 2013 by Silicon Laboratories
Si114x-MFB
Si114x-MFB
TOP SIDE
P1
SILICON LABS
www.silabs.com
BOTTOM SIDE
COMM
U1
CP2103
Si114x RANGE DEMO
S1
DS1
DS17
DS18
DS19
DS20
DS21
DS8
DS11
DS14
DS9
DS12
DS15
DS10
DS13
DS16
U1
F931
U3
F326
DEBUG
P2
U5
F931
U6
DS4
U4
DS5
DS3
DS2
Figure 1. Si1143 Evaluation Board
2
Rev. 0.2
Si114x-MFB
3. Software Overview
There are several optional software packages available to support the Si114x Multi-Function Kit. The Si114x
Performance Analysis Tool can be used for initial evaluation to collect data from the board over the USB interface
and display it graphically. For users ready to develop their own software, the Si114x Programmer’s Toolkit API
enables rapid development of Si114x software in a PC environment using the Si114x Multi-Function Kit. The
Si114x Programmer’s Toolkit contains example source code that allows developers to get started quickly and then
tailor their code to their needs. In addition, the Silicon Labs Integrated Development Environment (IDE) provides a
means of developing code for the C8051F931 and uses the USB DEBUG connection on the board to program the
MCU and perform in-system debugging. All of the supporting software can be downloaded from the web at the
URL
http://www.silabs.com/products/sensors/pages/optical-sensor-software.aspx.
3.1. Using the Si114x-MFB with the Performance Analysis Tool
The Si114x Multi-Function Board is supported by the Si114x Performance Analysis Tool. The Performance
Analysis Tool allows users to see real-time infrared proximity and ambient light measurements from the Si1143 in a
graphical form. The communications interface to the Si114x Multi-Function Board is provided over the USB
connection.
To use the Performance Analysis Tool with the Si114x Multi-Function Board:
1. Connect the Si114x Multi-Function Board to the PC using a cable plugged into the COMM USB port.
2. Launch the Performance Analysis Tool from the “Start” menu.
3. Select the board from the “Devices” menu (typically either COM3 or COM4 depending on your system).
4. Select the channels you wish to display on the picture of the slider board that appears. The individual channels
available are described in “3.1.1. Channel Selection” .
5. Click the green “Acquisition” arrow to begin collecting data
Figure 2 shows an example of the Performance Analysis Tool output when connected to the Si114x Multi-Function
Board. To generate the graph, a thumb was moved above the thumb-scroll side of the board. The selected traces
shown are the raw data measurements for the amount of Infrared light being reflected onto the part. The pink trace
represents the proximity measurements from infrared emitter DS3; the green trace represents the measurements
from infrared emitter DS4, and the yellow trace represents the measurements from infrared emitter DS2.
Figure 2. Performance Analysis Tool Main Window
Rev. 0.2
3
Si114x-MFB
3.1.1. Channel Selection
Selecting which channels to display is done by checking the appropriate boxes on the Board Representation
window, shown in Figure 3, and the Generic Data window, shown in Figure 4. There are two different groups of
measurements available from the example firmware: raw data channels and generic data channels.
3.1.1.1. Raw Data Channels
The raw data measurements can be seen by selecting the channels from the Board Representation window, shown
in Figure 3. The two types of raw data measurements are ambient light and infrared proximity.
1. Raw ambient light measurements. The ambient light channels are Channel 0 (red) and Channel 1(blue).
Channel 0 displays measurements of the ambient visible light while Channel 1 displays measurements of the
ambient infrared light.
2. Raw infrared proximity measurements. The infrared proximity channels are Channel 2 (pink) readings using
DS3, Channel 3 (green) readings using DS4, and Channel 4 (yellow) readings using DS2. Channels 3 and 4 will
not be available for the Bottom-Side since it is a single LED implementation. The output is proportional to the
amount of infrared light being reflected onto the part by an object above the board. These outputs are 16-bit
unsigned values.
Figure 3. Raw Data Channel Selection
4
Rev. 0.2
Si114x-MFB
3.1.1.2. Generic Data Channels
The generic data channels contain any data generated by the host MCU. These 16-bit channels can be anything
from simple debug channels to calculated position values. See Table 2 or Table 3 for an explanation of all the
channels shown in Figure 4.
Figure 4. Generic Data Channel Selection
Rev. 0.2
5