background image

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

10

Introduction

1.5

Software Requirements

The 

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).

1.5.1

PSoC Creator

PSoC Creator

 allows concurrent hardware and application firmware design of PSoC 3, PSoC 4, and

PSoC 5LP systems. PSoC systems are designed using classic, familiar, schematic-capture technol-
ogy supported by pre-verified, production-ready PSoC Components™. 

PSoC Components are analog and digital virtual chips represented by icons that you can drag and
drop into a design and configure to suit a broad array of application requirements. You can configure
each Component in the rich, mixed-signal Cypress Component Catalog with the Component Cus-
tomizer tool. These Components include a full set of dynamically generated API libraries. After you
have configured the PSoC system, you can write, compile, and debug the firmware within PSoC
Creator, or export 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 for the minimum and recommended system requirements.

1.5.2

PSoC Programmer

The PSoC Programmer software is used to program the PSoC devices on the 

CY8CKIT-042 

kit with

hex files. You can download PSoC Programmer at 

http://www.cypress.com/go/psocprogrammer

.

1.6

Application Notes and Projects 

AN202478 - PSoC 4 - Capacitive Liquid Level Sensing

 provides detailed theory, design 

guidance, and sensor layout information for explaining this kits operation as well as developing a 
new liquid level sensing design. 

CE202479

 contains example projects that demonstrate the following features of the 

CY8CKIT-022

 kit: 

Liquid level measurement using capacitive sensors

Two sensor (2RX) project for use with the low cost 2RX flexible sensor

Twelve sensor (12RX) project for use with the increased accuracy 12RX flexible sensor

See the 

3. Example Projects

 chapter in this kit guide for details.

1.7

Technical Support

For assistance, visit 

Cypress Support

 or contact customer support at +1 (800) 541-4736 Ext. 2 (in

the USA) or +1 (408) 943-2600 Ext. 2 (International).

You can also use the following support resources if you need quick assistance:

Self-help (Technical Documents)

Local Sales Office Locations

.

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: