Proximity-Sensing Intercom Uses Standard Programmable SoC

Jan. 29, 2009
Designers can use specialized ICs as a simple way to add touch-sensing capabilities to a circuit. For instance, the Cypress CapSense devices can handle several touch buttons and a touch slider. In some designs, however, one button might suffice.

Designers can use specialized ICs as a simple way to add touch-sensing capabilities to a circuit. For instance, the Cypress CapSense devices can handle several touch buttons and a touch slider. In some designs, however, one button might suffice. One example is a “touch-to-talk” intercom application.

In this case, a mixed-signal programmable system-on-a-chip (PSoC) will do. The PSoC has digital blocks that can be configured as a sensitive proximity detector and analog blocks that form programmable audio channels. With the addition of microphones and audio amplification, this single chip forms a complete intercom with many blocks left over for additional functions.

IDEAS FOR DESIGN WANTED

Send us your Ideas for Design. We’ll pay you $150 for every Idea for Design that we publish.

In addition, this year’s top design as selected by our readers will earn an additional $500, with two runners up each receiving $250. You can submit your Ideas For Design via:

• E-mail: [email protected]

Or by

• Postal mail to:

Ideas For Design
Electronic Design
45 Eisenhower Dr., Suite 550
Paramus, NJ 07652

Go to www.electronicdesign.com for our submission guidelines.

The design described here uses a CY8C29466, which is a more robust PSoC with additional memory and digital function blocks. This allows room for the touch-sensing modulesa 16-bit pulse-width modulator (PWM) for audio feedback and a serial TX module for a terminal display. However, the design can easily fit into a less-expensive CY8C27443 if the TX module is removed and the digital blocks are rearranged (Fig. 1).

A three-stage ring oscillator, using an RC network with the input capacitor plate exposed, will change frequency when a hand approaches (Fig. 2). This frequency is divided and timed by digital blocks, and it’s calibrated by a routine at power-up.

The gain of the continuous-time op amps is used to alternate the talk and listen channels. For simplicity, this version doesn’t implement automatic gain control, but it could be added without more components.

The PWM module indicates function with audio chirps through the default channel. Different chirps are sounded on power-up, when the calibration is complete, when a hand is detected, and when removing a hand.

The three digital inverter modules linked in series create a natural transport-delay oscillator, which is sensitive to the capacitance changes introduced by a human hand nearing its antenna. The timer modules work together to measure the period of this oscillation.

This is all possible with a standard PSoC chip. The user modules and inherent flexibility of this IC provide more than enough resources to achieve this, with room left over for expansion.

An excerpt from the C code is available at www.electronicdesign.com. Basically speaking, the excerpt is the meat of the touch sensing logic (the “mHandleTouch- Sensing” macro, called once per main loop). The C code will determine whether or not a hand is present based on these timer readings.

To obtain a full description of the project and source files, go to www.cpeproto.com, click on the “Development” dropdown menu button, and then click on “ED - Ideas For Design.” This intercom is listed as “Simple PSoC Touch-Sensing Intercom (IFD2344).”

Sponsored Recommendations

What are the Important Considerations when Assessing Cobot Safety?

April 16, 2024
A review of the requirements of ISO/TS 15066 and how they fit in with ISO 10218-1 and 10218-2 a consideration the complexities of collaboration.

Wire & Cable Cutting Digi-Spool® Service

April 16, 2024
Explore DigiKey’s Digi-Spool® professional cutting service for efficient and precise wire and cable management. Custom-cut to your exact specifications for a variety of cable ...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!