Advertisement

Quick Links

CY8CKIT-022
®
CapSense
Liquid Level Sensing Shield
Kit Guide
Doc. #: 002-09825 Rev. **
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): +1.800.858.1810
Phone (Intnl): +1.408.943.2600
www.cypress.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CapSense CY8CKIT-022 and is the answer not in the manual?

Questions and answers

Summary of Contents for Cypress Semiconductor CapSense CY8CKIT-022

  • Page 1 CY8CKIT-022 ® CapSense Liquid Level Sensing Shield Kit Guide Doc. #: 002-09825 Rev. ** Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): +1.800.858.1810 Phone (Intnl): +1.408.943.2600 www.cypress.com...
  • Page 2 Cypress against all charges. Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions.
  • Page 3: Table Of Contents

    Contents 1. Introduction Kit Contents .........................7 Getting Started......................8 Additional Resources ....................9 Hardware Requirements....................9 Software Requirements .....................10 1.5.1 PSoC Creator....................10 1.5.2 PSoC Programmer..................10 Application Notes and Projects..................10 Technical Support......................10 Documentation Conventions ..................11 Acronyms........................11 2. Kit Hardware Board Details ......................12 Kit Assembly ......................15 Theory of Operation....................17 2.3.1 Principle of Capacitive Liquid Level Sensing ..........17 2.3.2 CY8CKIT-022 Kit....................18...
  • Page 4 Contents Revision History CY8CKIT-022 CapSense® Liquid Level Sensing Shield Kit Guide, Doc. #: 002-09825 Rev. **...
  • Page 5: Safety Information

    Safety Information Regulatory Compliance The CapSense Liquid Level Sensing Shield Kit (CY8CKIT-022) is intended for use as a development platform for hardware or software in a laboratory environment. The board is an open system design, which does not include a shielded enclosure. This may cause interference to other electrical or electronic devices in close proximity.
  • Page 6: General Safety Instructions

    General Safety Instructions ESD Protection ESD can damage boards and associated components. Cypress recommends that you perform procedures only at an ESD workstation. If such a workstation is not available, use appropriate ESD protection by wearing an antistatic wrist strap attached to the chassis ground (any unpainted metal surface) on your board when handling parts.
  • Page 7: Introduction

    Introduction ® Thank you for your interest in the CapSense Liquid Level Sensing Shield Kit (CY8CKIT-022). This kit is intended to demonstrate the Liquid Level Sensing (LLS) capabilities of the CapSense technol- ® ogy in Cypress’s PSoC 4 products. This kit supports the following liquid level sensing features: Non-contact measurement of liquid levels from sensors located on the exterior of the non- ■...
  • Page 8: Getting Started

    Introduction Figure 1-1. Kit Contents Inspect the contents of the kit; if you find any part missing, contact your nearest Cypress sales office for help. Getting Started This guide will help you get acquainted with the CapSense Liquid Level Sensing Shield Kit: Kit Hardware chapter on page 12 describes how to assemble and use the kit’s resources.
  • Page 9: Additional Resources

    Introduction Additional Resources Cypress provides a wealth of data at www.cypress.com to help you select the right PSoC device for your design, and to help you to quickly and effectively integrate the device into your design. For a comprehensive list of resources, visit http://www.cypress.com/psoc. The web page includes a list of PSoC device families, integrated design environments (IDEs), and associated development kits.
  • Page 10: Software Requirements

    Introduction Software Requirements CY8CKIT-022 kit does not have any programmable/configurable devices onboard, so it does not need any software for configuration. However, the PSoC device present on the CY8CKIT-042 baseboard requires firmware which you can develop with the PSoC Creator IDE (Version 3.3 CP1 or later).
  • Page 11: Documentation Conventions

    Introduction Documentation Conventions Table 1-1. Document Conventions for Guides Convention Usage Displays file locations, user entered text, and source code: Courier New C:\ ...cd\icc\ Displays file names and reference documentation: Italics Read about the sourcefile.hex file in the PSoC Designer User Guide. Displays keyboard commands in procedures: [Bracketed, Bold] [Enter] or [Ctrl] [C]...
  • Page 12: Kit Hardware

    Kit Hardware Board Details CY8CKIT-022 kit contains the following components: ® CapSense Liquid Level Sensing Shield board ■ Arduino-compatible headers to interface the Cypress PSoC 4 Pioneer Kit pins to the flexible ❐ liquid sensor connector pins Connects PSoC 4 Pioneer UART pins to Pioneer KitProg UART pins ❐...
  • Page 13 Kit Hardware Figure 2-2. CY8CKIT-022 Shield Board (Bottom View) Figure 2-3. Top View of both CY8CKIT-022 Sensors CY8CKIT-022 CapSense® Liquid Level Sensing Shield Kit Guide, Doc. #: 002-09825 Rev. **...
  • Page 14 Kit Hardware Figure 2-4. Bottom View of both CY8CKIT-022 Sensors CY8CKIT-022 CapSense® Liquid Level Sensing Shield Kit Guide, Doc. #: 002-09825 Rev. **...
  • Page 15: Kit Assembly

    Kit Hardware Kit Assembly Follow these assembly steps to operate the kit: 1. Remove the adhesive sticker from the back of one of the CapSense Liquid Level Sensor Flex PCB and then paste the sensor onto the liquid container, as shown in Figure 2-5.
  • Page 16 Kit Hardware Figure 2-6. Kit Connections 4. Connect the CapSense Liquid Level Sensing Flex PCB to the CapSense Liquid Level Sensing Shield. 5. Connect the CY8CKIT-042 to your PC using the provided USB cable. 6. Compatible firmware and operating instructions are provided in code example CE202479. CY8CKIT-022 CapSense®...
  • Page 17: Theory Of Operation

    Kit Hardware Theory of Operation For a detailed explanation on the theory of operation of this kit, refer to AN202478 - PSoC 4 - Capacitive Liquid Level Sensing. This section provides a high-level description of the principle of capacitive sensing and describes where the CY8CKIT-022 kit and PSoC devices fit in a capacitive liquid level sensing system.
  • Page 18: Cy8Ckit-022 Kit

    Kit Hardware 2.3.2 CY8CKIT-022 Kit CY8CKIT-022 kit contains capacitive sensors attached to a liquid container. These sensors can be interfaced with PSoC 4 devices present on Cypress PSoC 4 Pioneer Kits through Arduino- compatible headers, as shown in Figure 2-9. Figure 2-9.
  • Page 19: Functional Description

    Kit Hardware Functional Description 2.4.1 Two Sensor Flexible PCB The signal ratio from the two sensors (RX0 and RX1) provides a low cost method of determining liquid height. The pattern shown in Figure 2-10 is similar to a backgammon game board, and is therefore referred to as the “backgammon”...
  • Page 20: Flexible Sensor Connector

    Kit Hardware 2.4.3 Flexible Sensor Connector Connector (J5) allows easy connection of sensors to the PSoC on the Pioneer kit. The connector shown in Figure 2-12 provides connection of up to 13 sensors (RX[0:12]). A single transmitter connection (TX0) is provided for use with sensors utilizing the CapSense Mutual-Capacitance Scan method.
  • Page 21 Kit Hardware Table 2-2. J2 Arduino Header Arduino Board Signal CY8CKIT-022 CY8CKIT-042 J2.1 CintA P2.0   J2.2 P0.2 J2.3 CintB P2.1   J2.4 P0.3 J2.5 P2.2   J2.6 J2.7 P2.3  J2.8 P1.5 J2.9 P2.4   J2.10 P1.4 J2.11...
  • Page 22: Temperature Compensation Sensor

    Kit Hardware Table 2-4. J4 Arduino Header Pin No. Arduino Board Signal CY8CKIT-022 CY8CKIT-042 J4.1 UART_RX P0.4 J4.2 UART_TX P0.5  J4.3 P0.7 J4.4 RX11 P3.7 J4.5 RX10 P0.0 J4.6 P3.5 J4.7 P1.0 J4.8 P2.7 2.4.5 Temperature Compensation Sensor RX12 sensor on the shield board provides the ability to measure and compensate for environmental effects such as temperature on the liquid level sensors.
  • Page 23: Uart Connection

    Kit Hardware 2.4.7 UART Connection A dedicated connection is provided to connect the PSoC 4 I/O pins on J4-1 and J4-2 to the KitProg UART pins on J6-1 and J6-2. The J6 shield pins connect to the pioneer kit’s KitProg J8 header, pin J8-9 (UART TX) and J8-10 (UART RX).
  • Page 24: Example Projects

    Example Projects CY8CKIT-022 can be used with Cypress PSoC 4 Pioneer Kits to evaluate the liquid level sensing capabilities of CapSense in Cypress PSoC products. Code Example CE202479 contains example projects that demonstrate the following features of CY8CKIT-022: Liquid level measurement using capacitive sensors ■...
  • Page 25: Design Support

    Design Support Refer to the following documents and resources to start new liquid level sensing designs with PSoC 4 CapSense technology: ■ Getting Started with CapSense® Design Guide AN79953 - Getting Started with PSoC® 4 ■ PSoC 4 CapSense Design Guide ■...
  • Page 26: Appendix

    Appendix Shield Schematic IORef TX0_R RX11 RX10 Reset AREF V3.3 RX12 V5.0 SFH11-PBPC-D08-RA-BK P9101-08-D32-1 P9101-10-D32-1 CintB CintA CintA 470PF 50V 5% NP0 0805 470PF 50V 5% NP0 0805 CintB CintB CintA RX10 RX11 470 OHM TX0_R CSS1 UART_TX RX12 ZERO, 0603 RX12 UART_RX RX_Sensor...
  • Page 27: 2Rx Sensor Schematic

    2RX Sensor Schematic CY8CKIT-022 CapSense® Liquid Level Sensing Shield Kit Guide, Doc. #: 002-09825 Rev. **...
  • Page 28: 12Rx Sensor Schematic

    12RX Sensor Schematic CY8CKIT-022 CapSense® Liquid Level Sensing Shield Kit Guide, Doc. #: 002-09825 Rev. **...
  • Page 29: Shield Layout

    Shield Layout Figure A-1. Top Layer Figure A-2. Bottom Layer CY8CKIT-022 CapSense® Liquid Level Sensing Shield Kit Guide, Doc. #: 002-09825 Rev. **...
  • Page 30: 2Rx Sensor Layout

    2RX Sensor Layout Figure A-3. Top Layer Figure A-4. Bottom Layer CY8CKIT-022 CapSense® Liquid Level Sensing Shield Kit Guide, Doc. #: 002-09825 Rev. **...
  • Page 31: 12Rx Sensor Layout

    12RX Sensor Layout Figure A-5. Top Layer Figure A-6. Bottom Layer CY8CKIT-022 CapSense® Liquid Level Sensing Shield Kit Guide, Doc. #: 002-09825 Rev. **...
  • Page 32: Bill Of Materials

    Bill of Materials Item Reference Description Manufacturer Mfr Part Number PCB, FR4, 2 layer, High Tg, Mask - Red, Cypress Semiconductor 600-60288-01 Silk - White C1, C2 CAP CER 470PF 50V 5% NP0 0805 Murata Electronics GRM2165C1H471JA01D HDR, 2.54mm PITCH, SINGLE ROW,...
  • Page 33 Revision History ® CY8CKIT-022 CapSense Liquid Level Sensing Shield Kit Guide Revision History Document Title: CY8CKIT-022 CapSense® Liquid Level Sensing Shield Kit Guide Document Number: 002-09825 Origin of Revision Issue Date Description of Change Change 12/03/2015 Initial version of kit guide CY8CKIT-022 CapSense®...

Table of Contents