CY8CKIT-030 PSoC® 3 Development Kit Guide, Doc. # 001-61038 Rev. *J
35
Code Examples
Figure 5-6. PSoC 3 in Sleep Mode
5.5
CapSense Example
5.5.1
Project Description
This code example provides a platform to build CapSense-based projects using PSoC 3. The
example uses two CapSense buttons and one five-element slider provided on the board. Each
capacitive sensor on the board is scanned using the Cypress CSD algorithm. The buttons are pre-
tuned in the example code to take care of factors such as board parasitic.
5.5.2
Hardware Connections
This project uses the LCD for display; therefore, ensure that it is plugged into the port. No specific
hardware connections are required for this project because all connections are hard-wired on the
board.
5.5.3
Verify Output
Build and program the code example, and reset the device. The LCD displays the status of the two
buttons as On/Off. The LCD also shows the slider touch position as a percentage. When you touch
either of the buttons, the corresponding button's state changes on the LCD. When you touch the
slider, the corresponding finger position is displayed as a percentage on the LCD.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from