Si1142 Infrared Slider Demo Kit Si1142 IRSLIDER2EK DEMO KIT USERS GUIDE 1. Kit Contents The Si1142 Slider Demo Kit contains the following items: Si1142 Slider Demo Board Si1142 Slider Demo Board Quick Start Guide USB Cable 2. Introduction The Si1142 Slider Demo Board implements an infrared touchless slider function based around the Si1142 infrared proximity and ambient light sensor. As shown in Figure 1, the main components of the board are the Si1142 sensor (U2), the C8051F800 microcontroller (U1), and two infrared emitters (DS1 and DS2). Hardware is also provided on-board to facilitate code development for the C8051F800 and communications with software support packages over a USB interface. The firmware running on the C8051F800 measures the infrared light energy detected by the Si1142, while each of the two infrared emitters are independently activated. The infrared light from these emitters will be reflected back to the Si1142 by any object that is placed in proximity to the board. The left-right position is then calculated from these two measurements and used to illuminate the appropriate signal LED. If no object is close enough to the board, the measured signal levels will fall below pre-determined thresholds, and no signal LEDs will be illuminated. In addition to indicating the current position, the firmware is also able to detect different gestures from the infrared sensor, as described in Table 2 on page 6. The Si1142s ambient light sensor (ALS) is also monitored by the firmware, which can determine the amount of ambient light present. Note: The touchless infrared position and gesture detection implemented in the example is patent pending. DS10 Si1142-EB +5V IN P1 SILICON LABS U3 www.silabs.com U1 F326 F800 DS1 DS2 U2 Figure 1. Si1142 Slider Demo Board Rev. 0.3 7/13 Copyright 2013 by Silicon Laboratories Si1142 Infrared Slider Demo Kit Not Recommended for New Designs DS8 DS9 DS14 DS5 DS6 DS7 DS4 DS3 DS12 DS11 DS13Si1142 Infrared Slider Demo Kit 3. Running the Pre-Loaded Slider Demo 1. The board receives its power over the USB interface. Connect one end of a USB cable to the USB connector (P1) on the Si1142 Slider Demo Board and the other end to a USB Port on the PC. 2. The red LED DS10 should light on the board, indicating that it is receiving power from the USB. 3. Position a hand about 5 to 10 cm above and perpendicular to the board. The visible blue LEDs will light according to the position of the hand above the board. 4. To initiate a pause gesture, hold steady for about 3/4 seconds. The current LED position indicator will blink a few times to indicate that a pause gesture has been detected. 5. To perform a swipe gesture, move the hand from left to right (swipe right) or right to left (swipe left) above the entire length of the board. The LEDs will briefly light in a sweeping pattern to indicate that a swipe gesture was detected. On this board, 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. Other emitters with different characteristics may also be used, depending on the specific application requirements. 4. Software Overview There are several optional software packages available to support the Si1142 Slider Demo Board. 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 on screen. For users ready to develop their own software, the Si114x Programmers Toolkit API enables rapid development of Si114x software in a PC environment using the Si1142 Slider Demo Board. The Si114x Programmers Toolkit contains example source code that allows developers to get started quickly and then tailor the code to their needs. In addition, the Silicon Labs Integrated Development Environment (IDE) provides a means of developing code for the C8051F800 and uses the USB 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: