Saturday, November 23, 2024

Design Touch Sensor Switch at Just 10 Rupees Only!

We’re excited to share that we build a smart touch sensor switch module, made to bring modern features to your products or devices without the hefty price tag.

Why We Made It?

Touch switch modules are gaining popularity because they use a touch sensor switch, eliminating the need for mechanical components.

Plus, they can work behind materials, providing a sleek and modern finish to product designs.

- Advertisement -

The Cost Dilemma in Touch Switch Systems:

Designing systems with touch switches often increases the overall Bill of Materials (BOM) cost. To keep products affordable, design engineers sometimes resort to using tactile switches, which are priced at 10 to 15 rupees in SMD.

However, this compromises the product’s aesthetics, making it look outdated. The engineers may even need to add a hole or cut a mark on the product to access the tactile push switch.

- Advertisement -

Our Solution – A Cost-Effective Touch Sensor:

Today, we present a touch sensor that costs around 10 rupees and works from behind materials. You can discreetly place the sensor behind any conductive material on the body.

When you touch it, the sensor senses it. The beauty of this design is its programmability in 4 different ways.

How It Works?

The circuit provided can be integrated into your product design. Alternatively, you can download the design and use it as a standalone sensor module. Enhance your product’s user experience without breaking the bank!

DIY Touch Sensor Switch Module
DIY Touch Sensor Switch Module

Ready to add a touch of innovation to your product? Let’s learn step-by-step, how you can make your own touch sensor at just Rs. 10!

The material used in the project is listed in the table below.

Bill of Material

DIY Touch Switch Components

Touch Sensor Switch – Circuit Design

The circuit diagram of the DIY Touch Sensor Switch is easy to build.

You can connect the components according to the circuit diagram, we have provided in the figure below and your touch sensor is ready.

You can either integrate our circuit into your device design by downloading the Gerber file or design your own sensor module and use it for different purposes.

Touch Sensor Switch Circuit Diagram
Touch Switch Circuit

Touch Sensor IC

According to the datasheet, the Touch sensor IC TTP223 has the following pinout.

TTP223 Touch Sensor IC Pinout
TTP223 Touch Sensor IC Pinout

According to the datasheet of the IC, the operating voltage for the TTP223-BA6 typically ranges from 2.0V to 5.5V and requires a sensing electrode for touch detection.

This can be a piece of conductive material (e.g. a piece of copper or a conductive pad) connected to the appropriate pin on the IC. The TTP223-BA6 provides an output signal that changes when a touch is detected.

You’ll need to connect this output to your microcontroller or the load you want to control based on touch.

According to the IC datasheet, the IC sensitivity effect with electrode size and connecting lines on PCB. The sensitivity of these can be calibrated and adjusted as per requirement using the capacitor at the electrode pin “I” and GND.

The value of the capacitor for adjustment can be range from 1pF to 50 pF. you can refer to the datasheet for more details.

IC datasheet Cs value setting for sensitivity adjustment

IC Working Modes

The IC working can be programmed in 4 different ways by adding a solder jumper to TOG pin 6 and Pin 4.

It provides four different options for the behavior of the Q (CMOS output) pin based on the TOG and AHLB settings.

1. Push Mode:

  • TOG = 0 (Direct output)AHLB = 0 (CMOS active high)
In this mode, the Q output directly follows the touch status. When a touch is detected, the Q output becomes active high (1), and it goes back to inactive (0) when the touch is released. This is often used for momentary touch-sensitive applications like buttons.

2. Toggle Mode:

  • TOG = 1 (Toggle output)AHLB = 0 (CMOS active high)
In toggle mode, the Q output toggles its state with each touch event. When you first touch the sensor, the output goes to active high (1), and when you release the touch, it remains high. Subsequent touches will toggle the output between high and low states.

It can be used for applications where you want to toggle a state or switch something with each touch, such as a light switch.

3. Toggle Mode with Power-On State = 0:

  • TOG = 1 (Toggle output)AHLB = 1 (CMOS active low)
Similar to the previous toggle mode, this mode toggles the output with each touch event. However, when the IC is powered on, the Q output starts in an active low state (0). Subsequent touches will toggle the output between low and high states.

This can be used for applications where you want a particular default state when the IC powers on, and then toggle the state with each touch.

4. Toggle Mode with Power-On State = 1:

  • TOG = 1 (Toggle output)AHLB = 1 (CMOS active low)
This mode is the same as the previous toggle mode with the only difference being that when the IC powers on, the Q output starts in an active high state (1). Subsequent touches will toggle the output between high and low states.

This mode is also useful when you want a specific default state when the IC powers on and then toggle the state with each touch.

So you can use the solder jumper of the solder jumper pad in between those pins to change the mode.

You can connect the components according to the circuit diagram, we have provided in the figure below and your touch sensor is ready.

You can either integrate my circuit into your device design by downloading the Gerber file or design your own sensor module and use it for different purposes.

DIY Touch Switch PCB Design
Touch Switch PCB Design

You can also check our other Touch Switch Projects that we build previously like Simple Touch Sensitive Switch, Touch Switchboard Circuit.

Testing and Gerber File

After connecting the components based on the circuit diagram, proceed to connect the solder jumper according to the desired pin function.

Now, link the LED to the output pin, and upon touching the electrode, the LED will illuminate. Find the Gerber file for the PCB attached below.

Ashwini Sinha
Ashwini Sinha
A tech journalist at EFY, with hands-on expertise in electronics DIY. He has an extraordinary passion for AI, IoT, and electronics. Holder of two design records and two times winner of US-China Makers Award.

SHARE YOUR THOUGHTS & COMMENTS

EFY Prime

Unique DIY Projects

Electronics News

Truly Innovative Electronics

Latest DIY Videos

Electronics Components

Electronics Jobs

Calculators For Electronics

×