Arduino Capacitive Sensor in Less Than 2 Minutes

17,559

184

3

I am a dreamer, maker and an engineer making and sharing interesting projects here at Instructabl...

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.

Share

    Recommendations

    • Toys Contest

      Toys Contest
    • Big and Small Contest

      Big and Small Contest
    • First Time Author

      First Time Author

    3 Discussions

    0
    None
    Funkit

    8 months ago

    Nice ! simple and effective

    0
    None
    SEBASTIANM4

    1 year 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!

    0
    None
    hiskenagel

    1 year 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?