Page 2
Figure 1.1: Customer-provided Windows PC CAP1xxx graphical user interface (GUI) software (based on National Instruments LabVIEW software) CAP1xxx Evaluation Board - either the CAP1188 or CAP1298 versions (see Figure 1.2) 2013 Microchip Technology Inc. DS50002221A-page 2...
Page 4
CAP12xx family including the signal guard. The CAP1188, CAP1166, CAP1128, CAP1126, CAP1133, and CAP1106 are similar, with the exception of the number of capacitive sensor inputs and LED drivers, as shown in Table 1.1. 2013 Microchip Technology Inc. DS50002221A-page 4...
Page 5
GUARD SENSORS CAP1203 CAP1293 CAP1206 CAP1296 CAP1208 CAP1298 1.2.2 Major Components on the Evaluation Board Figure 1.3 shows the component side of the CAP1188 evaluation board and highlights some of the important components. 2013 Microchip Technology Inc. DS50002221A-page 5...
Page 6
CAP1xxx Evaluation Board User’s Guide PIC16F1455 Programming PIC16F1455 CAP1188 Header 8-pin Communication Header 5V to 3.3V Regulator PIC16F1459 CAP1298 Programming PIC16F1459 Header 8-pin Communication Header Figure 1.3 Evaluation Board Component Side View 2013 Microchip Technology Inc. DS50002221A-page 6...
CD. This steps through the CAP1xxx GUI installation, which takes less than a minute. Figure 2.1 shows the initial installation screen, which displays briefly as the setup program loads. Figure 2.1 Software Installation Step 1 2013 Microchip Technology Inc. DS50002221A-page 7...
Page 8
C:\Program Files\National Instruments. Figure 2.2 Software Installation Step 2 In order to use the LabVIEW software, the license agreement must be accepted (see Figure 2.3). Figure 2.3 Software Installation Step 3 2013 Microchip Technology Inc. DS50002221A-page 8...
Page 9
Windows Start Menu and on the desktop. When installation is complete, the program will automatically run and begin looking for the PIC16F145x USB to I2C bridge. (see Figure 2.4). Figure 2.4 RightTouch Evaluation Software Start-up Screen 2013 Microchip Technology Inc. DS50002221A-page 9...
Page 10
Once installation of the USB Bridge is complete, the GUI software will begin communications with the device on the EVB. Figure 2.5 USB Bridge Driver Installation Step 1 2013 Microchip Technology Inc. DS50002221A-page 10...
Page 11
CAP1xxx Evaluation Board User’s Guide Figure 2.6 USB Bridge Driver Installation Step 2 Figure 2.7 USB Bridge Driver Installation Step 3 2013 Microchip Technology Inc. DS50002221A-page 11...
The GUI then reconfigures the CAP1xxx evaluation board with predetermined values specific to the evaluation board's hardware. Figure 4.1 shows the default GUI for the CAP1188 evaluation board. Figure 4.1 Default State of RightTouch GUI with the CAP1188 Evaluation Board 2013 Microchip Technology Inc. DS50002221A-page 13...
Page 14
In addition to the device name lighting up on the evaluation board and displaying in the software title bar, the Device Information Control Panel also shows the device that has been populated on the 2013 Microchip Technology Inc. DS50002221A-page 14...
Page 15
The Save/Load tab, located in the lower left corner of the Advanced Tab and shown in Figure 4.4, allows the user to save all the settings that have been configured for the device to allow quick re- configuration at any time. 2013 Microchip Technology Inc. DS50002221A-page 15...
Page 16
Once a file is saved, it can be recalled at any time by selecting the file in the data path window and clicking the “LOAD” switch. The file can also be linked to a QuickLoad button (see Section 4.5.5, "QuickLoad Buttons"). 2013 Microchip Technology Inc. DS50002221A-page 16...
Page 17
Status and Control Panel, which controls and displays the status of the communications between the GUI software and the evaluation board and includes buttons for loading configurations. This control panel is always displayed. Figure 4.5 Communications Status and Control Panel 2013 Microchip Technology Inc. DS50002221A-page 17...
Page 18
Clicking the Update All Registers button will automatically cycle refreshing all controls and readings on the control panel. The keyboard shortcut is F7. 2013 Microchip Technology Inc. DS50002221A-page 18...
Page 19
The Defaults button, toward the bottom of the red highlighted panel shown in Figure 4.5, loads the default register settings on the device as described in the datasheet. The keyboard shortcut is F6. 2013 Microchip Technology Inc. DS50002221A-page 19...
Page 20
When the Display Value switch is set to Delta, the number cell below each indicator bar displays the least significant byte of that channel’s current delta count. When the Display Value switch is set to Max, 2013 Microchip Technology Inc. DS50002221A-page 20...
Page 21
4.9, displays Base, Delta, Current Count, Calibration Factor, and Capacitance in a register format and includes a Sensitivity control. This tab can be used to check the sensors' calibration values. Figure 4.9 Base Counts Tab 2013 Microchip Technology Inc. DS50002221A-page 21...
Page 22
The All Raw Device Registers display shows a scrollable list of registers and their current values. It is important to note that not all addresses are physical memory locations on the device; these registers will read “0”. Likewise, some registers shown that are undocumented in the datasheet may have data. 2013 Microchip Technology Inc. DS50002221A-page 22...
Page 23
Occasionally it is desirable to force recalibration of the sensor inputs. Clicking the Calibration Activate switch will recalibrate the sensor inputs. Note: This is equivalent to writing 0xFF to the Calibration Activate register (26h). 2013 Microchip Technology Inc. DS50002221A-page 23...
“Individual Sensor Updates”. 4.10.2 Standby Tab The Standby tab of the Advanced window's Thresholds section shown in Figure 4.13, contains sensor input controls for the Standby power state. 2013 Microchip Technology Inc. DS50002221A-page 24...
Page 25
The Standby Threshold defines the delta count threshold level for all sensor inputs when the device is in the Standby state. There is also a Standby Sensitivity bar that affects the Standby Sensitivity Register (42h). 2013 Microchip Technology Inc. DS50002221A-page 25...
Figure 4.14, contains the threshold used to detect noise. The Sensor Noise Thresholds are a percentage of the Sensor Thresholds on the Active tab. Figure 4.14 Thresholds Control Panel - Noise Tab Displayed 2013 Microchip Technology Inc. DS50002221A-page 26...
Page 27
Negative delta count allows selection of the number of consecutive negative delta counts necessary to trigger a digital recalibration. Both of these controls affect the Recalibration Configuration Register (2Fh). 2013 Microchip Technology Inc. DS50002221A-page 27...
Page 28
Clear INT button is disabled (light gray), the user must manually clear interrupts by clicking the INT indicator or the Auto Clear INT button. This allows for a more realistic demonstration of the behavior of the device's registers between host reads and writes of the INT bit. 2013 Microchip Technology Inc. DS50002221A-page 28...
Configuration Register (20h). The Configuration 2 section allows the user to enable and disable bits in the Configuration 2 Register (44h). These registers control the general global functionality of the device. Refer to the datasheet for details. 2013 Microchip Technology Inc. DS50002221A-page 29...
Page 30
The M Press control affects the Sensor Configuration 2 Register (23h). The M Press setting delineates the time duration difference between a touch versus a press-and-hold event. If the press is longer than the M Press time, it is considered a press-and-hold. 2013 Microchip Technology Inc. DS50002221A-page 30...
Page 31
Controls in the Repeat Rate Enable section affect the Repeat Rate Enable Register (28h). When checked, the repeat rate defined in the Sensor Configuration section is enabled for the button. 2013 Microchip Technology Inc. DS50002221A-page 31...
Page 32
‘1’ in logic. The 'Sensor Enable' column determines which sensors are scanned in Active mode. The 'Sensor Interrupt' column determines which sensors produce an interrupt when a touch is detected. 2013 Microchip Technology Inc. DS50002221A-page 32...
Page 33
Combo mode. The 'Signal Guard Enable' column is only available on CAP129x devices and determines which sensors will have the signal guard enabled during their scan. Figure 5.2 All Sensor Settings 2013 Microchip Technology Inc. DS50002221A-page 33...
Page 34
(which will increase sensitivity), but the sensor must fall within the selected capacitance range or it will not calibrate. 2013 Microchip Technology Inc. DS50002221A-page 34...
For example: if this is used to power on and off the application, setting a minimum press period with these options minimizes the chance of a user accidentally pressing the sensor. 2013 Microchip Technology Inc. DS50002221A-page 35...
Page 36
To access individual LED controls, click the respective LED button on the left side of the control panel or use the scroll switch above the buttons. The control panel will then display controls for the selected LED. Figure 6.2 shows the control panel after the 'LED 1' button was clicked. 2013 Microchip Technology Inc. DS50002221A-page 36...
INT button is disabled (light gray), the user must manually clear interrupts by clicking the Auto Clear INT button or the INT indicator on the Main Tab (Section 4.12, "Status and Control Panel"). 2013 Microchip Technology Inc. DS50002221A-page 37...
Page 38
6.3, displays a view of the LED controls for all the LEDs. A check mark represents a ‘1’ in logic. Note: This control panel does not include LED behavior. Use the individual settings panels instead. Figure 6.3 All LED Settings 2013 Microchip Technology Inc. DS50002221A-page 38...
Page 39
LED Behavior Configuration Control Panel The LED Behavior Configuration Control Panel, shown in Figure 6.4, provides controls for the 4 different types of behaviors available to the LED drivers. Figure 6.4 LED Behavior Configuration Control Panel 2013 Microchip Technology Inc. DS50002221A-page 39...
Page 40
Controls in the LED Direct Rates section affect the LED Direct Ramp Rates Register (94h) and LED Off Delay Register (95h). The LED Direct Rate Response Graph reflects the settings in the LED Direct Rates section. 2013 Microchip Technology Inc. DS50002221A-page 40...
Page 41
If a file with the same name already exists, the file will be overwritten and old data will be lost. After generating data for a desired period of time, click the 'Save Sensor History' switch so it’s in the down (OFF) position (see Figure 7.1). 2013 Microchip Technology Inc. DS50002221A-page 41...
Page 42
CAP1xxx Evaluation Board User’s Guide The data is saved in a .csv format, as shown in Figure 7.2. Figure 7.2 Sample Sensor_History.csv File 2013 Microchip Technology Inc. DS50002221A-page 42...
(0101_000r/w). If an external board has been connected to the evaluation board's 8-pin communications header, a new address may need to be selected. If communications were stopped when the evaluation board was disconnected, click the Run button (see Section 4.5.1, "Stop and Run Buttons"). 2013 Microchip Technology Inc. DS50002221A-page 43...
9 Revision History Table 9.1 Revision History REVISION LEVEL & DATE SECTION/FIGURE/ENTRY CORRECTION CAP1xxx Evaluation Board User’s Guide, Revision A replaces the previous SMSC document RightTouch CAP1188 Family EVB User Manual, Revision 1.0 2013 Microchip Technology Inc. DS50002221A-page 44...
Page 45
The Microchip name and logo, the Microchip logo, dsPIC, FlashFlex, K logo, MPLAB, PIC, PICmicro, PICSTART, PIC logo, rfPIC, SST, SST Logo, SuperFlash and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, MTP, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Need help?
Do you have a question about the CAP1 Series and is the answer not in the manual?
Questions and answers