A capacitor works on the same principle as a resistor. It passes a small current determined by its impedance.
Z = 1/(2πFC)
Where:
Z is the impedance in Ohms
F = frequency Hz
C = capacitance Farads.
The capacitor doesn't dissipate any power because the current leads the voltage by 90º, so when the current is at the peak, the voltage across it is zero and power = v*i. The capacitor charges and discharges, causing power to be transferred between the capacitor and back to the mains again. The net power dissipation is ideally zero, yet in reality it's a tiny amount due to the resistance in the wiring.
Here's a simulation showing the power dissipation in a 10nF capacitor connected across the 240V mains (a peak voltage of 340V). Note the phase shift between the voltage and current and that the power dissipation cycles between positive and negative, as power is transferred to and fro between the capacitor and the mains. The average power dissipation will be zero. I've included a resistor for comparison. Note how the power dissipation in the resistor is always positive and the current is in phase with the voltage.
Look up power factor.
Ahhh i get it now ! so basically the capacitor will draw power by charging itself and the charged power will be pushed backed to mains so ideally i am not billed for anything since the power consumed is returned back to grid. Unlike a resister where the consumed power is turned to heat.
If you use an ordinary switch I can't see how the LED stays on
capacitive coupling in the switch cable,if you wire your lighting circuit so the feed loops in and out to the switches problem solved.If however you loop your feed in and out at the light fitting with a switch line from celling to the switch on the wall,as was standard in uk domestic wiring until recently, the switch cable acts as a capacitor and lets enough current through to tickle the leds
Can you please rephrase is it so that i can understand it a little better, so that i will be aware where to properly place the switch in the circuit? As far as i know how its done in my place is its
Live from the breaker -> long wire to switch -> long wire to LED lights -> long wire Neutral to back to breaker
just remove neon lamp from the switch and issue will be solved.
No neon light on the switch. it does have glow in the dark plastic which is not electrically connected in any way.
X2 caps are placed in the "Suppression Capacitors" group at lcsc.
Ohh thank you ~! lcsc has some very cheap stuff but their search filters are so terrible you have to really know what you are looking for. When i typed x2 a few days ago it said it didnt exist. which i have quite a few similar experience in the past.
What are X2 by the way? there are also X1 caps. I would assume X2 are better? There is even a Y2.