MCHEN 9 PCS Digital Touch Capacitive Sensor Switch Module for Arduino with 30p Dupont Cable
Current Price
$9.88
Average
$9.88
Min Price
$9.88
Max Price
$9.88
Price will be lower
in next 2 weeks
in next 2 weeks
According to the data, price will be lower in next two weeks, so not waste your money and track better price!
Product review & video
in this tutorial I'm going to show you
how to control the onboard LED with a touch sensor for this tutorial you'll need an Arduino the touch sensor and three jumper wires male-to-female if you don't have these jumper wires you can also use a breadboard and three jumper wires
male-to-male the first step is to connect your
jumper wires to the touch sensor PCB the touch sensor is actually a resistor when you touch the PCB
the resistance will increase therefore the PCB can detect
that you've touched the sensor and sends the signal HIGH to the Arduino now it's time to connect our touch sensor to the Arduino the red wire is connected to the 5V the blue wire is connected to the ground and the green wire is connected to pin 8 our circuit is now complete
let's have a look at the code the code is pretty straightforward if you look at line 19 we set pin number 8 as an input on line 20, we use th


