Realization of metal touch buttons with PSoC! "MagSense"

PSoC® is an IC famous for electrostatic sensors and electrostatic buttons. In recent years, electrostatic buttons have been widely used in smart products and have been recognized as a common function. However, there were some issues, and it was not in a situation where it was adopted for all applications. Therefore, Cypress has prepared “MagSense™” as a new proposal! As a result, it is possible to respond to environments / functions that could not be handled by electrostatic sensors until now.

Characteristic realization function

  • Compatible with metal overlays
  • Fully waterproof
  • Contribution to robustness
  • Compatible with gloves

In addition, it is possible to respond to environments such as dirt that were difficult to handle with electrostatic sensors.

”MagSense™” product overview

MagSense™, which realizes metal button/touch, is a technology that applies the function of metal sensors. The approach of metal is detected by detecting the resonance frequency (f0) of the LC parallel circuit as shown below.

Figure 1

Fig. 2 is an image of the change in the magnetic field caused by metal, but PSoC® detects the behavior of the metal through the LC parts in this way, realizing MagSense™. Figure 3 is a schematic of capacitive touch sensing.

Figure 2
Figure 3

PSoC® 4700 IC Block Diagram

*1: A simple ADC to measure slow-moving signals
*2: Current-output digital-to-analog converter
*3: Embedded programmable digital logic in the I/O subsystem
*4: Watch Crystal Oscillator

PSoC® 4700 IC Specifications

item specification
32-bit MCU subsystem 48-MHz Arm® Cortex®-M0+ CPU
Up to 32KB flash and 4KB SRAM
programmable analog block One 10-bit, 16.8-ksps Single-Slope ADC *1
Two low-power comparators (CMP)
Two 7-bit IDACs *2 configurable as a single 8-bit IDAC
One MagSense™ Inductive Sensing block that enables sensing of metal objects
One CapSense® Capacitive Sensing block that supports low-power with self- and mutual-capacitance sensing
programmable digital block Five configurable 16-bit Timer, Counter, PWM (TCPWM) blocks
Two Serial Communication Blocks (SCBs) that are configurable as I2C, SPI, or UART
package 25-ball WLCSP, 24-pin QFN, 48-pin TQFP
Up to 36 GPIOs, including 16 Smart I/Os™ *3

*1: A simple ADC to measure slow-moving signals
*2: Current-output digital-to-analog converter
*3: Embedded programmable digital logic in the I/O subsystem

Potential applications for ”MagSense™”

■ Metal button

■ Proximity sensor

■ Rotation angle detection/position detection

PSoC® 4700 Evaluation Environment

development tools

PSoC® Creator™ (free) is available from the link below.

Cypress's integrated development tool enables easy HW layout and C language development. It is possible to graphically create the placement of parts, which is a feature of PSoC®, as shown below. MagSense™ adjustment can also be set using the GUI.

Development tool screen

development kit

As a development kit, there is "PSoC® 4700 Kit CY8CKIT-148 (Fig. 4)".

Development kit for easy evaluation of MagSense™. Equipped with 3 metal buttons using MagSense™ and 1 proximity sensor capable of metal detection. It can be connected to a PC via USB for writing and debugging. In addition, the expansion kit shown in Fig. 5 is available to evaluate various shapes of metal detection.

Figure 4: PSoC® 4700 Kit
Figure 5: PSoC® 4700 Expansion Kit

Purchase a development kit

Metal detection introduction demo video

In this introductory video, you can see a demonstration of metal detection with a single chip using PSoC®.

Inquiry / Quotation

If you have any questions about this product or would like a quote, please contact us using the form below.