Arduino Capacitive Sensor in Less Than 2 Minutes




Introduction: Arduino Capacitive Sensor in Less Than 2 Minutes

About: I am a dreamer, maker and an engineer making and sharing interesting projects here at Instructables. Follow me @ instagram: @the_gadget.boy

Hello !

Today I will show you how to make a capacitive sensor with Arduino UNO.

Step 1: Watch the Video !!!

Step 2: Parts for the Project

You will need:

  • 1 x Arduino board
  • 1 x 1M resistor
  • 1 x Touch plate
  • 1x Breadboard
  • 1 x LED
  • 2 x Jumpers

Step 3: Put All Together

First plug in the resistor in pin 4 and pin 8 of the Arduino, then connect the touch plate with pin 8 of the Arduino.

Now plug in the LED to the breadboard, connect LED's "-" to Arduino's GND and "+" to pin 7.

Step 4: Upload the Sketch

Connect your Arduino to a computer and upload the sketch which you can get from here.

You will also need this library.

Step 5: Done !

You are done, touch the plate and the LED shoud light up. You can modify the sketch and for other "capacitive" needs.

Lamps and Lighting Contest 2016

Participated in the
Lamps and Lighting Contest 2016

Be the First to Share


    • Toys & Games Contest

      Toys & Games Contest
    • Big vs Small Challenge

      Big vs Small Challenge
    • Fix It Challenge

      Fix It Challenge



    3 years ago

    Nice ! simple and effective


    3 years ago

    Hi, I'd like to ask you what would happen If there are 2 capacitive sensors working in the same arduino and they touch each other. Would this be a problem?

    thank you!


    3 years ago

    Hi. I don't understand what I have to get from the library. When I only use the code like in the picture it doesn't work. Can you help me?