background image

Copyrights

CY8CKIT-022 CapSense® Liquid Level Sensing Shield Kit Guide, Doc. #: 002-09825 Rev. **

2

Copyrights

© Cypress Semiconductor Corporation, 2015. The information contained herein is subject to change without notice. Cypress
Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress
product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor
intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express
written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in life-
support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The
inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use
and in doing so indemnifies 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. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create
derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of creating custom
software and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as
specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this
Source Code except as specified above is prohibited without the express written permission of Cypress.

Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS
MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials
described herein. Cypress does not assume any liability arising out of the application or use of any product or circuit
described herein. Cypress does not authorize its products for use as critical components in life-support systems where a
malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product
in a life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies
Cypress against all charges.

Use may be limited by and subject to the applicable Cypress software license agreement.

PSoC and CapSense are registered trademarks and PSoC Creator, F-RAM, EZ-BLE, and PRoC are trademarks of Cypress
Semiconductor Corp. All other trademarks or registered trademarks referenced herein are property of the respective
corporations.

Flash Code Protection

Cypress products meet the specifications contained in their particular Cypress PSoC Data Sheets. Cypress believes that its
family of PSoC products is one of the most secure families of its kind on the market today, regardless of how they are used.
There may be methods, unknown to Cypress, that can breach the code protection features. Any of these methods, to our
knowledge, would be dishonest and possibly illegal. Neither Cypress nor any other semiconductor manufacturer can
guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as ‘unbreakable’.

Cypress is willing to work with the customer who is concerned about the integrity of their code. Code protection is constantly
evolving. We at Cypress are committed to continuously improving the code protection features of our products.

Summary of Contents for CapSense CY8CKIT-022

Page 1: ...KIT 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...

Page 2: ...itten permission of Cypress Disclaimer CYPRESS MAKES NO WARRANTY OF ANY KIND EXPRESS OR IMPLIED WITH REGARD TO THIS MATERIAL INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND...

Page 3: ...mbly 15 2 3 Theory of Operation 17 2 3 1 Principle of Capacitive Liquid Level Sensing 17 2 3 2 CY8CKIT 022 Kit 18 2 4 Functional Description 19 2 4 1 Two Sensor Flexible PCB 19 2 4 2 12 Sensor Flexibl...

Page 4: ...CY8CKIT 022 CapSense Liquid Level Sensing Shield Kit Guide Doc 002 09825 Rev 4 Contents Revision History 33...

Page 5: ...ation from the factory default may affect its performance and cause interference with other apparatus in the immediate vicinity If such interference is detected suitable mitigating measures should be...

Page 6: ...ds 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...

Page 7: ...ensor patterns A two sensor Backgammon shaped pattern provides liquid level sensing at a low cost point while a multi sensor Segmented pattern provides increased accuracy that can be optimized for eac...

Page 8: ...CapSense Liquid Level Sensing Shield Kit The Kit Hardware chapter on page 12 describes how to assemble and use the kit s resources The Example Projects chapter on page 24 provides the major features...

Page 9: ...addition refer to the following documents to get started with PSoC 4 devices and CapSense technology AN79953 Getting Started with PSoC 4 Getting Started with CapSense PSoC 4 CapSense Design Guide AN20...

Page 10: ...t the firmware to other IDEs such as those from IAR Keil and Eclipse You can download the latest version of the PSoC Creator software from http www cypress com psoccreator Refer to the Release Notes f...

Page 11: ...s in procedures Enter or Ctrl C File Open Represents menu paths File Open New Project Bold Displays commands menu paths and icon names in procedures Click the File icon and then click Open Times New R...

Page 12: ...Connects PSoC 4 Pioneer UART pins to Pioneer KitProg UART pins Optional temperature compensation sensor CapSense Liquid Level Sensing 2 Sensor Flex PCB Low cost design provides two sensors RX0 RX1 for...

Page 13: ...CY8CKIT 022 CapSense Liquid Level Sensing Shield Kit Guide Doc 002 09825 Rev 13 Kit Hardware Figure 2 2 CY8CKIT 022 Shield Board Bottom View Figure 2 3 Top View of both CY8CKIT 022 Sensors...

Page 14: ...CY8CKIT 022 CapSense Liquid Level Sensing Shield Kit Guide Doc 002 09825 Rev 14 Kit Hardware Figure 2 4 Bottom View of both CY8CKIT 022 Sensors...

