Professional Documents
Culture Documents
by AmalMathew
In this instructable I am explaining how you can build touch sensor-(the home made sensor is nothing but a
a touch controlled light with paper made lamp aluminium foil).
shade.It is an easy Project that anyone can build it at
home.It utilizesarduino capacitive sensing libraryto Lets get started...
turn on or off light by touching on the home made
Chart Paper
Scale
Double Sided foam tape
Pencil
Hobby Knife (or) Razor Blade
Scissor
Arduino UNO
5 mm White LED
1 M Resistor
Jumper wire
1. Male to Female Jumper Wire -1
2. Male to Male Jumper Wire -1
Aluminium Foil
Insulation Tape(Black)
2 3
5 9 2
6 4
3
1
6
5
4
1
7
8
By using scissor cut out Chart Paper with the given dimension(see above image)
So we will have two pieces of paper,one will be used to cover the lamp and other will be used to
hold the circuitry in the system.
The idea is based on on capacitive library of sense the electrical capacitance of the human body.
arduino.To know about how it is working Please All the sensor setup requires is a medium to high
follow the below link value resistor and a piece of wire and a small (to
large) piece of aluminum foil on the end. At its most
Capacitive Sensing Library sensitive, the sensor will start to sense a hand or
body inches away from the sensor. he
I would like to give a brief introduction on how capacitiveSensor method toggles a microcontroller
capacitive library works: send pin to a new state and then waits for the receive
pin to change to the same state as the send pin.
The capacitiveSensor library turns two or more
Arduino pins into a capacitive sensor, which can
Please follow the link to know how to install a library in Arduino IDE
The touch sensor can be made from any metallic objects.I have used aluminium foil to make this.
For many applications, a more useful range of values is obtained if the sensor is covered with paper, plastic, or
another insulating material, so that users do not actually touch the metal foil.
Hardware Setup
Insert the high value resistor (1 M ) in between 2 and 4th pin of arduino.
As per the program pin 4 is receive pin , so connect the aluminium foil (foil act as capacitive sensor)
to the receive pin. (refer circuit diagram).
Connect Led in-between GND and 8th pin.
Launch Arduino IDE Software and select the correct COM Port and upload the code that is given below.
Download
http://www.instructables.com/ORIG/FCJ/1OBJ/JD0K8ID3/FCJ1OBJJD0K8ID3.ino
…
Place the circuit on the second Paper and ensure that it is working.
Here as I am using arduino uno It's size is somewhat big there is small problem to insert it into the lamp shade.