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...
how to go about the process?
what relays should i get?
how to use QT113?
what kind of timer?
and the most important question...how to put all this together to work?
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