Page 15: ...e If the sensor flex is placed too low on the container the radius of bend on the flex tail may cause the container to become unstable Figure 2 5 Placing the Sensor 2 Thoroughly press the entire senso...

Page 16: ...ardware 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...

Page 17: ...nsor parasitic capacitance CP When a capacitive sensor is excited by a voltage source an electric field is created around the sensor A small number of electric field lines couple with the nearby groun...

Page 18: ...baseboard such as CY8CKIT 042 senses the changes in the capacitance of the liquid level sensors on the CY8CKIT 022 kit The PSoC calculates the liquid level based on the information about capacitance c...

Page 19: ...ve already applied To use the sensor it must be adhered to the flat side of the supplied liquid container and attached to the kit shield board Figure 2 10 2RX Sensor Pattern 2 4 2 12 Sensor Flexible P...

Page 20: ...TX0 signal includes a 470 series resistor to slow edge rates and reduce radiated emissions The connector can be used with the kit supplied sensors or a custom user created sensor Figure 2 12 Sensor C...

Page 21: ...P0 3 J2 5 A2 RX2 P2 2 J2 6 VDD J2 7 A3 RX1 P2 3 J2 8 RX4 P1 5 J2 9 A4 RX0 P2 4 J2 10 P1 4 J2 11 A5 TX0 P2 5 J2 12 RX3 P1 3 J2 13 P0 0 J2 14 GND J2 15 RX12 P0 1 J2 16 P1 2 J2 17 P1 0 J2 18 P1 1 Table 2...

Page 22: ...case resistor R1 shown in Figure 2 13 must be removed from the Shield board to disconnect the onboard sensor Figure 2 13 Sensor RX12 2 4 6 Integration Capacitors Two integration capacitors are provid...

Page 23: ...onboard UART connection therefore the J6 connection is not used with these kits The UART connection shown in Figure 2 15 allows the liquid level sensing firmware to implement a terminal interface for...

Page 24: ...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 u...

Page 25: ...CapSense Design Guide AN79953 Getting Started with PSoC 4 PSoC 4 CapSense Design Guide AN202478 PSoC 4 Capacitive Liquid Level Sensing PSoC 4000 PSoC 4100 or PSoC 4200 Datasheet Online Technical Suppo...

Page 26: ...1 D9 2 D10 3 D11 4 D12 5 D13 6 GND 7 AREF 8 SDA 9 SCL 10 J4 P9101 08 D32 1 D0 1 D1 2 D2 3 D3 4 D4 5 D5 6 D6 7 D7 8 C2 470PF 50V 5 NP0 0805 J5 SFH11 PBPC D08 RA BK 1 1 3 3 5 5 7 7 9 9 11 11 13 13 15 15...

Page 27: ...CY8CKIT 022 CapSense Liquid Level Sensing Shield Kit Guide Doc 002 09825 Rev 27 A 2 2RX Sensor Schematic...

Page 28: ...CY8CKIT 022 CapSense Liquid Level Sensing Shield Kit Guide Doc 002 09825 Rev 28 A 3 12RX Sensor Schematic...

Page 29: ...CY8CKIT 022 CapSense Liquid Level Sensing Shield Kit Guide Doc 002 09825 Rev 29 A 4 Shield Layout Figure A 1 Top Layer Figure A 2 Bottom Layer...

Page 30: ...CY8CKIT 022 CapSense Liquid Level Sensing Shield Kit Guide Doc 002 09825 Rev 30 A 5 2RX Sensor Layout Figure A 3 Top Layer Figure A 4 Bottom Layer...

Page 31: ...CY8CKIT 022 CapSense Liquid Level Sensing Shield Kit Guide Doc 002 09825 Rev 31 A 6 12RX Sensor Layout Figure A 5 Top Layer Figure A 6 Bottom Layer...

Page 32: ...J2 HDR 2 54mm PITCH DUAL ROW 18POS 13mm MATING LENGTH Protectron Electromech P9103 18 D32 1 5 1 J3 HDR 2 54mm PITCH SINGLE ROW 10POS 13mm MATING LENGTH Protectron Electromech P9101 10 D32 1 6 1 J5 CO...

Page 33: ...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 Revision Issue...

Reviews: