Header Ads

Capacitive touch sensor interfacing with PIC Microcontroller and Mikro C

In this tutorial we will learn how to interface capacitive touch sensor with microcontroller. Here I am use PIC16F877A microcontroller and LM16x2 Lcd display. The Lcd display show the status of LED.
You can watch the video or read the written tutorial below.




Picture of Capacitive Touch Sensor.


Pin Configuration

  1. VCC : Positive Supply (2V to 5.5V)
  2. I/O
  3. GND : Ground supply
Capavitive Touch Sensor is a input device. It is use for switch as like push button. Capacitive touch sensor is relies on figer pressure for interaction. When a figure touch on sensor surface then the senor output is active high. While the finger relies on touch surface the output is active low.



Circuit schematic:


Here is am use latch technique for LED switching.
Latch circuits output has tow stable state
  1. High state
  2. Low state
 While output High state then the Led is ON and Low state Led is OFF.




Mikro C Code for this projects:




Click the download for source code :
download

No comments

Theme images by 5ugarless. Powered by Blogger.