Pages: [1]   Go Down
Author Topic: capacitance sensor, arduino and a light bulb  (Read 1163 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,

I want to make a 220V light bulb glow brighter through the capacitance sensor which is placed 7-8 ft away from the arduino(i am using QT113). It should also switch off slowly after 2-3 minutes.

Has anybody made something similar before?
Can somebody guide me on...
1) how to go about the process?
2) what relays should i get?
3) how to use QT113?
4) what kind of timer?


and the most important question...how to put all this together to work?

thank you
Logged

London
Offline Offline
Faraday Member
**
Karma: 9
Posts: 6246
Have fun!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There is an instructable on using the QT113 here: http://www.instructables.com/id/DIY-Touch-Sensor/

That example does not use the arduino but you can connect the QT113 output to a digital input on the arduino and it should work fine. You can use the arduino digital switch example sketch to test that its working, just connect up the QT113 output instead of the switch and resistor.

Once you can light up the arduino led using the sensor, you can look at adding a call to delay() for however many milliseconds you want and then turn the led off.

The last step is to replace the led with something like a relay to turn the bulb on and off.  There are arduino tutorials that explain how to do that but my suggestion is to get everything else working as you want before connecting anything up to 220 volts

Good luck
« Last Edit: February 06, 2008, 08:36:24 am by mem » Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 227
Intransigent prototyper
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

someone just asked about dimming AC lights in another thread. Heres the relevant link for the info on how to do it with Arduino:

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1178312487
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thnks friends I shall try as you said and make it work...but I am still confused about what relay to order?
Logged

London
Offline Offline
Faraday Member
**
Karma: 9
Posts: 6246
Have fun!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

some suggestions were discussed in this thread: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1199472694/3#3
Logged

Pages: [1]   Go Up
Jump to: