Skip to main content

Arduino interfacing with capacitive touch sensor

  Arduino interfacing with capacitive touch sensor

1.    Digital touch sensor

    A capacitive touch sensor is same as our android phone screen. Capacitive touch sensing is a way of human touch sensing, that requires little or no force to activate. It may be used to sense human touch through more than a quarter of an inch of plastic, wood, ceramic or other insulating material (not any kind of metal though), enabling the sensor to be completely visually concealed.


    Specifications of touch sensor:  - This touch sensor is a capacitive touch sensor which                 works on active capacitor which get create when any person touches it, just like our phone                   screen.
                       
                         Pins of Sensor: -
                         ·     Input supply voltage: 5v.
                   ·    Ground: GND supply.
                   ·   Data output: Digital data output.

2.    Working of touch sensor

    Touch sensors are also called as tactile sensors and are sensitive to touch, force or pressure. They are one of the simplest and useful sensors. The working of a touch sensor is similar to that of a simple switch. When there is contact with the surface of the touch sensor, the circuit is closed inside the sensor and there is a flow of current. When the contact is released, the circuit is opened and no current flows.


The simplest form of capacitor can be made with two conductors separated by an insulator. Metal plates can be considered as conductors. The formula of capacitance is shown below.
C = ε0 * εr * A / d
Where
εis the permittivity of free space
εr is relative permittivity or dielectric constant
A is area of the plates and d is the distance between them.                        
Capacitance is directly proportional to the area and inversely proportional to the distance.
In capacitive touch sensors, the electrode represents one of the plates of the capacitor. The second plate is represented by two objects: one is the environment of the sensor electrode which forms parasitic capacitor C0 and the other is a conductive object like human finger which forms touch capacitor CT. The sensor electrode is connected to a measurement circuit and the capacitance is measured periodically. The output capacitance will increase if a conductive object touches or approaches the sensor electrode. The measurement circuit will detect the change in the capacitance and converts it into a trigger signal.
The working of a capacitive touch sensor is shown in below figure.

                                                  Figure 3: How capacitive sensor works.


3.    Component needed in project

    In this project we are interfacing a capacitive touch sensor with Arduino to know that how does it actually work and simple project like a switch alarm system is made. This project would need below described component.


·         Arduino board.
·         Touch sensor.
·         Led and resister.
·         Buzzer.
·         Jumper wire.

   Figure 4: Component for project.

4.    Arduino interfacing with touch sensor

    A capacitive touch sensor is very  sensitive and system measure the time for which touch screen is kept in touch with user hand.

         In this project we would lean to interface touch sensor with Arduino.
         And signal pin of touch sensor can be connected to any pin you want just you have
         to  change it Arduino code as input pin.
       
         Pin connection of sensor and Arduino board.

S no.
Touch sensor
Arduino
1
VCC
+5v pin
2
GND
GND
3
Signal
D2


Figure 5: touch sensor with Arduino uno.

Note: - When the capacitive sensor is not touch then it will give high output voltage and when it get         touch by finger a capacitive field get created with earth and it start giving low output.

5. Arduino code for capacitive sensor: 

    download code from here:  Arduino board code for Capacitive touch sensor Alarm.

       please share and subscribe my blog if you like my project.

Comments

Post a Comment

Popular posts from this blog

RFID-MFRC522 with Arduino Board.

1.     RFID MFRC522:        A normal RFID kit is just like our ATM card which can send a specific data to controller when it gets in touch with its reader module.       MFRC522 is name of controller which is being used in this RFID kit.   Figure 1 : RFID MRFC522      1.1 Specifications of RFID MFRC22 Module Name:MF522-ED Working current : 13 - 26mA / DC 3.3V Standby current : 10 - 13mA / DC 3.3V Sleep current : <80uA Peak current : <30mA Working frequency : 13.56MHz Card reading distance : 0 ~ 60mm ( Mifare1 card ) Protocol : SPI. Data communication speed : 10Mbit/s Max. Card types supported: Mifare1  S50, Mifare1 S70, Mifare UltraLight, Mifare Pro, Mifare  Desfire Dimension : 40mm × 60mm Working temperature : -20—80 degree Storage temperature : -40—85 degree Humidity : relevant humidity 5%—95% This RFID kit works on the...

Smart Home Door lock system project.

RFID MFRC522  Door lock system Project summary: RFID system radio frequency identification in which Information is written in the card or tag is get read by RFID module when they get in contact. In this project we are making a home lock system which would open only when an authorized card will be available and access will be denied on wrong card. Component require: - In this project we are interfacing Arduino board with RFID MFRC522 and servo motor. RFID system would send data to Arduino board and according to that data action would be taken by Arduino board. Components are listed below:         ·          Arduino board.         ·          Arduino software.         ·          RFID MFRC522 board.         ·        ...

An alarm system with Sound detector sensor.

Project: Alarm system with Sound sensor Project summary:  In this project we would interface our sound detector sensor and make alarm system which would detect any sound in the room of any kind of noise disturbance, by beeping up a buzzer. And also we would able to see the result on the Serial monitor of Arduino Software (IDE). Figure 1:alarm system with Sound detector sensor. Component & tools required: - In this project we would required the component and tools which are described below. ·          Arduino board. ·           Arduino Software (IDE). ·           Sound detector sensor. ·          Red led 1, and Green led 1. ·          Buzzer. ·          1K resisters 2....