Hi, I programmed a code that cause a LED to rise and fall, from 0 Vold to 5 Vold and the opposite direction. The LED is on my Bread Board. I wondering how to make it to a standart lamp. I have a lamp conected to power of 220V, and I wand it to change from 0 V to 220 V and the opposite way. Maybe there is a resistor that receives 0-5 Volt, and change it's resistance so far so can be used with high power (220V)?
Have a look at this and try not to kill yourself with mains electricity if you decide to build it.