Introduction: Arduino Capacitive Sensor in Less Than 2 Minutes

Picture of Arduino Capacitive Sensor in Less Than 2 Minutes

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

Picture of 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

Picture of 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

Picture of 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 !

Picture of Done !

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


SEBASTIANM4 (author)2017-11-24

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!

hiskenagel (author)2017-09-10

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?

About This Instructable



Bio: I am a dreamer, maker and an engineer making and sharing interesting projects here at Instructables. Follow me @ instagram: @the_gadget.boy
More by Konstantin Dimitrov:Arduino/Genuino 101 BLE Thermometer With TMP102 and BlynkPixie: An Arduino Based NeoPixel WristwatchTurn Your Old 2.5'' Or 3.5'' Hard Drive Into Portable/External
Add instructable to: