CAPTOUCHSENSESK Silicon Laboratories Inc, CAPTOUCHSENSESK Datasheet - Page 7

KIT STARTER CAP TOUCH SENSE

CAPTOUCHSENSESK

Manufacturer Part Number
CAPTOUCHSENSESK
Description
KIT STARTER CAP TOUCH SENSE
Manufacturer
Silicon Laboratories Inc
Series
ToolStickr
Datasheet

Specifications of CAPTOUCHSENSESK

Sensor Type
Touch, Capacitive
Interface
USB
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
C8051F931
Accessory Type
Cap Touch Sense Starter Kit
Silicon Family Name
C8051F93x?
Silicon Manufacturer
Silicon Labs
Core Sub-architecture
80C51
Core Architecture
8051
Rohs Compliant
Yes
Development Tool Type
Hardware / Software - Starter Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Voltage - Supply
-
Sensitivity
-
Sensing Range
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
For Use With
C8051F931
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
336-1475
6.2. Playing the Memory Game
This section describes how to play the memory game using the capacitive touch sense switches on the
CapTouchSenseDC. The objective of the game is to remember a sequence of lights and press the corresponding
switches. As the player correctly presses the sequence of switches and advances to the next level, the number of
switch presses in a sequence increases. The player wins when the correct sequence at the last level is entered.
1. Press the S2 switch on the daughter card to enter the game. After pressing the S2 switch, all four LEDs will light
2. Press one of the capacitive touch sense switches to select the difficulty level and start the game. Switches A, B,
3. The game begins at level 1. One LED will blink. Press the corresponding switch to advance to the next level.
4. In the second level, there will be a sequence of two blinks. Press the corresponding switches in the same
5. Continue the game until you complete all levels to win the game. A game win is indicated by the blue and green
6. The game can be restarted by pressing the S2 switch.
6.3. Evaluating the Capacitive Touch Sense Switch Sensitivity
Holding the S2 switch for longer than 5 seconds places the device in a switch sensitivity test mode where the
corresponding LED lights up each time a switch press is detected. If connected to the ToolStick Terminal, the raw
codes corresponding to the relaxation oscillator period are displayed on the screen. When the switch capacitance
increases (i.e., the switch is touched), the raw code from the switch should increase. By knowing the approximate
value of "switch pressed" and "switch idle", the appropriate finger-detect threshold can be determined.
When ToolStick Terminal is connected, ensure that the GPIO0 and GPIO1 pins are configured as inputs so that
they do not interfere with the MCU. While running this software, the GPIO pins should only be driven by the MCU.
See the board schematic in "12. ToolStick CapTouchSense Daughter Card Schematic‚" on page 13 to see the
connection between the GPIO pins and the MCU.
up.
C, and D select 4, 8, 16, and 32 levels, respectively.
sequence as the LED blinks to advance to the next level.
LEDs blinking alternately. If you press a switch in the wrong sequence, an error will be indicated by the red LED
blinking four times. The game will then restart at the same level and you will have two such retries. The third
error will end the game. This will be indicated by the red and yellow LED blinking alternately.
ToolStick-CapTouchSenseDC
Rev. 0.2
7

Related parts for CAPTOUCHSENSESK