-1

I am trying to make a lightbulb fade to dark and back to light, for which I found the following tutorial online: http://bildr.org/2012/03/rfp30n06le-arduino/
Unfortunately, the tutorial makes use of a 60V light source while my intention is to use the system on 220V. Would it be enough to solve my problem to replace the 60V MOSFET in the system with one of 220V?
What would otherwise be a solution?

Thank you very much for your help!

closed as off-topic by Chris Stratton, gre_gor, jfpoilpret, MatsK, per1234 Mar 6 '18 at 0:26

  • This question does not appear to be about Arduino, within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    I'm voting to close this question as off-topic because the actual question being asked is about mains powered dimming circuits, not about Arduino. – Chris Stratton Mar 5 '18 at 14:23
3

Absolutely not. Not under any circumstances.

Dimming AC is a considerably harder task, and doing it with 220VAC can be deadly.

To do it you need:

  • A zero-crossing detection circuit
  • A TRIAC driver circuit
  • A suitable TRIAC to do the switching
  • Software that will use the zero crossing information to time the switch-on of the TRIAC to a certain point in the waveform.

And most importantly:

Good knowledge of working with mains electricity - without which you will probably kill yourself or those around you.

  • a solid state relay w/zero cross is going to be the simplest way to accomplish all that. – dandavis Mar 5 '18 at 20:36
  • @dandavis No, it's not. Not unless the ssr and the zero cross are completely separate units. You need to switch the SSR at a period after the zero cross to dim it. SSRs with zero crossing built in turn on at the zero crossing to prevent spikes. – Majenko Mar 5 '18 at 20:38
  • of course, duh. i somehow forgot about the dimming part and focused on the safe part... – dandavis Mar 5 '18 at 20:41
1

You can buy 220V dimmer modules controllable with 5V PWM from Arduino. Here is one controllable with this PWM digital potentiometer module.

I use Kemo 4000VA regulator module with that M150 digital pot module controlled with Arduino PWM for heater regulation.

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.