Silicon Laboratories Si1120 User Manual

Si1120-EK
Si1120 EVALUATION KIT USER S GUIDE
1. Kit Contents
The Si1120 Evaluation Kit contains the following items:
Si1120 Evaluation BoardC8051F930 Target BoardSi1120EK Quick Start GuideAC to DC Power AdapterUSB Debug Adapter (USB to Debug Interface)2 USB Cables
2. Introduction
The Si1120EK is intended as an evaluation and development platform for the Si1120 infrared proximity and ambient light sensor. Two PCBs are included in the kit: the Si1120 EVB shown in Figure 1, and the C8051F930-TB shown in Figure 2. Although the C8051F930-TB is part of the development kit, the documentation in this user’s guide will focus on the Si1120 EVB and the example firmware. For more specific information on the C8051F930 TB, refer to the “C8051F930-DK User’s Guide”. The main components of the Si1120 EVB are the Si1120 sensor (U1), the infrared emitters (D1 through D7), and header J1 which allows for selection between different infrared emitters on the board. On this PCB, the infrared emitters used are OSRAM part number SFH 4650-Z. These emitters have a power rating of 45 mW and a half-angle of 20 degrees. Other emitters with different characteristics may also be used, depending on the specific application requirements.
The example firmware for the kit measures the infrared light energy detected by the Si1120 while each of three infrared emitters are independently activated. The infrared light from these emitters will be reflected back to the Si1120 by any object that is placed in proximity to the sensor. X, Y, and Z positions can be calculated from these measurements. If no object is close enough to the board, the measured signal levels will fall below pre-determined thresholds, and the position calculations will not update. The example firmware is intended to be used in conjunction with the QuickSense the current position, the firmware is able to detect different gestures from the infrared sensor, as described in Table 1 on page 8. The Si1120’s ambient light sensor (ALS) is also monitored by the firmware, which can determine the type of ambient light presen t.
Note: The touchless infrared position detection implemented in the example is patent pending.
TM
Performance Analysis Tool to provide user feedback. In addition to calculating
3. Getting Started
The Si1120 Evaluation Kit requires some PC software to be installed, as well as some basic hardware setup of the boards included in the kit.
3.1. Software Download and Installation
1. Browse to the Si1120 Evaluation Kit page at the URL http://www.silabs.com/Si1120EK.
2. Download and install the latest CP210x USB-to-UART Virtual COM Port (VCP) driver. This driver is necessary to establish serial communications with the board.
3. Download and install the latest version of QuickSense part of this package, and is an integral part of the example firmware functionality.
4. (Optional) Download and install the Silicon Laboratories IDE and the Si1120 Evaluation Kit package. This will enable programming and debugging of the example source code. Note that the firmware is pre-loaded into the board during manufacturing. The IDE and board package are needed to upgrade or modify the firmware.
Rev. 0.1 12/09 Copyright © 2009 by Silicon Laboratories Si1120-EK
TM
Studio. The QuickSense Perfo rmance Analysis Tool is
Si1120-EK
P1
J3
VTX0
VDD
B1
J4
J9
J1
VTX0
VTX0
J2
GND
MD
SC
PRX
STX
TXO
VDD
U1
D1
D6 D7D5
D2
D3
D4
SILICON LABS
Si1120 EVB
P0.2 P0.3
J3
J4
J2
`
P3
CP
2103
U3
P2
DEBUG
J9
USB POWER
RESET
P1.6 P1.5
POWER OFF BEFORE
SW4
SWITCHING MODE
2 CELL
1 CELL
J17
IMEASURE
H2
SILICON LABS
www.silabs.com
H1
J6
VDD/DC+
J5
J7 J13
F930
U1
J14
J11
J10
VBAT
WALL_PWR
AAA_BAT
COIN_CELL
TOUCH SENSE SWITCH
P2.0
TOUCH SENSE SWITCH
P2.1
P1.4 J15 GND
J16
R15
J12J8
+3VD
+1VD
VBAT
J1
SW5
ON
OFF
SW2 SW3
PORT2
PORT1
SW1
PORT0
C8051F930-TB
P1
3.2. Hardware Setup
1. Ensure the shorting blocks are configured for basic operation on both boards, as shown in Figure 1 and Figure 2.
2. Connect the Si1120 EVB to the 96-pin connector on the C8051F930 TB.
3. Connect the USB Debug Adapter to the DEBUG connector on the C8051F930 TB with the 10-pin ribbon cable.
4. Connect one end of a USB cable to the USB connector on the USB Debug Adapter, and the other end to a USB Port on the PC.
5. Verify that a shorting block is installed on J17 of the C8051F930 TB and that SW5 is in the ON position.
6. Connect the ac/dc power adapter to power jack P1 on the C8051F930 TB (Optional).
7. Connect one end of a USB cable to connector P3 on the C8051F930 TB, and the other end to a USB port on the PC. Note that the CP210x VCP drivers should have been inst alled during the software setup described in “3.1. Software Download and Installation” . If the drivers are installed correctly, a dialog box will pop up notifying the user that a new USB device has been found.
Refer to Figure 3 for the full hardware connection diagram.
Figure 1. Si1120 Evaluation Board—Shorting Block Settings
2 Rev. 0.1
Figure 2. C8051F930 Target Board—Shorting Block and Switch Settings
Si1120-EK
Communication
with PC
`
CP 210
3
SILICON LABS
www.silabs.com
F930
C8051F930-TB
P1
SILICON LABS
Si1120 EVB
Debug
Connection
to PC
AC/DC
Adapter
SILICON LABS
J1
Select Corner Emitter (D1 Only)
D1 D7 D6 D5
D2 D3 D4
Select “X” Axis Emitter
Select “Y” Axis Em itter
Figure 3. Hardware Setup
3.2.1. Si1120 EVB Header J1 Settings
To function properly with the demonstration firmware, the shorting blocks on header J1 should be set as indicated in Figure 1. However, these can be set differently, according to the application. The corner emitter is fixed at D1, but a shorting block point is provided for debug purposes. The “X” and “Y” axis emitters can each be moved between three different positions on the board, as sh ow n in Fig ur e 4.
Figure 4. Header J1 Setup
Rev. 0.1 3
Loading...
+ 7 hidden pages