background image

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

24

3.

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

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

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

Содержание CapSense CY8CKIT-022

Страница 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...

Страница 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...

Страница 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...

Страница 4: ...CY8CKIT 022 CapSense Liquid Level Sensing Shield Kit Guide Doc 002 09825 Rev 4 Contents Revision History 33...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 27: ...CY8CKIT 022 CapSense Liquid Level Sensing Shield Kit Guide Doc 002 09825 Rev 27 A 2 2RX Sensor Schematic...

Страница 28: ...CY8CKIT 022 CapSense Liquid Level Sensing Shield Kit Guide Doc 002 09825 Rev 28 A 3 12RX Sensor Schematic...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: