Page 2
Cypress Source Code and derivative works for the sole purpose of creating custom soft- ware and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as speci- fied in the applicable agreement.
Everything you need to use the CY3280-SmartSense kit is included; install the software to load and run the example projects on the board. 1.3.1 Before You Begin All Cypress software installations require administrator privileges, but this is not required to run the installed software. Close any Cypress software that is currently running. ■...
Note Create the software CD by burning the downloaded CD ISO. After installation, user guides and key documents are available in the \Documentation subdirectory of the PSoC Designer installation directory. The default location is: C:\Program Files\Cypress\CY3280-SmartSense\1.0\CY3280- SmartSense\Documentation. 1.3.4 Factory Default Configuration When shipped, the CY3280-SmartSense kit is loaded to run the SmartSense example project.
Introduction Document Revision History Table 1-1. Revision History Origin Revision Creation Description of Change Date Change 11/25/2010 KPOL New kit guide. Fixed hyperlink in section 2.1.4. Modified the installation location in sec- 01/04/2011 tion 1.3.3 Updated web links for related documents. 11/13/2012 DCHE Replaced MiniProg3 references with MiniProg1.
Kit Operation The CY3280-SmartSense kit is designed to demonstrate four CapSense buttons and a CapSense- based power button. Figure 2-1 illustrates these buttons: demonstration buttons (BTN0 to BTN3) and a CapSense power button (POWER BUTTON). In its default configuration, the kit is powered from two AAA on-board batteries, which are placed below the kit in the battery holder.
Kit Operation CY3280-SmartSense Kit Board 2.1.1 Board Features Four CapSense buttons of different dimensions ■ ■ Four LEDs connected to general purpose output pins CapSense based power button and power LED ■ Operates from external power supply and battery ■ Expansion slots, allowing I/O to expand to external boards ■...
Kit Operation 2.1.3 Power Sources The board supports three power sources: Internal supply (supplied AAA batteries to be placed in the battery holder) ■ External supply (pin#41, Header J2) ■ External supply (pin#1, Header J5) ■ Note To power the kit, at least one of the above sources should be active. The first two sources are gated to capacitive touch controller by the Power button.
2. Connect the MiniProg1 into your PC using mini USB connector. You can purchase the programmer from http://www.cypress.com/?rID=37459. 3. Insert the MiniProg1 to ISSP header J5 of the kit as shown in the following figure. 4. Close any open PSoC Designer applications and projects.
Load CapSense Example Projects Figure 3-1. MiniProg1 Connected to Kit CapSense Project: CSD + Manual Tuning This section outlines the conventional method of tuning a project - CSD with manual tuning. The example project demonstrates four CapSense buttons controlled by the CSD user module to detect the button press.
Load CapSense Example Projects Figure 3-2. Conventional Method Flowchart Boot Intialize CapSense, LED modules Turn Off all LEDs Scan all sensors Update the baseline count for all sensors Is any sensor active? Decode the active sensor number and toggle corresponding LED 3.1.1 Load Project 1.
Load CapSense Example Projects Figure 3-3. Chip Editor View 3.1.2 Build Project To build a project, select Build > Generate/Build. PSoC Designer builds the project and displays comments in the Output window. When you see the message that the project is built with 0 errors and 0 warnings, you are ready to program the device. Figure 3-4.
Load CapSense Example Projects Figure 3-5. Output Window 3.1.3 Program Project 1. Open Program Part in PSoC Designer by selecting Program > Program Part 2. In the Program Part window a. Select MiniProg1 in the PortSelection box b. Set Acquire Mode to Power Cycle. If the board is already powered from AAA batteries or from external supply through J2, set Acquire Mode to Reset c.
Load CapSense Example Projects 3.1.4 Run Project Power the board using any one of the sources listed in 2.1.3 Power Sources on page 11. Touch a CapSense button on the board to see the corresponding LEDs toggle, as shown in . Figure 3-6.
Page 19
Load CapSense Example Projects Figure 3-7. Connect Axial Capacitor to Connector J5 (picture to be updated) Figure 3-8. Broken Link in BTN2-LED2 2. Release BTN2; LED2 1. Touch BTN2; LED2 3. Touch BTN2 again; LED2 continues to remain off remains off remains off CY3280-SmartSense CapSense Auto-Tuning Kit Guide, Doc.
Load CapSense Example Projects CapSense Project: SmartSense + Auto Tuning This section outlines the SmartSense method of tuning a project - SmartSense with auto tuning. The example project demonstrates four CapSense buttons controlled by SmartSense user module to detect the button press. Any button press detected is indicated by toggling the corresponding LED. Figure 3-9 illustrates the code flow.
Load CapSense Example Projects Figure 3-10. Chip Editor View 3.2.2 Build Project To build a project, select Build > Generate/Build. PSoC Designer builds the project and displays comments in the Output window. When you see the message that the project built with 0 errors and 0 warnings, you are ready to program the device. Figure 3-11.
Load CapSense Example Projects Figure 3-12. Output Window 3.2.3 Program Project 1. Open Program Part in PSoC Designer by selecting Program > Program Part 2. In the Program Part window a. Select MiniProg1 in the PortSelection box b. Set Acquire Mode to Power Cycle. If the board is already powered from AAA batteries or from external supply through J2, set Acquire Mode to Reset c.
Load CapSense Example Projects 3.2.6 Tuning For Overlay 1. Stick overlay of required thickness on top of CapSense buttons 2. Follow steps in 3.2.1 Load Project on page 20 to load the SmartSense example project 3. Decide the required SmartSense 'Sensor Sensitivity' parameter value Sensor sensitivity sets the capacitance signal change (sensor response) in pF needed to activate a button sensor.
Page 24
Load CapSense Example Projects Figure 3-14. SmartSense Property Window 5. Follow steps in 3.2.2 Build Project, 3.2.3 Program Project, and 3.2.4 Run Project to build, pro- gram, and run the modified example project. CY3280-SmartSense CapSense Auto-Tuning Kit Guide, Doc. # 001-64672 Rev. *B...
Page 25
Appendix Schematics A.1.1 CapSense Controller, Buttons, I/O Interfaces Do Not Populate VD D _D ev R 21 2 2 Oh m s P 1 [ 5] P OT1 XR ES R 22 ZE R O SC L I2C_SCL SD A I2C_SDA C ON _P0 [ 4] R 23 ZE R O...
Page 26
The recommended value for the external modulation capacitor is 2.2 nF. A ceramic capacitor must be used. The temperature capacitance coefficient is not important. Cypress strongly recommends using a 560-Ω series resistor on all CapSense sensor traces to ■...
Need help?
Do you have a question about the CapSense CY3280-SmartSense and is the answer not in the manual?
Questions and answers