Electronic Design

  
Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


[Ideas For Design]
Proximity-Sensing Intercom Uses Standard Programmable SoC

Chris Paiano  |   ED Online ID #20516  |   January 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. 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: dbs@penton.com

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


Reprints   Printer-Friendly  Email this Article  RSS    Font Size   What's This?


  • Network-On-Chip Tools Arrive for The Masses
  • Tackling System Design Challenges Through Early Verification
  • ESL Tools Take Center Stage As Designers Move Up
  • Parasitic Extraction Tool Targets Next-Generation Custom ICs
  • Synopsys Jumps Into ESL-Synthesis Pool
  • Verify Control Systems Before Committing To Hardware
  • You're Using How Many FPGAs?
  • Tool Up For The FPGA Blitz
    1) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (180 views today)
    2) Hot Hands For Some Cool Rock: Motion Sensing Meets Audio Engineering
    (174 views today)
    3) GPS-Derived Grandmaster Clock Delivers Ultra-Precise Time And Frequency Sync
    (90 views today)
    4) What's All This Transimpedance Amplifier Stuff, Anyhow? (Part 1)
    (81 views today)
    5) Science Fiction Meets Science Fact In Today's Robot Research
    (75 views today)
    ALL TOP 20



    POST YOUR COMMENTS HERE
    Name:

    Email:
    Your Comments:

    Enter the text from the image below


    Please refresh the page if you have trouble reading this text.

    Search Electronic Design
         
      
     
    Email Newsletter
    Sponsored By:
    Electronic Design UPDATE provides readers with late-breaking news, opinions from industry experts, and timely technology stories. It's a unique opportunity to get your product message in front of engineers, engineering managers, and corporate managers while they're reading about critical information online.

    Enter Email to Subscribe
      

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources